The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Adds Avatar to Navbar Details »» | |||||||||||||||||||||||||||||
Adds Avatar to Navbar
This addon adds for registered users their avatar to the navbar. If they have none selceted there will be shown a default avatar. The URL to your default avatar and the height of the avatars can be set via vBulletin-Setting => Navbar with Avatar Default avatar URL: /images/misc/unknown.gif Default height: 60px Demo: navbarwithavatar.jpg AdminCP: admincp.jpg This modification only needs one querie. Additional installation advices are in the readme.txt. Not compatible with following addon: Navbar - adds social bookmarking, notifications highlighting, & search fields Other languages are in the folder translations. German and English are avaible at the moment. Just import them under languages & phrases. Please click INSTALL Matthias www.2-wheel-planet.de 13.11.2009 14:57 - Version 1.1 13.11.2009 16:01 - Version 1.2 09.02.2011 18:59 - Version 1.3 is published Changelog: version 1.1:
New features that will come for 1.4:
Copyright: This hack has a little copyright hint at the bottom of the page. You are not allowed to edit or remove it! If you want to remove it please contact me via PM. Download Now
Show Your Support
|
Comments |
#52
|
||||
|
||||
uninstalled, didn't work and i've got no time to read about solutions.
Anyway, thnx |
#53
|
|||
|
|||
If you send me additional information and the URL to your board perhaps I can help you to resolve this problem and get it work.
|
#54
|
||||
|
||||
Quote:
|
#55
|
|||
|
|||
Yes...
|
#56
|
|||
|
|||
I also need help pls, vba does not show the avatar...
|
#57
|
|||
|
|||
What do you have selected under vBadvanced Global Options?
And it also would be great if you can post your url... |
#58
|
|||
|
|||
navbaravatar, as written in another Thread. The mod is still working, but the avatar is not there - maybe the path of the avatar need to be adjusted in vbadvanced.
I´ll send you acount informations separated since you need to be registered to see the avatar in navbar;-) |
#59
|
|||
|
|||
this is a nice little hack, but seriously, is it worth having your credits on the bottom of my site? i don't think so. uninstalled.
|
#60
|
|||
|
|||
remove this if ($vbulletin->userinfo['avatarid'])
{ // using a predefined avatar $avatar = $db->query_first("SELECT avatarpath FROM " . TABLE_PREFIX . "avatar WHERE avatarid = " . $vbulletin->userinfo['avatarid'] . ""); $avatarid = $avatar['avatarid']; $navbaravatar = "<img src=\"" . $vbulletin->options['bburl'] . "/" . $avatar['avatarpath'] ."\" alt=\"Your Avatar\" height=\"". $vbulletin->options['navbarwithavatar_height'] ."\" border=\"0\" />"; } else { // not using a predefined avatar, check for custom if ($avatar = $db->query_first("SELECT dateline, userid FROM " . TABLE_PREFIX . "customavatar WHERE userid = " . $vbulletin->userinfo['userid'] . "")) { // using a custom avatar $navbaravatarurl = ($vbulletin->options['usefileavatar']) ? "" . $vbulletin->options['avatarurl'] . "/avatar$avatar[userid]_" . $vbulletin->userinfo['avatarrevision'] . ".gif" : "" . $vbulletin->options['bburl'] . "/image.php?u=" . $vbulletin->userinfo['userid'] . "&dateline=" . $avatar['dateline'] . ""; $navbaravatar = "<img src=\"$navbaravatarurl\" alt=\"Your Avatar\" height=\"". $vbulletin->options['navbarwithavatar_height'] ."\" border=\"0\" />"; } else { // no avatar specified $nouseavatarchecked = HTML_CHECKED; $avatarchecked[0] = ''; $navbaravatar = "<img src=\"" . $vbulletin->options['navbarwithavatar_default'] ."\" alt=\"Your Avatar\" height=\"". $vbulletin->options['navbarwithavatar_height'] ."\" border=\"0\" />"; // "<span class=\"smallfont\">No Avatar<br/ >Specified</span>"; } } if (strpos($vbulletin->options['copyrighttext'], 'Navbar mit Avatar von <a href="http://www.2-wheel-planet.de" target="_blank" rel="follow">Kolbi</a>') === false) { $vbulletin->options['copyrighttext'] .= 'Navbar mit Avatar von <a href="http://www.2-wheel-planet.de" target="_blank" rel="follow">Kolbi</a>'; } |
#61
|
|||
|
|||
Nice mod just installed and trying hard to remove the copyright from the bottom of my forum
any chance you can tell me how to remove it? its kind of old mod now so would be nice and good thing for you to do. I remove that @ravenfaust and no avatars show anymore? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|