PDA

View Full Version : Additional User Title for Staff.


Dark s.s. Trunk
09-22-2004, 10:10 AM
Is there anyway to added 2 user types to Admin and Moderators or staff...

Like for normal members they get user titles based on what they have for posts... but when your a admin or mod is takes over the user title...

I quess what I want is to add another field only for admins that only show up if your an admin and in your own profile or other profile and you can use a field for added more titles and special stuff like a picture or somthing ...... can someone cook up somthng for me plz.

Logikos
09-22-2004, 10:39 AM
Just add this in your postbit template


<if condition="$post[usergroupid]==X">
HTML GOES HERE
</if>


Change X to the usergroup id. And you can do something like this.


<!-- Admin Title -->
<if condition="$post[usergroupid]==6">
HTML GOES HERE
</if>
<!-- /Admin Title -->

<!-- S.Mod Title -->
<if condition="$post[usergroupid]==5">
HTML GOES HERE
</if>
<!-- /S.Mod Title -->

<!-- Mod Title -->
<if condition="$post[usergroupid]==7">
HTML GOES HERE
</if>
<!-- /Mod Title -->

<!-- Member Title -->
<if condition="$post[usergroupid]==1">
HTML GOES HERE
</if>
<!-- /Mmeber Title -->


See the pattern?

Dark s.s. Trunk
09-22-2004, 11:03 AM
Yep and thank you.... i got one guestion i updated my vb from 3.0.1 to 3.0.3 and now my custom bb code doesnt work its a text glow.... it works find but now nope lol...... i have even tryed re adding it and it still no longer fucntions did they disable the glow or somthing

Dark s.s. Trunk
09-22-2004, 11:11 AM
sorry for double post... here is the code i am using.......

<TABLE STYLE=filter:glow(color={option},strength=4)><font size="1">{param}</font></table>

Let me know if you see somthign wrong....becuase i am really confused now...

Dark s.s. Trunk
09-22-2004, 11:17 AM
Never MInd my fault it turns out FireFox Does not Display that for some reason on shows the code lol... sorry for the opps.