Quote:
Originally Posted by Dismounted
How are you pulling the data?
|
basically I am using the same "setup" as the Showgroups template. I'm not sure what I have to add to include the avatars on my custom staff page. I've looked over the showgroups.php file and here is what I can't figure out:
What do I have to add to my custom php file in order to pull the avatars, last online, user title info from the database?
I imagine the code I have to add would be something like:
HTML Code:
<if condition="$show['avatar']">
<td><img src="$userinfo[avatarurl]" $userinfo[avatarsize] vspace="5" alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></td>
<else />
<td> </td>
</if>
For some reason it is not pulling the data (avatars, last online, user title) from the database so if you could give me a little hint as to what code I have to put in my custom php file to pull the data correctly, I'd be very happy
Thanks in advance