The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
$_REQUEST['forceredirect']
In 3.0.x, you could set $_REQUEST['forceredirect'] somewhere to force a redirect to appear. This, however, no longer works. Is there any method of setting or modifying a variable to force a redirect in 3.5.0?
|
#2
|
||||
|
||||
Code:
print_standard_redirect($redir_phrase, $doquery = true, $forceredirect = false) |
#3
|
||||
|
||||
That doesn't help if you only want to set it in certain situations and you don't want to edit a standard vB redirect. That is why $_REQUEST['forceredirect'] was useful.
|
#4
|
||||
|
||||
You mean you want to force redirect messages somewhere in default vB Files in some cases?
Hmm, what about setting $vbulletin->options['useheaderredirect'] = false? |
#5
|
||||
|
||||
Quote:
Now I see why - AJAX QR doesn't like to be told to redirect. Quote:
|
#6
|
||||
|
||||
Hmm, does work for me
|
#7
|
|||
|
|||
In the past, I was using the following code to force a redirect:
PHP Code:
HTML Code:
<META HTTP-EQUIV="REFRESH" CONTENT="1; URL={$url}"> <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center"> <thead> <tr> <td class="tcat"> <a style="float:right" href="#top" onclick="return toggle_collapse('forumhome_redirect')"><img id="collapseimg_forumhome_redirect" src="$stylevar[imgdir_button]/collapse_tcat.gif" alt="" border="0" /></a> <div align='center'>Redirecting..</div></td> </tr> </thead> <tbody id="collapseobj_forumhome_redirect" style=""> <tr> <td class="thead" width="100%">Please Wait..</td> </tr> <tr> <td class='alt2' align='center' width='100%'>{$message_left}<br/><br/>Your browser is now redirecting you</td> </tr> etc. etc. Thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|