View Full Version : Conditional Custom Block (Home Page)
interfx
12-12-2004, 07:46 PM
I want to create a conditional custom block based upon whether the visitor is registered or un-registered...
I have created the custom1 template, but would like to have a different version for both logged in and unregistered users....
Any ideas?
interFX
KW802
12-12-2004, 08:02 PM
I want to create a conditional custom block based upon whether the visitor is registered or un-registered...
I have created the custom1 template, but would like to have a different version for both logged in and unregistered users....
Any ideas?
interFXHere's an example of how I did one of my modules to get you started....<if condition="$bbuserinfo[userid] == 0">
{put code here for people who ARE NOT registered}
<else />
{put code here for people who ARE registered}
</if>
interfx
12-12-2004, 09:10 PM
That worked great...
Thanks again -
interFX
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.