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

Reply
 
Thread Tools
Avatar On Navbar Details »»
Avatar On Navbar
Version: 1.00, by sabret00the sabret00the is offline
Developer Last Online: Apr 2010 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 10-27-2005 Last Update: 10-28-2005 Installs: 349
Uses Plugins Template Edits
 
No support by the author.

Erm, this add's a cool Avatar to your navbar but only for logged in users

something like that, i really need to think of ways to make this stuff more exciting.

fixed bug where pre-defined avatars wouldn't show.

Show Your Support

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

Comments
  #152  
Old 03-23-2006, 02:20 AM
Nathan2006's Avatar
Nathan2006 Nathan2006 is offline
 
Join Date: Feb 2006
Location: UK
Posts: 862
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you sabret00the

works great!

Install
Reply With Quote
  #153  
Old 03-24-2006, 03:46 PM
M1TCH3LL M1TCH3LL is offline
 
Join Date: Jul 2005
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sparks Kelly261
It has to be the plugin being bad because this is whats in the code of my page.

HTML Code:
		<td class="alt2" valign="top" nowrap="nowrap">
		<div class="smallfont">

			<strong>Welcome, Sparks.</strong><br />
			You last visited: Today at <span class="time">03:54 PM</span>
			<br /><a href="private.php">Private Messages</a>: Unread 0, Total 8.
		</div>
		</td>
		<td class="alt1"><a href="http://hacktonic.com/profile.php?do=editavatar"></a></td>
I have exactly this same issue.

EDIT: Fixed, and boy do I feel stupid. My plugin system was turned off in the main vB options area :P. Now to find out why I only have the 'Your Avatar' font showing.

EDIT2: Ok, now it is not picking up on me having an avatar (when I actually do). It's giving me the 'no avatar' treatment. Any ideas?
Reply With Quote
  #154  
Old 03-24-2006, 06:14 PM
dhawkins001's Avatar
dhawkins001 dhawkins001 is offline
 
Join Date: Mar 2006
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very Nice!!! Better than the other one I tried.
Reply With Quote
  #155  
Old 03-26-2006, 01:06 AM
flfooty tv flfooty tv is offline
 
Join Date: Oct 2005
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

loving this, with the resize it works a treat!
Reply With Quote
  #156  
Old 03-26-2006, 04:48 AM
GoodKarmaKid GoodKarmaKid is offline
 
Join Date: Nov 2005
Location: Las Vegas, NV
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sweet little plugin

adds a nice personalization touch.

Thanks
Reply With Quote
  #157  
Old 03-28-2006, 01:42 AM
rareclownfish rareclownfish is offline
 
Join Date: Mar 2006
Posts: 245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is anyone running this on vb 3.5.4? I'm trying to get it to work but no luck.
The intructions say add above, add above what?

Add above this------
else />

<td class="alt2" nowrap="nowrap" style="padding:0px">

<!-- login form -->


or replace it?
Reply With Quote
  #158  
Old 03-28-2006, 04:29 PM
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Location: A galaxy far, far away...
Posts: 1,450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For those having issues with vBadvanced...

1) Go back and follow the instructions by fn9mm for adding a global variable to CMPS here.

2) If you are using custom avatars and are having a problem with the image path (because your CMPS is in the root folder or you are using vBa Links or PhotoPost vBGallery, etc.) then look for...
PHP Code:
 // 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\" border=\"0\" />"
... and change it to below: (You'll be adding " . $vbulletin->options[bburl] . "/ to the image URL)
PHP Code:
 // 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=\"" $vbulletin->options[bburl] . "/$navbaravatarurl\" alt=\"Your Avatar\" border=\"0\" />"
Note, though, that if you're using custom avatars and you've changed the path from the default that the step #2 above may be different for you.
Reply With Quote
  #159  
Old 04-12-2006, 12:59 PM
PolyMarauder's Avatar
PolyMarauder PolyMarauder is offline
 
Join Date: Sep 2004
Location: gamingartist.com
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Eagle Creek
Hi!

I installed it but I have a question. Because of the size of some avatars the navbar grows a little out of proportion.

Can I auto resize avatars when they are bigger then *X* to a specified size?
Find
Code:
border=\"0\"
and add this befor it
Code:
width=\"50\" height=\"50\"
Anyone know what I need to change so I can have it's link go to the user CP instead of the Avatar Editor?

Cheers.
Reply With Quote
  #160  
Old 06-29-2006, 07:11 PM
Polo's Avatar
Polo Polo is offline
 
Join Date: Jun 2004
Posts: 893
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

excellent!! got this one working in my cmps yay!!! thanks...
Reply With Quote
  #161  
Old 06-29-2006, 08:16 PM
oberheimhaven's Avatar
oberheimhaven oberheimhaven is offline
 
Join Date: May 2006
Location: Daytona Beach FLA
Posts: 266
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will this work for pics What do i need to do to install kewl hack tho jsut need to tweak?
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 07:48 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04913 seconds
  • Memory Usage 2,333KB
  • Queries Executed 27 (?)
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
  • (2)bbcode_code
  • (1)bbcode_html
  • (2)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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_postinfo_query
  • fetch_postinfo
  • 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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete