The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Using Custom profile Field
.....
to allow users to set a meta refresh time on the search page. am using the folling code but for the life of me i cannot get the custom field to return a value. Code:
<if condition="$action == 'getnew'"><META HTTP-EQUIV="Refresh" CONTENT="<if condition="$userinfo['field7'] != ''">$userinfo[field7]<else />30</if>;URL=search.php?do=getnew"><else /></if> <if condition="$action == 'getdaily'"><META HTTP-EQUIV="Refresh" CONTENT="<if condition="$userinfo['field7'] != ''">$userinfo[field7]<else />30</if>;URL=search.php?do=getdaily"><else /></if> thanks. |
#2
|
||||
|
||||
Try $bbuserinfo instead of $userinfo.
You can also just say: Code:
<if condition="$bbuserinfo[field7]"> Code:
<if condition="$bbuserinfo[field7] != ''"> |
#3
|
|||
|
|||
Perfect. Thanks! Now the users have a definable refresh rate on the search pages.
:-) |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|