![]() |
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> thanks. |
Try $bbuserinfo instead of $userinfo.
You can also just say: Code:
<if condition="$bbuserinfo[field7]"> Code:
<if condition="$bbuserinfo[field7] != ''"> |
Perfect. Thanks! Now the users have a definable refresh rate on the search pages.
:-) |
All times are GMT. The time now is 02:50 AM. |
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:
|