How do I display member status as well as custom title?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Carl
    New Member
    • Jul 2001
    • 3

    How do I display member status as well as custom title?

    I'd like to display the custom title and the member status underneith (for example moderator or administrator whenever they post.

    Can this be done? It's just some members don't know who has any authority cause the board doesn't tell them.
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    i got this one!

    look at this thread: http://www.macsubculture.com/forum/s...&threadid=4010

    I have the member status as well as the custom title. The way vB is set up you can't have both. So I turned off custom titles under Control Panel -> Options -> Change Options -> [Custom User Titles] -> Enable Titles -> No so the member status is default so you always know what a person's function is. Then I made a custom user info field under Control Panel -> User profile fields -> Add. Then you have to edit your postbit template under Control Panel -> Templates -> Edit -> [Template Set Name, usually called Default] -> [expand list] -> Postbit Templates -> [expand] -> postbit.

    This is what my postbit looks like towards the top:

    Code:
    <table bgcolor="#FFFFFF" width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td width="10"><img width="10" height="1" src="images/space.gif" alt=""></td><td width="100%"><!-- spacer -->
    
    <table cellpadding="0" cellspacing="0" border="0" bgcolor="#555576"  width="100%" align="center"><tr><td>
    <table cellpadding="4" cellspacing="1" border="0"  width="100%">
    <tr>
    	<td bgcolor="$post[backcolor]" width="175" valign="top" nowrap>
    	<a name="post$post[postid]"></a>
    	$post[firstnewinsert]
    	<normalfont><b>$post[username]</b></normalfont><br>
    	<smallfont><i>$post[field8]</i></smallfont><br>
    <smallfont>$post[usertitle]</smallfont><br><br>
    	$post[avatar]<br>
    	<smallfont>Bnet Realm: $post[field5]<br>
     Bnet Acct: $post[field7]<br>
     GR Acct #: $post[field6]<br>
    	Posts: $post[posts] ($postsperday per day)</smallfont></td>
    $post[field8] is the id for my custom title field that I created. To find out the custom field number go to:

    Admin CP -> User Profile Fields -> Modify

    mouse-over the [edit] link for your custom title field, the number is at the end of the url that shows in the bottom of your browser window.

    If you want to do colors for the member status like I did you need to go to Control Panel -> User Groups and Permissions -> Modify -> [Usergroup] -> [edit] -> Edit usergroup: [Usergroup] -> User Status -> <font color="[color]">[Member Status]</font>.

    Once you get all this set up the end user can go to their User CP and specify a custom title. The input field will be there.
    Last edited by Jake Bunce; Mon 5 Aug '02, 6:04pm.

    Comment

    • Carl
      New Member
      • Jul 2001
      • 3

      #3


      Thank you so much! You rock!

      Comment

      • globie.com
        New Member
        • Sep 2001
        • 4
        • 3.0.6

        #4
        thanks jakeman...I was looking for the piece of template that allowed me to add custom fields to each post a user made and this thread did the trick (took a little "creative searching")

        -Rodney

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...