vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Avatar On Navbar (https://vborg.vbsupport.ru/showthread.php?t=99498)

Nathan2006 03-23-2006 02:20 AM

Thank you sabret00the

works great! :D

Install

M1TCH3LL 03-24-2006 03:46 PM

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?

dhawkins001 03-24-2006 06:14 PM

Very Nice!!! Better than the other one I tried.

flfooty tv 03-26-2006 01:06 AM

loving this, with the resize it works a treat!

GoodKarmaKid 03-26-2006 04:48 AM

Sweet little plugin

adds a nice personalization touch.

Thanks

rareclownfish 03-28-2006 01:42 AM

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?

KW802 03-28-2006 04:29 PM

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.

PolyMarauder 04-12-2006 12:59 PM

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.

Polo 06-29-2006 07:11 PM

excellent!! got this one working in my cmps yay!!! thanks...

oberheimhaven 06-29-2006 08:16 PM

Will this work for pics What do i need to do to install kewl hack tho jsut need to tweak?


All times are GMT. The time now is 08:52 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.01413 seconds
  • Memory Usage 1,763KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_html_printable
  • (2)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete