The Arcive of vBulletin Modifications Site. |
|
"Refresh to" code for admin/options.php and others Details »»
|
|||||||||||||||||||||||||||
|
"Refresh to" code for admin/options.php and others
Developer Last Online: Feb 2016
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.
Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Thank you. This makes more sense than the old way. Just curious. What is the 1 for in the code you added?
|
|
#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 |
|
#4
|
||||
|
||||
|
Quote:
|
|
#5
|
||||
|
||||
|
@ Boofo : What for ?
|
|
#6
|
||||
|
||||
|
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.
|
|
#7
|
||||
|
||||
|
wont 0 cancel the refresh????
and its probably your server or DB thats slow?! or connection? |
|
#8
|
||||
|
||||
|
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()
|
|
#9
|
||||
|
||||
|
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.
)
|
|
#10
|
||||
|
||||
|
Quote:
|
![]() |
|
|