vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Remove Intermediate Redirection Page (https://vborg.vbsupport.ru/showthread.php?t=32564)

Streicher 12-05-2001 07:41 PM

This hack does not work with Opera 6. :(

nuno 12-07-2001 05:40 PM

many tx Tommy :)
gr8 hack ;)

derfelix 12-08-2001 01:41 AM

Quote:

Originally posted by Streicher
This hack does not work with Opera 6. :(


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...

Crinos 12-08-2001 03:56 AM

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 :)

FWC 12-08-2001 04:12 AM

Quote:

Originally posted by Crinos
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 :)

I had the same problem and uninstalled the hack because of it. I think there needs to be a little more code in this one to take you where you are supposed to go.

Meta 12-08-2001 09:56 AM

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:

=&postid=20548#post20548 

it only says

PHP Code:

=&postid=20548 


Tommy Boy 12-08-2001 11:46 AM

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:

doshutdown();
header ("Location: $url");
eval(
"dooutput(\"".gettemplate("standardredirect")."\");"); 

with
PHP Code:

doshutdown();
header ("Refresh: 0; URL=$url");
// eval("dooutput(\"".gettemplate("standardredirect")."\");"); 

This does not perform "smooth" redirect, as it uses a technique close to the original one vBulletin uses, however it will transfer internal anchors, and it is faster than the original vBulletin redirection. If the internal anchors problem doesn't bother you, you should stay with the original Location line, until we find a better solution.

Gutspiller 01-03-2002 11:01 PM

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. :(

-.valkyre 01-03-2002 11:26 PM

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!

Tommy Boy 01-04-2002 12:48 AM

Quote:

Originally posted by -.valkyre
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!

I'll try to find the time for that.


All times are GMT. The time now is 09:57 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01187 seconds
  • Memory Usage 1,744KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete