The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#9
|
||||
|
||||
![]()
hi Lynne
thanks again but it still doesn't work. no avatars are displayed at all when i used these: $usergroupid = $thread['usergroupid']; $usergroupid = $usergroup['usergroupid']; $usergroupid = $forum['usergroupid']; here's my plugin code. is there anything wrong with it? Code:
require_once('./includes/functions_user.php'); $userid = $thread['postuserid']; $username = $thread['postusername']; $avatarurl = fetch_avatar_url($userid); $usergroupid = $thread['usergroupid']; if (is_member_of($thread['usergroupid'], 34)) { if ($avatarurl == '') { $avatar = "<div class='avatar_forumdisplay' style='float:$stylevar[left]'><a href='member.php?u=$userid'><img src='$stylevar[imgdir_misc]/aucun_avatar.gif' border='0' width='60' height='60' alt='Profil de $username'></a></div>"; } else { $avatar = "<div class='avatar_forumdisplay' style='float:$stylevar[left]'><a href='member.php?u=$userid'><img src='image.php?u=$userid' border='0' width='60' height='60' alt='$username's Avatar'></a></div>"; } } |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|