Help - Avatar not displayed for a usergroup
First off, I am VERY new to PHP, it makes sense to me some what, and I have written some small stuff on the side but we are talking simple fill in the form, wow it saves it in a mySQL database stuff. So seeing the code for VB is a little more complicated then I know what to do with.
That being said, can anyone help me out? I have VB 2.3.0 and I want to make it so the users that are "Registered" which have a usergroupid of 2, avatars don't show up in the posts. My thought line is where it goes to check for an avatar in the showthreads.php file, putting in something like a:
if $usergroupid == "2" {
// do nothing
}
else
{
// do the normal check/load avatar stuff
}
How far off am I for something like this, and where would I put this, I can't seem to make sense of where it is doing the loading/checking for the avatar....
Thanks!
~Brian
|