The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
![]()
Chen, I just tried it again and couldn't get it to work. Let me explain what I did and you tell me if I did something wrong.
Firstly, I found: Code:
$post[joindate]=vbdate($registereddateformat,$post[joindate]); Code:
if ($post['usergroupid'] == 3 or $post['usergroupid'] == 5 or $post['usergroupid'] == 6) { $post['userimage'] = '<img src="http://www.sports-central.org/community/boards/images/userimages/'.$post['usergroupid'].'.gif" border="0">'; } else { $post['userimage'] = ''; } I uploaded the images and made sure the images (3.gif, 6.gif, 7.gif) corresponded to the numbers in the code above. I then added this to the postbit template: Code:
$post[userimage] |
#12
|
||||
|
||||
![]()
Are you sure 3 is the ID of your moderators group? If you have more than one (like SP has Mentors and stuff) you'll need to add that in the if statement.
And no, there's no way two usergroups have the same ID. Can't be. MySQL won't let that happen. ![]() |
#13
|
||||
|
||||
![]()
Chen, I had to put this on the backburner for a while, but I got around to doing it today and it worked like a charm! I just wanted to say THANKS! I right-clicked on the URLs in my vB CP to find the IDs - two of them were strange (33 and 39), so I got it on the second try.
![]() |
#14
|
||||
|
||||
![]()
Glad it's working.
![]() |
#15
|
|||
|
|||
![]()
Added to my forums. Works perfectly!!! Thanks!
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|