Would it be possible to remove the redirection window so that it just goes strate to the indended place?
Printable View
Would it be possible to remove the redirection window so that it just goes strate to the indended place?
What are you referring to? What is the "redirection window"?
I talking about the webpage that is disaplyed for a seccond telling you that you have completed a search or posted a message.
It would require a modification of the vBulletin code.
Anyway, as soon as you've created a new thread, the second you hit the submit button, it does not yet exist as a thread that can be viewed.
The item has to be added into the vBulletin database first.
So vBulletin has to redirect the browser somewhere...
It exists when you're show the redirection page. ;) I believe there's even a link to "not wait" or something, isn't there?Quote:
Originally posted by plenderj
It would require a modification of the vBulletin code.
Anyway, as soon as you've created a new thread, the second you hit the submit button, it does not yet exist as a thread that can be viewed.
The item has to be added into the vBulletin database first.
So vBulletin has to redirect the browser somewhere...
Yes but think about it.
You hit the submit button. You don't know what the threadid will be.
So you're sent to a redirection page, and that brings you to the page thread.
Otherwise there would be no way for the forum to give your browser the threadid.
Its the generated redirection page that has it, not the thread creation page.
I get it now, but how about setting the delay time to 0?
Well its 1 second. Perhaps there's a reason for it.Code:<meta http-equiv="Refresh" content="1; URL=showthread.php?s=&threadid=xxxxxx">
ie. The threadid has been reserved, but it still might take a little while to enter the data to the DB.
Actually, what might happen, and this is a complete guess, is that the browser, after 1 second asks for threadid xxxxxx, but if its not available yet, the browser might be given back the redirection page.
So that way the forum can keep browsers waiting until its ready.
That's just a guess though :)
Perhaps you could make its BackDrop interesting?
Perhaps a WebCam picture?
The redirects aren't necessary. When you click the submit button the form is posted to a page (e.g post.php?action=post). This page processes this POST request by validating it and entering it in the database. After entering it in the database, the threadid is already available, and a header redirect (e.g header('Location: showthread.php?threadid=23234'); could just be done to the thread.
There are a few hacks over at vBulletin.org to remove redirects, but I don't think the administrators of this board install hacks.
vBulletin 3 won't have the redirects by default, and that's coming pretty soon so the redirects will go away soon (as long as the administrator's upgrade that is:)