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 Posting Redirection (like vB3) (https://vborg.vbsupport.ru/showthread.php?t=52098)

OmaniMan 05-13-2003 04:53 AM

Woow .. Its Great ...
I have just tested on Vb2.3.0 .. and worked great

hope to upgrade it to edit whole files :) ...
Well Done Anime - loo ...

xware 05-13-2003 06:21 AM

you can easily do this.
open functions.php in editor

find:
$url = str_replace("\"", "", $url);
header ("Location: $url");
eval("dooutput(\"".gettemplate("standardredirect") ."\");");

replace with:
$url = str_replace("\"", "", $url);
header ("Location: $url");
// eval("dooutput(\"".gettemplate("standardredirect") ."\");");

works well!

Opie 08-04-2003 04:42 AM

Quote:

05-13-03 at 02:21 AM xware said this in Post #52
you can easily do this.
open functions.php in editor

find:
$url = str_replace("\"", "", $url);
header ("Location: $url");
eval("dooutput(\"".gettemplate("standardredirect") ."\");");

replace with:
$url = str_replace("\"", "", $url);
header ("Location: $url");
// eval("dooutput(\"".gettemplate("standardredirect") ."\");");

works well!

works great for me too. Thanks.

except I did this instead since header ("Location: $url"); isn't in my functions (2.3.0)

Code:

find:
$url = str_replace("\"", "", $url);

eval("dooutput(\"".gettemplate("standardredirect")."\");");

replace with:
$url = str_replace("\"", "", $url);
header ("Location: $url");
// eval("dooutput(\"".gettemplate("standardredirect")."\");");


FleaBag 08-12-2003 05:32 PM

Just what the doctor ordered - cheers.

stark427 08-14-2003 10:26 PM

I've just installed it to 2.3.2 with no probs so far :)

"clicks install"

p.s. Not sure what the edit at the function.php is needed for (?) :rolleyes:

MaDCaT75 08-21-2003 08:59 PM

But what about skipping the "the post has been successfully edited" message? :cry:

Brad 12-28-2003 05:27 AM

Quote:

Originally Posted by Alien
Excellent job, it works perfectly for me! :)

I look forward to your editpost modification!

The modifications for editpost.php are now included in this hack, see the frist post for more details.

tiedyetoga 01-16-2004 10:12 PM

For some reason the it doesn't get rid of the redirect page after you make a new thread. Any suggestions?


All times are GMT. The time now is 01:09 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.01057 seconds
  • Memory Usage 1,729KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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