Version: 1.1, by fraghappy
Developer Last Online: Mar 2006
Version: 3.5.0 Beta 1
Rating:
Released: 06-13-2005
Last Update: 06-14-2005
Installs: 71
Uses Plugins Template Edits
No support by the author.
This is my first plugin for vB. It took me awhile to figure things out, but, once I polished it down, it was a piece of cake. If you encounter any problems or have any suggestions, please let me know, thanks!
IF YOU HAVE VERSION 1.0 INSTALLED, please update to the most recent version (1.1). This is because of a necessary bugfix needed to prevent users who do not have avatars from having image problems!
-------------------
[3.5.x] Show User's Avatar in Navbar
Designed and Coded by: Thorne N. Melcher ("Frag") Version: 1.1 (released 6/14/05) Screenshots: 1; included in the .zip file. Description: This hack will display the user's avatar next to the "Welcome, {username}" message in the navbar at the top of every page. If there is no user presently logged in, the plugin will not bother to query the database, and the avatar will not display.
Plugin ?2005 The Whispering Realms Studios.
Performance and Installation Specs Supports vB versions: 3.5.x New Queries: 1 per pageload, IF the user is logged in. New Hook Calls: 1 (global_start) New Files: 1 (/images/misc/noavatar.gif) Template Modifications: 1 ('navbar') File Edits:none
Included Files
avatar_on_navbar.xml - Plugin file
README.html - Installation instructions.
screenshot.jpg - Screenshot of the plugin in action.
/UPLOAD/images/misc/noavatar.gif - Default "No Avatar" image.
Version History v1.1 (6.14.05) - A bug was indentified where, if the user viewing the page did not have an avatar uploaded/selected, it would try to display his or her avatar anyway. New files: /images/misc/newavatar.gif Changed files: /avatar_on_navbar.xml
v1.0 (6.14.05) - The first public release, complete with all necessary features.
Please click "Install" if you decide to use this plugin! Thank you!
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Yes, very nice! This will come in handy when i upgrade to 3.5.
Also would be nice to have new & subscribed posts below the private messages.
Just a thought!
Thanks!
I'll create a plugin based off of this called "Navbar Plus" or something. Look for it later tonight/early tomorrow.
Quote:
Originally Posted by M1th
Exactly, but you its always better to avoid adding unneeded queries.
I would release my version of this hack in the coding section if fraghappy doesnt mind.
I'm really uptight about people stealing my work and not giving me credit. Thank you for asking, that really makes the difference to me. Please, in your post on vB.org and in the hack, please give mention of both me and this hack. I really don't mind people editing what I do, that's what's nice about open-source language. I'm just glad that you aren't going to steal me work and take the credit. Go for it!
When the user logged in doesn't have an avatar set, it shows that lovely red x box, would there be anyway to set it to go to a certain say, No Avatar Selected Image, if the user doesn't have an avatar set?
When the user logged in doesn't have an avatar set, it shows that lovely red x box, would there be anyway to set it to go to a certain say, No Avatar Selected Image, if the user doesn't have an avatar set?
I'll update it for you later tonight. Thanks for letting me know about that.