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
Remove ALL Redirects, No Bugs, All Browsers Details »»
Remove ALL Redirects, No Bugs, All Browsers
Version: 1.00, by Nomb Nomb is offline
Developer Last Online: Jun 2009 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 06-02-2003 Last Update: Never Installs: 53
 
No support by the author.

First, I created a new thread or Hack because I myself was having trouble getting this to work out right, although, I really can?t claim full credit for it. Other than thinking to combine a few hacks in a special way I didn?t do much.

These 2 hacks together (Sort of, I removed a lot from Anime-loo?s hack) make it work!

Anime-loo
Remove Posting Redirection (like vB3)

Tommy Boy
Remove Intermediate Redirection Page


What does this hack do?

This hack will remove ALL intermediate redirection messages from all pages (vB 3 style). In addition, when posting a reply to a thread you will be taken to the correct post, i.e. The post that was just created by yourself. This hack will work with all browsers.

Also, this hack works with the quick reply box just in case you were wondering.

Difficultly?

Easy: Edit 2 php files, admin/functions.php and newreply.php. Add one line of code and change 2 lines of code.

See attached text file for instructions.

UPDATE 9/26/2003

For instructions on using this hack in vB version 2.3.2 please click below:

https://vborg.vbsupport.ru/showpost....1&postcount=71

Show Your Support

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

Comments
  #52  
Old 08-04-2003, 07:50 AM
Opie Opie is offline
 
Join Date: Aug 2002
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh cool. I thought I downloaded this hack before for some reason.
Reply With Quote
  #53  
Old 08-13-2003, 12:10 AM
drumsy's Avatar
drumsy drumsy is offline
 
Join Date: Nov 2001
Location: Charlotte, NC
Posts: 292
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do I make this 2.3.2 compliant?
Reply With Quote
  #54  
Old 08-13-2003, 05:42 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack doesn't work on 2.3.2 - it does post the threads and new replies, but it doesn't redirect. It gives a invalid thread id or forumid error. It is the header part in functions.php that is wrong. (maybe $ url changed)
Reply With Quote
  #55  
Old 08-15-2003, 05:37 AM
silvershad0w silvershad0w is offline
 
Join Date: Jul 2003
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I upgraded to 2.3.2, I was surprised to find this didn't work any more. I decided than rather mess with a hack, I would try this. I like the output, it is slightly slower, but faster than w/ redirects. Plus is is super easy, even for a non-coder like me

Changed standardredirect template:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><title>$pagetitle</title>
<meta http-equiv="Refresh" content="0 ; URL=$url">
$headinclude
</head>
<body>
<!--  <br><br>

<table width="100%" border="0" cellspacing="0" cellpadding="0" height="95%" align="center">
<tr align="center" valign="middle">
	<td>
	<table border="0" cellspacing="1" cellpadding="10" bgcolor="#0A293E" width="70%">
	<tr>
		<td bgcolor="#0E3652" align="center">
		<p> <normalfont><b>$errormessage</b> <br><br> </normalfont>
		
		<smallfont> <a href="$url">Click here if you do not want to wait any longer<br>
		(or if your browser does not automatically forward you)</a> </smallfont> </p></td>
	</tr>
	</table>
	</td>
</tr>
</table> --> 

</body>
</html>
Reply With Quote
  #56  
Old 08-16-2003, 10:50 PM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I hope this is updated, otherwise I'll just use the others I suppose.

Definatly had to uninstall it after 2.3.2 upgrade.
Reply With Quote
  #57  
Old 08-18-2003, 12:55 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

mist, firefly and I had a short look at it and they came up with:

Quote:
header ("Location: $bburl/".str_replace("&amp;","&",$url));
This worked, but unfortn. when someone is trying to login, they are redirected to a page with the forum//forum/index.php?s=sessionhashhere which ofcourse, results in a 404.

Some other 404 errors were reported too, so - this isn't bullet proof.

Maybe someone understands how to make a nice little fix
Reply With Quote
  #58  
Old 08-18-2003, 01:02 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP Code:
if($bbuserinfo['userid'] != 0)
{
       
header ("Location: $bburl/".str_replace("&","&",$url));

?
Reply With Quote
  #59  
Old 08-18-2003, 01:06 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lets try
Reply With Quote
  #60  
Old 08-18-2003, 01:11 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try this:

PHP Code:
if($bbuserinfo['userid'] != 0

       
header ("Location: ".str_replace("&","&",$url)); 

Reply With Quote
  #61  
Old 08-18-2003, 01:21 PM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thaz a no go
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 04:23 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.04781 seconds
  • Memory Usage 2,312KB
  • 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
  • (2)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
  • (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