View Full Version : Removing Posting Redirect
UltimaKing
03-09-2002, 09:24 PM
I have searched the forums and cant seem to find this here, so I will go ahead and post it. I am trying to figure out how to remove the redirect page that shows up after you post. It is annoying on 56k modems (especially whent hey are lagging) so how would I go about removing this redirect page? (again, sorry if this has been posted or if this is the wrong forum, but I tried searching :noid: )
i dont recommend you to remove it, due to certain code issues related. this page is needed, is not placed there for fun.
if you dont care and still want to remove it, simply do this:
open functions.php and find the code: eval("dooutput(\"".gettemplate("standardredirect")."\");");replace it with: header("Location: $url");regards,
nakkid.
Sal Collaziano
07-06-2002, 04:25 PM
Thanks for this input.. Can anybody please describe to me the possible downfall to doing this? I'd really like to do it on my forums but I'm afraid of what could happen as a result...
sabret00the
08-02-2003, 05:33 PM
*bump* just found this
Skyline_GT
08-03-2003, 10:14 PM
why dont recommend?
Gary King
08-04-2003, 12:33 AM
07-06-02 at 01:25 PM Sal Collaziano said this in Post #3 (https://vborg.vbsupport.ru/showthread.php?postid=269899#post269899)
Thanks for this input.. Can anybody please describe to me the possible downfall to doing this? I'd really like to do it on my forums but I'm afraid of what could happen as a result...
Follow these steps instead to insure that things still work out already:
Open forum/functions.php and find:
eval("dooutput(\"".gettemplate("standardredirect")."\");");
BEFORE IT, placeheader("Location: $url");
This is because some browsers do not work with the header("Location: $url"); code, but they will then go to the next line.
https://vborg.vbsupport.ru/showthread.php?s=&threadid=52098 :)
Gary King
08-04-2003, 03:02 AM
You can also check out these search results:
https://vborg.vbsupport.ru/search.php?s=&action=showresults&searchid=612561&sortby=views&sortorder=descending
r0bitnet
01-14-2004, 11:46 AM
for some reason I get an invalid link specified error when I try this. using vb 2.3.4 code is below
$url = str_replace("\"", "", $url);
header("Location: $url");
eval("dooutput(\"".gettemplate("standardredirect")."\");");
exit;
any idea what I'm doing wrong
Gary King
01-14-2004, 07:23 PM
Use the hacks released for this very purpose, I'm sure one of them work for 2.3.4
tiedyetoga
01-16-2004, 09:17 PM
Does this work with 2.3.4?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.