Log in

View Full Version : Using Profile Fields Globally?


Wobbly Goblin
04-04-2008, 04:49 PM
I've been looking for a way of letting my members add/remove a "shoutbox" to and from specific pages. For example: some members might like having the shoutbox in the arcade, where others might not. That being said, I created a "Profile Field" to use as a switch.

https://vborg.vbsupport.ru/external/2008/04/19.png

and added the following code to my arcade template.

<if condition="$post['field10']">
<!--{%SHOUTBOX%}-->
</if>

Unfortunately this method only seems to work in "postbit". Can someone please point me in the right direction to getting this to work globally?

Thanks,
Nick

Opserty
04-04-2008, 05:22 PM
Try: $bbuserinfo['field10']

Wobbly Goblin
04-04-2008, 06:05 PM
Awesome, works great...thanks Opserty :up:

Nick