TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 206
  • Total: 206

Shoutbox redirect

Started by FragaCampos, September 02, 2009, 03:59:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

FragaCampos

First, it's never too much to thank you IchBinâ„¢  ;)

Before i test your code change, i checked my admin panel and i really had "Search engine friendly URLs" option on. When i turned it off, the shoutbox redirects fine, i.e., when i make a shout, it redirects to Tp portal.

Now my newbie question is: what is "Search engine friendly URLs" used for? Should i keep it on or can i turn it off?  ::)

IchBin

Search engine friendly URL's is what takes a URL like this:
http://www.tinyportal.net/index.php?topic=30750

And turns it into a URL like this:
http://www.tinyportal.net/index.php/topic,30750

If your URL's do not change, then your server does not support the feature. If you don't see the difference, then just leave it turned off.

FragaCampos

 O0
Well, i guess that's important for me, cause my server is Apache and i see urls like this:
http://www.tinyportal.net/index.php/topic,30750

So i changed the code like you suggested and it worked! The shoutbox is redirecting like it should  :)

Hi sure hope this can help others like me with Apache servers  :laugh:

Thank you very much IchBin™ for your time and patience  ;)

G6Cad

Will mark this to solved then  :up:  :)

bloc

It was a quirk in the code that made it more complex to add this to forums with the queryless setting, so I opted to leave it out at that time. But I will re-visit this again.

Lorazz

i had the same problem and followed these instructions aswell.
but the only change that happens is that the shoutbox now redirects to the frontpage - regardless from where on the side you did the post.
but i'd like to perform the complete redirection progress aswell - is that still impossible to get this one running with search-friendly-urls enabled?

Rav33n

Quote from: Cetra on October 30, 2009, 04:13:57 PM
i had the same problem and followed these instructions aswell.
but the only change that happens is that the shoutbox now redirects to the frontpage - regardless from where on the side you did the post.

Sorry for bump, but I'm experiencing this as well. Are we to expect a fix for this in next version or will this be standard behaviour for TP shoutbox redirects?

IchBin

The fix has been posted. In the next version there is an option in the TP settings for you to choose.

This website is proudly hosted on Crocweb Cloud Website Hosting.