|
-
Feb 20th, 2003, 08:37 PM
#1
Thread Starter
Addicted Member
Remove the re-direction
Would it be possible to remove the redirection window so that it just goes strate to the indended place?
-
Feb 20th, 2003, 08:39 PM
#2
What are you referring to? What is the "redirection window"?
-
Feb 21st, 2003, 12:03 AM
#3
Thread Starter
Addicted Member
I talking about the webpage that is disaplyed for a seccond telling you that you have completed a search or posted a message.
-
Feb 21st, 2003, 04:16 AM
#4
Retired VBF Adm1nistrator
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...
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Feb 21st, 2003, 07:33 AM
#5
Stuck in the 80s
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...
It exists when you're show the redirection page. I believe there's even a link to "not wait" or something, isn't there?
-
Feb 21st, 2003, 07:41 AM
#6
Retired VBF Adm1nistrator
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.
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Feb 21st, 2003, 11:09 AM
#7
Thread Starter
Addicted Member
I get it now, but how about setting the delay time to 0?
-
Feb 21st, 2003, 11:32 AM
#8
Retired VBF Adm1nistrator
Code:
<meta http-equiv="Refresh" content="1; URL=showthread.php?s=&threadid=xxxxxx">
Well its 1 second. Perhaps there's a reason for it.
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
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Feb 22nd, 2003, 08:28 AM
#9
Perhaps you could make its BackDrop interesting?
Perhaps a WebCam picture?
-
Feb 22nd, 2003, 04:57 PM
#10
Fanatic Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|