vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Removing Posting Redirect (https://vborg.vbsupport.ru/showthread.php?t=35917)

UltimaKing 03-09-2002 09:24 PM

Removing Posting Redirect
 
I have searched the forums and cant seem to find this here, so I will go ahead and post it. I am trying to figure out how to remove the redirect page that shows up after you post. It is annoying on 56k modems (especially whent hey are lagging) so how would I go about removing this redirect page? (again, sorry if this has been posted or if this is the wrong forum, but I tried searching :noid: )

TECK 03-10-2002 12:02 AM

i dont recommend you to remove it, due to certain code issues related. this page is needed, is not placed there for fun.

if you dont care and still want to remove it, simply do this:
open functions.php and find the code:
PHP Code:

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

replace it with:
PHP Code:

  header("Location: $url"); 

regards,
nakkid.

Sal Collaziano 07-06-2002 04:25 PM

Thanks for this input.. Can anybody please describe to me the possible downfall to doing this? I'd really like to do it on my forums but I'm afraid of what could happen as a result...

sabret00the 08-02-2003 05:33 PM

*bump* just found this

Skyline_GT 08-03-2003 10:14 PM

why dont recommend?

Gary King 08-04-2003 12:33 AM

Quote:

07-06-02 at 01:25 PM Sal Collaziano said this in Post #3
Thanks for this input.. Can anybody please describe to me the possible downfall to doing this? I'd really like to do it on my forums but I'm afraid of what could happen as a result...
Follow these steps instead to insure that things still work out already:

Open forum/functions.php and find:
PHP Code:

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

BEFORE IT, place
PHP Code:

header("Location: $url"); 

This is because some browsers do not work with the header("Location: $url"); code, but they will then go to the next line.

Brad 08-04-2003 02:48 AM

https://vborg.vbsupport.ru/showthrea...threadid=52098 :)

Gary King 08-04-2003 03:02 AM

You can also check out these search results:

https://vborg.vbsupport.ru/search.ph...der=descending

r0bitnet 01-14-2004 11:46 AM

for some reason I get an invalid link specified error when I try this. using vb 2.3.4 code is below

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

header("Location: $url");
eval("dooutput(\"".gettemplate("standardredirect") ."\");");
exit;

any idea what I'm doing wrong

Gary King 01-14-2004 07:23 PM

Use the hacks released for this very purpose, I'm sure one of them work for 2.3.4


All times are GMT. The time now is 02:45 AM.

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.03237 seconds
  • Memory Usage 1,737KB
  • 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
  • (4)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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