![]() |
For some odd reason, I didn't see any request for such a feature, although as far as I know, vBulletin is the only bulletin board which uses this useless redirection system. I'm talking about the "Thank you for logging in...", "Thank you for posting...", "Please wait while searching...", etc. pages.
This hack (I'm not even sure you can call it a hack, it's just 1 line of code) will get rid of this page. It works with all the browsers, but just in case a VERY old browser is being used, the original redirection system will be used, so basically you have nothing to lose. In the admin/functions.php file, find: Code:
eval("dooutput(\"".gettemplate("standardredirect")."\");"); PHP Code:
|
I don't think this would exist if it was totally useless..
My theory is that the redirection page allows the server to breathe inbetween resource consuming actions.. so it doesnt overload and crash. |
Quote:
|
Quote:
But im sure theres more... like setting cookies or somthing like that... not sure.. but id rather keep them anyways... -Syphin |
Quote:
I'm using my hack in my forums since the very beginning, and I have quite a busy board, and so far so good. :p |
While this is good for the "big guns" of forums, who use it for a lot of time, I think the redirection page is important and friendly for newbies.
I don't know how to explain this, I'm sure someone else can, but just doing stuff without letting the user know isn't good IMO. I think I'll use this for my testing site... I don't need the redirection. :) |
firefly
do you think the admin at vbulletin forums would know why this is there |
It works great, but there appears to be a few areas where it appears to be needed. With deleting threads, and a portion of the registration. Although it still does redirect it takes so long to do so that 50% of the time my users thought they screwed up. :(
|
[QUOTE]Originally posted by fonzerelli_79
firefly do you think the admin at vbulletin forums would know why this is there |
sorry firefly
what i meant was, do you think that any of the administrators or moderators of the vbulletin forums would know why this redirection is in place i agree with you that it helps with new users of a forum but i think experienced users get a bit annoyed |
Quote:
|
What about allowing the user to choose to disable it?
|
what i want to know is why didn't i think of it??
doh! |
definately a good idea for a yes/no on the registration page/user cp: "Use Intermediate Redirection pages?" would be great.
|
Well, I think the redirect is a novelty way back in the UBB days ... in any case, I've applied it to my test forum and it does give a semblance of "speed" and "responsiveness" ... so I'm applying it to my live forums and see what happens ;)
Thanks :) |
let us know if you get any responses from forum newbies or if it works out smoothly :)
|
I installed this hack. Working great, everything is speedy.
I posted the question over at vbulletin.com and the official reply from Tubedogg was: "It is used as an alternative to using the Header("Location:xxx"); function of PHP, and to provide information to the user about what is happening, whether their post was successful, etc. It places no indentifiable additional load on the server." |
Maybe we could work out a sciprt like this.
0-99 Posts See redirect page 100 Posts see a special rediect page that will inform them they will never see hti page again unless they choose so in their user cp 101+ Do not see the rediect pages unless checked in user cp With this code you would have to add something in the user CP and I would leave the default as redirects on but hey who knows, any ideas? Also at 100 it couldk inform them they are now able to disable the rediect pages, I think that would be better for users. |
i think an option when they register, and then they can just change it via usercp if they change their mind.. that would prolly be easier to code anyways...; i dunno :stupid:
|
Installed on my site with 14,500+ members and working fine!
Thanks for the hack. |
This hack does not work with Opera 6. :(
|
many tx Tommy :)
gr8 hack ;) |
Quote:
and also if you post an image in your thread although you use the no-cache headers etc... somehow in netscape 4.7 it is still the old one in cache!!! have to do a shift reload to see the new one.. with the intermediate page and the same headers it works fine... |
Anyone noticed a strange behavior when this hack was installed? My members just brought to me attention that after they reply to a post, it brings them back to the beginning of the thread instead of the message they just posted ...
I tried undoing the redirection hack and now it's working again ... it seems the redirection page is necessary to anchor back to the recent post ... anyone else having this behavior? I have uninstalled the hack for now until I get some more info :) |
Quote:
|
I had the same problem. And didn't find a clue. So i uninstalled it.
Nice that i'm not the only one. Without redirect there is missing the second parameter in the url. Instead of PHP Code:
PHP Code:
|
Looks like you're right. The reason why I didn't notice it, is because I've set my board to go back to the forum after posting, instead of returning to the thread.
Anyway, I have investigated it for a couple of hours, and it seems to be an Internet Explorer problem, since the header is passed just fine. In other words, IE ignores internal anchors (#post1234) in the Location URL, in this specific case. In my tests, when having an internal anchor in the Location URL, but having it as the only header line, it worked just fine. Therefore, there seems to be another header line which confuses IE in this case, but I haven't been able to find it. If someone could help, it would be great. In the meantime, you can replace: PHP Code:
PHP Code:
|
This hack did not work on my forum, which is 2.0.3. It did not take out the redirection pages. I do have a hack that puts people back to the forum, but this hack changed nothing. :(
|
Gutspiller, this is simple: Update your forums
And I love this hack! But I'm not sure about installing it on my forums. Could you (or someone else) make it like the others said? An option to turn it on/off? That would be awesome! |
Quote:
|
Thanks man, your the best :)
|
Quote:
|
Quote:
|
The hack works fine with the updated code, Tommy Boy. The replies do get anchored. I like it. I would be interested to know if anyone has found any other bugs with it. So far it is working well on my forums.
|
Nope, I take that back.
I tested the redirection code with NN 4 and NN6 and Opera - you get an error with it. So I have removed the hack. Good idea, but needs to be compatible with other browsers. |
not working with Konqueror also :(
|
Well I've just set the meta tag to go go the new URL in 0secs in my template, that's made things a lot quicker and I didn't have to hack a thing...
|
I think I'll test install to try to lower the bandwidth :)
If it screws up the server speed, or don't work then I'll tell you :D lol. |
One of the side effects of this hack that I like is the fact that it causes my forums index not to reload from scratch (as if not cached) when using our database version of "Mark Forum Read" per ethank, which is slightly modified so that when it is clicked within a forum, it takes you back to the forums index page rather than returning you to the same forum you just marked read.
I suppose I'll keep using it since more than 98% of our forum users use IE or Netscape, and no one has complained about not being returned directly to thier post after submitting a reply. |
Anyway to get this working on the new 2.2.3b? I edited the functions but it has exit; instead of doshutdown(); I tried it anyways and the board worked up until trying a new reply, then it would just give me a white page.
|
All times are GMT. The time now is 05:16 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|