![]() |
Show User's Avatar in Navbar v1.1
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! |
Very nice! Have been wanting something to make the navbar look a little less boring for some time. Will surely install when I make the leap to 3.5. :)
|
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! |
nice
|
You could get rid of that one query per page by simply adding:
PHP Code:
|
That would take away the point of this being a "plugin" though ;)
Satan |
Quote:
I would release my version of this hack in the coding section if fraghappy doesnt mind. :) |
Quote:
Quote:
|
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?
|
Quote:
|
No problem. Thanks for updating! :)
|
Version 1.1 has been released in order to address the following bug:
Quote:
|
Very nice.
Suggestions: * smaller image size that fits to navbar & nice blue border: <img ..... height="37" border="1"> * put image and text more together: <table cellpadding="1" ...> |
Quote:
Code:
The following error occurred when attempting to evaluate this template: |
Quote:
|
Not sure why, but all I'm getting for this is the following. My other admin says its working fine for him though.
|
Is there something like this for 3.0.x? Don't seem to find anything on searching.
|
Quote:
|
Quote:
Quote:
Quote:
|
Quote:
Quote:
Use the directions, here: https://vborg.vbsupport.ru/showthread.php?p=668118 But be sure to take a look at this post, to see how to make it work for 3.0.x.: https://vborg.vbsupport.ru/showpost....24&postcount=9 Hope everything works out for you. :classic: |
Yea..So i need some Serious Help lol
http://www.gfxwiz.net/wtf.JPG works on the navbar..but not near the poster, and now i cant even delete it? lol (Happening on all my skins, except Default, I Even tryed to reinstall the skins, same thing) |
I am having a problem with this plugin - it never showed avatar to begin with , just a red x . Now it has been removed , but , is still showing a red x in my navbar ?
|
Quote:
Quote:
|
Quote:
|
Quote:
What kind of info do you need ? My forum is here : http://www.dogeplanet.com/forum/index.php? |
Quote:
|
Quote:
|
I am having this same problem as Jaxx.
|
OK I can't display an image, all that comes up is "Your Avatar" - which is the image alt.
|
Cool plugin, works nice.
One question, when using vBadvanced, the homepage uses navbar, but the avatar will not show. I'm assuming because there's a variable that's not set when using the vBa based page. Throughout the vB pages it works fine, though. Any way you can let me know how to define the variable for vBa or hack it to work? I'll start playing with things in the mean time. |
I'm afraid I had to uninstall this one :(
I'm rather liberal with my avatar sizes (150 X 150 and 150KB), and it left a HUGE blank space between my two navbars that just didn't look right. Is there a way of making the script resize the avatar to a smaller size? I would still like to use this product :) |
Quote:
Code:
<td style="vertical-align: bottom; width: 80px; height: 60px; margin: 0px; padding: 0px;"> |
Quote:
|
Quote:
|
Thanks, seems to work for me on 3.5.4!
|
Quote:
|
Nice hack, installed, but then realized, that is does not work with Firefox (see screenshot)
Attachment 48215 Andreas |
is there an easy way to make this the profile picture instead
|
Quote:
Quote:
:up: |
How can I do this with 3.6.8? I'd love to know!!
|
All times are GMT. The time now is 01:30 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|