Description: This will show user's Avatar in the Who is online screen
Author: Rutto
Credits: Dalantech (Tips about how to resize an image in PHP); Omegatron (Hacked online.tmpl creating an additional column for the Avatar)
Features: Show the Avatar of an user in the Who is online screen; If a user do not have an Avatar shows the "nopicture.gif" image; Avatar's height and width are customizable (Keep it small for a better looking);
Known bugs & limitations: Images where height and width are not the same are forced to have the choosen height and width; The word "Avatar" is not in any language files;
Notes: I'm not good in programming php so this hack could still have a lot of bugs. I hope someone will like it
You might want to check your online.php file you have uploaded to a base one for the exact changes. I had a few ideas for you so I was going to rework some thing however the way the hack is written up as posted above it does not work and throws everything off in the list
First thing you need to do is redo the hacking. The only difference in the online.php file you notice is that you are not replacing the status fields.
Now the template is pretty easy. I can post the template since it is not code. Here you go I will attach the working template in case thats where you have your problem understanding things.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.