Forgot Password / Register
Site Statistics
Total Members: 520
Total Tutorials: 242
Newsest User: 8884244477
Todays Unique Hits: 626
0 Users 2 Guests Online

[Forum]User Titles

Well it's very simple but, I'm just starting to learn and I thought I'd just share it anyways lol.

Run this in your phpMyAdmin:
Code

ALTER TABLE `members`
ADD `title` varchar(225) NOT NULL DEFAULT 'Member';

Next open your forum.php and find:
Code

<tr>
<td id='mains' align='center' width='120' rowspan='2'><a href=javascript:void(window.open('members.php?user=$thread[poster]','client','status=1,width=400,height=250,top=60,left=60'))>$thread[poster]</a><br>

Under that add:
Code

$threadavatar[title]
<br>


Next find:
Code

<tr>
<td id='fields' align='center' rowspan='2'>$posts[poster]
<br>

Under that add:
Code

$postsavatar[title]
<br>


Then you're done, you can add your own stuff to the edit profile if you feal it needed, but I didn't so not posting it..
zackcez
Author:
Views:
2461
Rating:
Posted on Thursday 26th June 2008 at 08:27 PM
dtnet
dtnet
What do I do to show the User TItle if the user is Admin or Moderator?