Credits go to Ogden2K for inspiring the layout of the welcome panel and to Brad.loo for his help on coding issues.
Description:
I have changed a few minor problems in the original coding that were prohibiting avatars from being shown on some boards. I also redid the instructions file so that Microsoft Notepad opens it with proper line formatting.
Basically this is just a simple welcome panel that conditionally displays the user's avatar if they are (a.) logged in and (b.) have an avatar selected. If they are not logged in or do not have an avatar selected, they see variations of the welcome panel text that intuitively guide them toward registering or logging in and selecting an avatar.
No PHP files are hacked with this modification. It is completely template driven.
I have successfully tested the modifications on my own vBulletin 3.0.0 Beta 4 installation with both avatars stored within the MySQL database and with avatars stored in a file-system folder outside of the database. It works both ways now.
Anyone who downloaded the previous releases of this modification needs to upgrade to this one. I apologize for the confusion that arose from having so many different ideas being publicly thrown about in the other thread.
Reporting Bugs:
Feel free to report bugs in this thread but please do not post any code modifications here. Send them to me via a private PM so that I can evaluate their effectiveness. All support will be handled via this thread. Please do not PM me for support.
New Screenshots:
Finally... new screenshots are attached to this post as well as included inside the ZIP file. Enjoy!
Download Now
(21.4 KB, 150 views)
(21.4 KB, 107 views)
(21.4 KB, 98 views)
(21.4 KB, 56 views)
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Can you right-click on the red-X and view the properties of what the graphic should have been? It should give you a complete FQDN path to the image file.
Copy and paste that into a reply for me. I want to see if it is parsing the graphic at all.
Here are the properties where the avatar should be:
For some reason, quotes are being inserted into the code when it is rendered which breaks the functionality of the code. Let me re-evaluate my modification again and see if I goofed on something when I typed up the instructions.
Those of you who were still having problems with avatars not showing up, please download the ZIP file again. It includes new code for the phpinclude_start template that parses properly on servers running versions of PHP older than 4.3.2
Apparently 4.3.1 and older versions of PHP didn't like the syntax I used when calling the image.php file to grab a user's custom avatar. I have replaced that code with some that works a little better across all versions.
HexOnxOnx has confirmed that the code change fixed the avatar problem on his server. It looks like this modification is finally good for the whole family.