![]() |
Auto refresh from guest or usergroup or all member!
1 Attachment(s)
Here is auto refresh from guest using meta tag,
Browser supported : IE, FF, Opera In template where you want refresh find : From all : Code:
<head> Code:
<meta http-equiv="refresh" content="xs" /> Code:
<head> Code:
<if condition="$show['guest']"> Code:
<head> Code:
<if condition="$post['usergroupid'] == x"></if> Code:
<head> Code:
<if condition="$bbuserinfo['userid'] == x"> x : id xs : seconds |
thanks for codes, but these codes not valid XHTML,
Code:
<meta http-equiv="refresh" content="xs" /> |
Quote:
Have a meta tag valid XHTML ? Look at verify meta tag by google webmaster tools : Quote:
|
what does this mod do? please explain or provide an example of what a user can expect
|
Quote:
For example; you may put the codes in forumhome template's, so , the forumhome page is refresh after the x second without need your click any button or f5. |
i c now. kinda of like how whose online page refreshes automatically
ok thanks |
If you need it for vBulletin 4:
Code:
<vb:if condition="$show['guest']"> |
can I just make it refresh once??? not looping (over and over)??
|
How do I enable this for multiple user groups in one <if> statement please?
|
Quote:
The code given for one usergroup is: Code:
<if condition="$post['usergroupid'] == x"></if> And for multiple usergroups: Code:
<if condition="is_member_of($bbuserinfo, x, y, z)"></if> |
Great
thank u |
All times are GMT. The time now is 07:14 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:
|