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
  #52  
Old 04-05-2002, 02:12 AM
Tommy Boy Tommy Boy is offline
 
Join Date: Nov 2001
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by melondog
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.
You'll get the same effect with this hack too.
Reply With Quote
  #53  
Old 04-05-2002, 04:29 AM
The Keeper The Keeper is offline
 
Join Date: Mar 2002
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

heh I just changed
<meta http-equiv="Refresh" content="1; URL=$url">

to
<meta http-equiv="Refresh" content="0; URL=$url">

in Standard redirect, to make it appear faster.
Reply With Quote
  #54  
Old 04-05-2002, 06:37 PM
phase1 phase1 is offline
 
Join Date: Dec 2001
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

test
Reply With Quote
  #55  
Old 04-06-2002, 06:15 PM
Psychdrone Psychdrone is offline
 
Join Date: Nov 2001
Posts: 525
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey could somebody be so kinda and tell me around what line this is on?? Cause I have 2.2.4 and can not find it

Please thanks guys!
Reply With Quote
  #56  
Old 04-08-2002, 02:07 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's in the standardredirect template.
Reply With Quote
  #57  
Old 04-08-2002, 03:04 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent hack

It works perfectly on my forums, and I'm not getting any of the problems some of you are getting. I'm using the original code on the main page, and when I post it takes me right to my thread
Very fast, and I know the users will like it.

99% of the people on my forums use Internet Explorer, so there is no worry bout incompatibility till maybe later. An option for enabling / disabling in profile would be nice.
Reply With Quote
  #58  
Old 09-08-2002, 05:14 PM
Ben Johnson Ben Johnson is offline
 
Join Date: May 2002
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i installed this hack and when people vote on polls it does not work
Reply With Quote
  #59  
Old 10-19-2002, 01:47 PM
TheSaint-AeD's Avatar
TheSaint-AeD TheSaint-AeD is offline
 
Join Date: Sep 2002
Location: Munich
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have lots of requests of my Users for this Hack. Could anybody of the vB.org-Staff please say something to this? Test it and correct it if needed?
Reply With Quote
  #60  
Old 10-19-2002, 03:28 PM
Paul Paul is offline
 
Join Date: Jan 2002
Posts: 211
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have been able to use the header() function to successfully redirect to a post anchor. It involves far more code editing than is supplied here and appears to be the way vb3 is handling this.

There are instances when standardredirect is used for informational purposes, so I elected to only remove specific instances--most notably, newthread, newreply, and search.

If there is an interest, I'll attach instructions here.

Paul
Reply With Quote
  #61  
Old 10-20-2002, 01:18 PM
Kars10's Avatar
Kars10 Kars10 is offline
 
Join Date: Jun 2002
Location: Germany/Franken
Posts: 748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool hack!! Works great...
[high]* Minifreunde klicks installed![/high]
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:39 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.04429 seconds
  • Memory Usage 2,304KB
  • 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
  • (1)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
  • (3)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