Log in

View Full Version : hide part of text


troppodel
01-19-2009, 01:55 PM
hi there
i need to hide a part of text in my forums for a defined usergroup and show for registered users, like the code of vbulletin.org
this for my forum and for my dynamics instance
somebody can help me??
thanks
Ivan

SEOvB
01-19-2009, 07:50 PM
You'll have to wrap the code in conditionals


<if condition="$show[member]">
This will show to members
<else />
This will show to guests
</if>

troppodel
01-20-2009, 06:42 AM
hi friend
thanks
i tried to write the text with conditional, but i see all text,
i need to enable "enable the html code" in the forums?
maybe i don't understood my friend can you explain what you mean?

how can create a custom bbcode with this function ?

troppodel
01-21-2009, 07:41 AM
hi friend
my apologies can you tell me more?
thanks

SEOvB
01-21-2009, 08:53 AM
It will take custom programming to make it so if conditionals work inside the bbCode templates.

troppodel
01-21-2009, 01:03 PM
Hi there
i have created the new bbcode but the conditional doesn't work!