The shoutbox redirection has been fixed a while back but, occasionally,
someone still asks how to make their Forum default to the Front Page
instead of the Forum when logging into or out of their Forum. Here is the
latest one ...
http://www.tinyportal.net/index.php/topic,28774.msg238124.html#msg238124
I think we should consider a feature for beta 5 where a switch, perhaps a
checkbox placed in TinyPortal settings, could enable a Forum owner to
decide if their Forum should default to the Forum (default as here on TP) or
whether the page should redirect to the FrontPage on Login and Logout.
Bloc, you had given a fix for this to edit the Sources/Subs.php in this topic
...
http://www.tinyportal.net/index.php/topic,23213.msg188221.html#msg188221
If this was enabled as a checkbox in TinyPortal Settings, a change to the
Subs.php during TP install to add something like this could fix this once and
for all and give users the option
If TinyPortal redirect to FrontPage is enabled then
function redirectexit($setLocation = '', $refresh = false, $tp_not = true)
Else
function redirectexit($setLocation = '', $refresh = false, $tp_not = false)
Thus if the redirect to the FrontPage is enabled, then when logging in or
out, the page would show the FrontPage, otherwise it would show the
Forum.
Any thoughts?
ZarPrime
Sounds like an excellent idea Zar...
@ZarPrime
Excellent idea :up:
This was a problem for me.
Thanks
tamasir~
Bloc,
Since we are now getting close to a public release for beta 5, is this a feature that would be easy to add for beta 5, perhaps a boolean (yes/no) for TP Admin general settings? The Standard way could be the default, Login redirect to Forum BoardIndex, like it is here on TinyPortal, but Login Redirect to FrontPage could be enabled if "yes" is checked.
I have a feeling that if this is not added now, this will be a popular edit request.
ZarPrime
Sounds good, ZarPrime. :)
Yes, indeed it will. I'll sort it out right away.
Ok, done. The setting is added. Note that Subs.php had to be changed, but I am not putting that into the update from earlier revisions, only on clean installs(or updates from SMF 1.1)
I'd rather not have too many edits being made from revision to revision, I will also remove references to them when public release is out. Easier then to keep tabs on bugs etc.
Thank you Sir. O0
ZarPrime