metalguy639
12-23-2010, 10:57 PM
I want to show one of my usergroups title as a certain markup. The code i want to use for the markup is:
<span style="font-weight:bold;font-style:italic;color:red;">$post[usertitle]</span>
And I only want one usergroup to show this markup in the postbit_legacy where the user title is. All the other usergroups would stay normal. What is the conditional code that I can use? I've tried several already that have not worked yet. Here is what I have right now and its not working:
<if condition="$post['usertitle']"><div class="smallfont"><if condition="$bbuserinfo[usergroupid] == 9"><span style="font-weight:bold;font-style:italic;color:red;">$post[usertitle]</span>
<else />$post[usertitle]</div></if></if>
I also want to show inside the vb text editor certain info for the users to fill out and have a thread title already coded into the threads in only one forum id, how would I go about that as well?
<span style="font-weight:bold;font-style:italic;color:red;">$post[usertitle]</span>
And I only want one usergroup to show this markup in the postbit_legacy where the user title is. All the other usergroups would stay normal. What is the conditional code that I can use? I've tried several already that have not worked yet. Here is what I have right now and its not working:
<if condition="$post['usertitle']"><div class="smallfont"><if condition="$bbuserinfo[usergroupid] == 9"><span style="font-weight:bold;font-style:italic;color:red;">$post[usertitle]</span>
<else />$post[usertitle]</div></if></if>
I also want to show inside the vb text editor certain info for the users to fill out and have a thread title already coded into the threads in only one forum id, how would I go about that as well?