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 ALL Redirects, No Bugs, All Browsers (https://vborg.vbsupport.ru/showthread.php?t=53762)

Opie 08-04-2003 07:50 AM

Oh cool. I thought I downloaded this hack before for some reason.

drumsy 08-13-2003 12:10 AM

How do I make this 2.3.2 compliant?

Floris 08-13-2003 05:42 PM

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)

silvershad0w 08-15-2003 05:37 AM

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>


Alien 08-16-2003 10:50 PM

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

Definatly had to uninstall it after 2.3.2 upgrade.

Floris 08-18-2003 12:55 PM

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

Dean C 08-18-2003 01:02 PM

PHP Code:

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


?

Floris 08-18-2003 01:06 PM

lets try

Dean C 08-18-2003 01:11 PM

Try this:

PHP Code:

if($bbuserinfo['userid'] != 0

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



Floris 08-18-2003 01:21 PM

thaz a no go :)


All times are GMT. The time now is 05:05 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.01061 seconds
  • Memory Usage 1,739KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (1)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