15 years on The Web
miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Specific miniBB Support Forums / Specific /   

Redirect after message/topic is posted

Author kuopassa
#1 | Posted: 5 Jul 2010 03:21 
When user sends a new topic or post, he is redirected to the right place using file go.html in the template folder. In some cases that meta redirection is not working well. Problem occurs when user is surfing with mobile phone or something. So, my question is, can that redirection be done using PHP redirection? I mean that something like this insied go.html:

Is there a simple way to make this work in that template?

Author Paul
Lead Developer
#2 | Posted: 5 Jul 2010 04:17 
Hmm, I believe you have set up such method of redirection manually, setting up $metaLocation option of setup_options.php, right?

By default, it should be switched off. In general, such option should be modified only if you meet problems with default miniBB redirection. Which is EXACTLY about sending headers :-)

Author kuopassa
#3 | Posted: 5 Jul 2010 08:37 
I'm using some old version that has in setup_options.php that $metaLocation like this:


So does this mean that the system is trying to use PHP's header thing? :-] Some users in my forum complain about blank white page after sending message. That blank page I believe is go.html.

Author Paul
Lead Developer
#4 | Posted: 6 Jul 2010 03:10 
No, blank page could be some error report you don't see, because you have showing errors switched off in PHP. Try to switch them on and investigate, what these users could meet.

go.html isn't a blank page, it contains ">>>" mark at least (and if it's used, it should contain some advanced customized text about redirection, so you should edit it before usage), and if this setting is disabled, exactly, it means, miniBB is not using it at all, but trying to redirect with its standard methods.

Specific miniBB Support Forums / Specific / Redirect after message/topic is posted Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.

Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Install the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB