Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Adds Avatar to Navbar Details »»
Adds Avatar to Navbar
Version: 1.3, by Kolbi Kolbi is offline
Developer Last Online: Jan 2022 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.8.x Rating:
Released: 11-08-2009 Last Update: 02-08-2011 Installs: 183
Uses Plugins Template Edits Auto-Templates
 
No support by the author.

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:
  • changeable height of avatars via AdminCP
  • German version
version 1.2:
  • changeable default avatar
version 1.3:
  • changeable width

New features that will come for 1.4:
  • nothing yet

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

File Type: zip Navbar_with_Avatar_1.2.zip (3.5 KB, 382 views)
File Type: zip Navbar_with_Avatar_1.3.zip (3.8 KB, 855 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 11-30-2009, 03:51 AM
SEW810's Avatar
SEW810 SEW810 is offline
 
Join Date: Mar 2008
Location: M?xico City
Posts: 274
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

uninstalled, didn't work and i've got no time to read about solutions.
Anyway, thnx
Reply With Quote
  #53  
Old 11-30-2009, 11:40 AM
Kolbi Kolbi is offline
 
Join Date: Mar 2009
Location: D - S?dbaden
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #54  
Old 12-16-2009, 08:21 PM
cheech47's Avatar
cheech47 cheech47 is offline
 
Join Date: Oct 2006
Location: In Hell
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kolbi View Post
@mulle and @cheech47 What do you have selected under vBadvanced Global Options?
Do you mean the Global vBadvanced Settings>Navbar Replacements?
Reply With Quote
  #55  
Old 12-17-2009, 10:30 AM
Kolbi Kolbi is offline
 
Join Date: Mar 2009
Location: D - S?dbaden
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes...
Reply With Quote
  #56  
Old 12-17-2009, 01:19 PM
Lustikus Lustikus is offline
 
Join Date: Dec 2007
Location: Germay
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I also need help pls, vba does not show the avatar...
Reply With Quote
  #57  
Old 12-18-2009, 01:38 PM
Kolbi Kolbi is offline
 
Join Date: Mar 2009
Location: D - S?dbaden
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What do you have selected under vBadvanced Global Options?
And it also would be great if you can post your url...
Reply With Quote
  #58  
Old 12-19-2009, 03:29 AM
Lustikus Lustikus is offline
 
Join Date: Dec 2007
Location: Germay
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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;-)
Reply With Quote
  #59  
Old 12-23-2009, 07:41 AM
mattpist mattpist is offline
 
Join Date: Jul 2008
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #60  
Old 12-31-2009, 07:13 PM
ravenfaust ravenfaust is offline
 
Join Date: Aug 2009
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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'] . "&amp;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>';
}
Reply With Quote
  #61  
Old 11-14-2010, 03:41 PM
Jamie107 Jamie107 is offline
 
Join Date: Feb 2010
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:33 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
  • Page Generation 0.04954 seconds
  • Memory Usage 2,337KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete