I've always thought that the custom title feature was neat, but I didn't like the way the standard titles were replaced by the custom titles. I think the standard titles are important, especially for Moderators (and Admins).
So I set out to figure out how to have both, and after a little bit of digging, I figured out how to do it...and it's very simple!
Step 1
Create a new User Profile Field (in your Admin CP). For myself, I created a new field with these properties, in order from top to bottom: "Custom Title"; "If you would like a custom title to appear below your username (and above your standard title), please enter it here."; 25; 25; 5; No; No; Yes. Aside from the yes/no options, the others are more or less up to you. The purpose of each if explained decently enough.
Step 2
You need to determine the field ID number of your new field. If you've never before added a custom profile field, this should be 5. You can check this by using phpMyAdmin (or something like it, to view your database), looking in the table userfield, and figuring out which field is the one you just made. Now look at that field's name. For me, it was field5. (If you need additional help with this step, ask.)
Step 3
Edit your postbit template. What you need to do is insert this code somewhere into it: $post[field5] (Note that the part inside the square brackets must be the field name that you just determined in Step 2!) I wanted the custom title to appear below the username, and above the standard title, and to have the same formatting as the standard title. Therefore, the section of my postbit template that makes the author info area (the area to the left of messages where the username, avatar, post count, etc. are all located) looks like this:
That's all there is to it. Don't forget to let your members know of the new functionality. If you have any questions, just ask...I realize sometimes my explanation skills are a bit wiggley.
So I set out to figure out how to have both, and after a little bit of digging, I figured out how to do it...and it's very simple!
Step 1
Create a new User Profile Field (in your Admin CP). For myself, I created a new field with these properties, in order from top to bottom: "Custom Title"; "If you would like a custom title to appear below your username (and above your standard title), please enter it here."; 25; 25; 5; No; No; Yes. Aside from the yes/no options, the others are more or less up to you. The purpose of each if explained decently enough.
Step 2
You need to determine the field ID number of your new field. If you've never before added a custom profile field, this should be 5. You can check this by using phpMyAdmin (or something like it, to view your database), looking in the table userfield, and figuring out which field is the one you just made. Now look at that field's name. For me, it was field5. (If you need additional help with this step, ask.)
Step 3
Edit your postbit template. What you need to do is insert this code somewhere into it: $post[field5] (Note that the part inside the square brackets must be the field name that you just determined in Step 2!) I wanted the custom title to appear below the username, and above the standard title, and to have the same formatting as the standard title. Therefore, the section of my postbit template that makes the author info area (the area to the left of messages where the username, avatar, post count, etc. are all located) looks like this:
Code:
<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>$post[field5]</smallfont><br> <smallfont>$post[usertitle]</smallfont><br> $post[avatar]<br> <smallfont>$dctlink<br> Registered: $post[joindate]<br> Location: $post[field2]<br> Posts: $post[posts]</smallfont> </td>
Comment