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)
-   -   "Refresh to" code for admin/options.php and others (https://vborg.vbsupport.ru/showthread.php?t=52643)

GoTTi 05-05-2003 10:00 PM

"Refresh to" code for admin/options.php and others
 
Ok, after looking threw all of the files, I kinda wondered why when inside the AdminCP that when you update a vBulletin Option, the page doesnt refresh back into the options page, but every other option on the left bar always refreshes back after you update...so I found the code in the files and here it is.

Boofo 05-06-2003 09:29 AM

Thank you. This makes more sense than the old way. Just curious. What is the 1 for in the code you added?

grog6 05-06-2003 09:48 AM

@ Boofo : The 1 is the redirection time ;)
It will redirect you 1 second after, you can choose an other number such as 5 for exemple, and so you'll see

Thanks for updating the options.

during 5 seconds before being redirected

Boofo 05-06-2003 10:03 AM

Quote:

Today at 05:48 AM grog6 said this in Post #3
@ Boofo : The 1 is the redirection time ;)
It will redirect you 1 second after, you can choose an other number such as 5 for exemple, and so you'll see

Thanks for updating the options.

during 5 seconds before being redirected

Do I need to change that to 0 or just take it out?

grog6 05-06-2003 10:10 AM

@ Boofo : What for ?

Boofo 05-06-2003 10:37 AM

Because it already takes it forever to redirect back to the page or to open it up in the first place. If I can shave any more time off of it, I'd like to.

Jacko 05-06-2003 12:52 PM

wont 0 cancel the refresh????

and its probably your server or DB thats slow?! or connection?

Boofo 05-06-2003 01:02 PM

0 should just make the refresh not take 1 second is all. Everything else on my site is fast. It is just whenever I go to the vb options, it takes a long time to load (ok, 5 seconds...but that is a long time when everything else runs so fast. ;))

grog6 05-06-2003 01:02 PM

0 doesn't cancel the refresh, it just will show you the

Thanks for updating the options. during a really short moment before to be redirected ;)

If you want to remove the redirection, just remove the cpredirect() ;)

Boofo 05-06-2003 01:03 PM

Quote:

Today at 09:02 AM grog6 said this in Post #9
0 doesn't cancel the refresh, it just will show you the

Thanks for updating the options. during a really short moment before to be redirected ;)

If you want to remove the redirection, just remove the cpredirect() ;)

I want the redirection back to the vb options. I just don't want any extra time added to it. ;)


All times are GMT. The time now is 08:59 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.01523 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
  • (2)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