TinyPortal

Development => Support => Topic started by: impactonu on March 09, 2009, 04:39:07 AM

Title: TpShout re-directing to forum page
Post by: impactonu on March 09, 2009, 04:39:07 AM
Whenever I click shout on my TPShout box on my main page it brings me to my forum page?Any way of fixing this.
Title: Re: TpShout re-directing to forum page
Post by: JPDeni on March 09, 2009, 04:43:52 AM
Login/shoutbox Redirect (http://www.tinyportal.net/index.php/topic,23213.msg188221.html#msg188221)

Also

Please read the Posting Guidelines.html (http://www.tinyportal.net/index.php/topic,581)
Title: Re: TpShout re-directing to forum page
Post by: impactonu on March 09, 2009, 04:53:19 AM
Thanks and sorry forgot about the posting guidelines.
Title: Re: TpShout re-directing to forum page
Post by: scso1502 on June 06, 2009, 03:11:00 AM
Link to my site: http://www.boomgaming.net
SMF version: SMF ver. 1.1.9
TP version: TP ver. 1.0 Beta 4
Theme name and version: Various - All written for TP
Browser Name and Version: Mozilla Firefox and Internet Explorer Versions 6 - 8
Mods installed: AEVA and STOP SPAMMER
Related Error messages: None

I have read dozens of posts on this topic and most circle back to the Shoutbox. All I want to know is if it's possible that when a user enters their username and password and logs in, how can they be directed to the main Frontpage or index.php that shows all the panels instead of "action=forum"? I have yet to find the answer one way or another and judging by all the posts and number of times they are being read, a lot of other people have the same question. Answering it here once and for all will hopefully end the sufferage - LOL

Thanks for the help.
Mike Vail
Windsor, Ca. USA
Title: Re: TpShout re-directing to forum page
Post by: IchBin on June 06, 2009, 04:19:48 AM
If you follow the link that Deni posted you would have noticed that this deals with both the shoutbox AND the login.
Title: Re: TpShout re-directing to forum page
Post by: scso1502 on June 07, 2009, 01:35:09 AM
I saw that post the Bloc did but only glanced over it because the post appeared to focused on the Shoutbox. I guess that's what happens when you read through so much stuff. I've re-posted it here to help others. Thanks to Deni for the link and to Bloc for posting the original fix.


If you want to change the login redirect for TP so it takes you to the main portal with all your panels and blocks showing, Open up Sources/Subs.php and find:

Code:

function redirectexit($setLocation = '', $refresh = false, $tp_not = false)

and replace it with:

Code:

function redirectexit($setLocation = '', $refresh = false, $tp_not = true)