Ok I figured out how to get the id but its not working for me.. Can someone please help me to understand this..
in step 2 you said
Quote:
2. In the same file replace this:
code:
if ($bbuserinfo[userid]==0) {
show_nopermission();
}
$useavatar=iif($avatarid==-1,0,1);
and add this right after:
code:
if (ismoderator()) {
$avatarcustomposts = 0;
}
|
Replace it with what?
I am trying this with VB2.2.8 but after I put it on the member.php will not work.. its only blank.. What am I doing wrong?
I am useing this
Code:
if $bbuserinfo['usergroupid']==9 {
$avatarcustomposts = 0;
}
I took the moderator thing out as I make the mods avatar when they need them and upload them.. but I want to allow my contributing members to use custom avatar..
Please respond