Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by Tommy Boy Tommy Boy is offline
Developer Last Online: Oct 2014 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 11-20-2001 Last Update: Never Installs: 29
 
No support by the author.

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")."\");");
Before it, add:
PHP Code:
header ("Location: $url"); 

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 03-21-2002, 05:01 PM
JediKNight JediKNight is offline
 
Join Date: Jan 2002
Location: Houston
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

um... I've installed this hacks with my 2.2.1 and I am upgrading to 2.2.4 but don't know if it works fine for 2.2.4 ?
This is a very great hacks, I've been thinking of ."there must be something link this..."

anyway, thanks a lot.

Jedi
Reply With Quote
  #43  
Old 03-21-2002, 09:12 PM
Tommy Boy Tommy Boy is offline
 
Join Date: Nov 2001
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is working fine for me, and I'm running 2.2.4.
Reply With Quote
  #44  
Old 03-22-2002, 04:46 AM
JediKNight JediKNight is offline
 
Join Date: Jan 2002
Location: Houston
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Parse error: parse error in /home/petrusk/public_html/forums/admin/functions.php on line 807

Fatal error: Call to undefined function: vbdate() in /home/petrusk/public_html/forums/admin/sessions.php on line 357

Will the author upgrade this hacks to works with 2.2.4? and someone who had this hacks with 2.2.4 will you please upload the file so that people can use? thanks a lot.

Jedi
Reply With Quote
  #45  
Old 03-25-2002, 10:06 PM
bill-t's Avatar
bill-t bill-t is offline
 
Join Date: Feb 2002
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Erwin
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.
I have it installed on my board, browse my board with opera6 and no problem...
Reply With Quote
  #46  
Old 03-26-2002, 06:23 PM
CeleronXL's Avatar
CeleronXL CeleronXL is offline
 
Join Date: Nov 2001
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure if this has been said already because I'm too lazy to read it all, but I'm pretty sure the page is there to allow time to write the database. It's not instant.... There needs to be time in between...
Reply With Quote
  #47  
Old 03-26-2002, 06:26 PM
JTMON's Avatar
JTMON JTMON is offline
 
Join Date: Oct 2001
Posts: 279
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, when it works, it works ok. Someone else said they thought that was it also but I didn't have a problem with it until the upgrade to 2.2.4 and I only upgraded the two files they said were needed for the security hole.
Reply With Quote
  #48  
Old 03-26-2002, 10:29 PM
JediKNight JediKNight is offline
 
Join Date: Jan 2002
Location: Houston
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

and I don't think there is any reasons that make this hacks discriminate over user's browsers..
Since PHP is server-parsed and then serve to end-user as HTML, the browsers only receive HTML (not php codes).. so if browser can't display the page for some reasons.. it's the browser's problem.

Jedi
Reply With Quote
  #49  
Old 03-27-2002, 12:59 PM
Tommy Boy Tommy Boy is offline
 
Join Date: Nov 2001
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by CeleronXL
Not sure if this has been said already because I'm too lazy to read it all, but I'm pretty sure the page is there to allow time to write the database. It's not instant.... There needs to be time in between...
:laugh: :laugh: :laugh:
Reply With Quote
  #50  
Old 04-04-2002, 01:00 AM
melondog's Avatar
melondog melondog is offline
 
Join Date: Mar 2002
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The reason the redirect is there is so if a user refreshes the thread page, the post is not resubmitted. You should redirect to a blank page that redirects to the thread, to make it seem like no mid step is used, and then it takes them to the url. That is what I think should be done.

p.s. - I've done this on my test board.
Reply With Quote
  #51  
Old 04-04-2002, 01:02 AM
JTMON's Avatar
JTMON JTMON is offline
 
Join Date: Oct 2001
Posts: 279
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the only problem I see with that is that I read that before, tested it and couldn't reproduce the problem so I figured they fixed it.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:35 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.12908 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete