The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How can I make the index.php file refresh every 2-3 minsutes ... just liek how the online.php refreshes ?
Thanks |
#2
|
||||
|
||||
I would be interested in this too as long as it isn't going to refresh when replying etc...
|
#3
|
||||
|
||||
The easiest way to do a refresh is with a meta tag in the header like:
<meta http-equiv="refresh" content="120; URL=index.php"> there must be a much more comfortable way but maybe it helps a little! Greetings StarBuG |
#4
|
||||
|
||||
the meta tag wouldnt be that good I think. I need something like the online.php which has a refres hthingy built into it !
also, when I say refresh, I mean ONLY the index.php, because if you make other .php's refresh ... it would mess up posting msgs and reading threads. Any one else got any ideas ? |
#5
|
||||
|
||||
online.php also uses a meta tag.
|
#6
|
|||
|
|||
i was searching for this. i've seen a board (http://spf.stileproject.com/) where you can set the refresh rate in your user CP
i want that hack! where do i find it? |
#7
|
||||
|
||||
No need to hack.
Just make a new Custom Profile in your Admin CP, and note down the custom profile id number (not the order - look at the URL to find the id number). Make this custom profile editable by user, and call it "Refresh rate in seconds". Then, open your forumhome template. Add this in between <head> and </head> Code:
<meta http-equiv="refresh" content="$bbuserinfo[fieldxx]"; URL=index.php"> If that doesn't work, you may have to hack index.php - Open index.php and below <? Just add: PHP Code:
Replace yy with the default refresh rate if someone hasn't changed it. Again, untested, but should work. |
#8
|
|||
|
|||
thanks, i'll try this
|
#9
|
|||
|
|||
I would use the 2nd method since if the custom profile field isn't added, it wont refresh.
Mind you, that could be handy, no? "Leave blank if you don't want page to refresh"? Or not..? Dave. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|