![]() |
"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.
|
Thank you. This makes more sense than the old way. Just curious. What is the 1 for in the code you added?
|
@ 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 |
Quote:
|
@ Boofo : What for ?
|
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.
|
wont 0 cancel the refresh????
and its probably your server or DB thats slow?! or connection? |
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. ;))
|
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() ;) |
Quote:
|
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|