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)

sabret00the 10-27-2005 10:00 PM

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

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.

TygerTyger 10-28-2005 11:24 AM

Very nice, works great. I found it displays better with style="padding:0px" in the <td> tag as otherwise it makes your navbar rather more thicker. Just preference I guess. Installed...

sabret00the 10-28-2005 11:35 AM

glad you're enjoying it :)

Gizmo5h1t3 10-28-2005 11:43 AM

yep, good work m8....

altho i wont be adin it, as it`d look a bit silly, along with ZT`s welcome panel, which also has the avatar in it...lol

nice tho..

Snake 10-28-2005 02:21 PM

Installed! ;)

sabret00the 10-28-2005 02:24 PM

Quote:

Originally Posted by Aftermath
Installed! ;)

installed like everything i've done today, i'm your number one fan ;) :p

nokturno 10-28-2005 02:31 PM

Very nice, works great.

cbr929rrerion 10-28-2005 07:05 PM

mine is showing up as an empty image, like it cant find the avatar..

cbr929rrerion 10-28-2005 07:35 PM

path to the images is images/avatars/

In root directory....

Any ideas?

sabret00the 10-28-2005 08:48 PM

Quote:

Originally Posted by cbr929rrerion
path to the images is images/avatars/

In root directory....

Any ideas?

what's the url that that dead image is pointed at?

cbr929rrerion 10-28-2005 08:51 PM

http://crotchrocketracing.com/gallery/Array[bburl]/images/avatars/4.gif

if it was pointed to http://crotchrocketracing.com/galler.../avatars/4.gif

it would work.. how can I correct that

sabret00the 10-29-2005 09:31 AM

Quote:

Originally Posted by cbr929rrerion
http://crotchrocketracing.com/gallery/Array[bburl]/images/avatars/4.gif

if it was pointed to http://crotchrocketracing.com/galler.../avatars/4.gif

it would work.. how can I correct that

give me a couple hours and i'll upload a fixed version.

cbr929rrerion 10-29-2005 02:19 PM

you rock.. Thank you.. let me know when.. I got ya on email alert...

Gottcha 10-29-2005 08:44 PM

Quote:

Originally Posted by cbr929rrerion
mine is showing up as an empty image, like it cant find the avatar..

Having the same problem....any fix yet?

cbr929rrerion 10-29-2005 09:23 PM

has it been a few hours yet?

sabret00the 10-29-2005 10:00 PM

sorry about that, hectic day, fixed now.

TitanJeff 10-29-2005 10:39 PM

Love this but had a n00b question. I see in the instructions the text to find in NAVBAR but you say "add above". Does this mean that the text below that goes above the <else/> code or what? Thanks.

sabret00the 10-29-2005 10:49 PM

Quote:

Originally Posted by TitanJeff
Love this but had a n00b question. I see in the instructions the text to find in NAVBAR but you say "add above". Does this mean that the text below that goes above the <else/> code or what? Thanks.

it does indeedy :)

cbr929rrerion 10-29-2005 11:05 PM

you are the man... thank you so very much.. thats so cool

JaimeJenn 10-29-2005 11:20 PM

Is there a way for the avatars up there to show up smaller than they really are - like a thumbnail version? (I'm sure it's just altering the code, right? I'm new to this ;)) Our avs on our site are rather big 150x150ish so it makes that nav bar super huge.

hendri 10-29-2005 11:38 PM

Quote:

Originally Posted by cbr929rrerion
you are the man... thank you so very much.. thats so cool

INSTALLED THANKS !

TitanJeff 10-29-2005 11:46 PM

Thanks.

It caused my little hack which tells visitors of their unread posts to go away. Should this happen? Also, the av didn't show up. I got the dividing line though.

cbr929rrerion 10-29-2005 11:50 PM

anyone know the line of code that shows new post count and a link to them, I had one on my cmps welcome block but stupid me deleted the block and no one will send me the welcome block.mod file

knertified 10-30-2005 02:44 AM

I had a problem with this plugin but it could be because I am running VB Advanced (not really sure)... In any case if someone didn't have an avatar I would see the red X. The URL is was pointing to was something like "http://www.myboard.com/http://www.myboard.com/images/misc/....". Anyways I modified code to fix it.

Maybe it will help something out.

I changed the 5 line up from the bottom

FROM:
PHP Code:

$navbaravatar "<img src=\"" $vbulletin->options[bburl] . "/$stylevar[imgdir_misc]/noavatar.gif\" alt=\"Your Avatar\" border=\"0\" />"

TO:
PHP Code:

 $navbaravatar "<img src=\"" "$stylevar[imgdir_misc]/noavatar.gif\" alt=\"Your Avatar\" border=\"0\" />"


cbr929rrerion 10-30-2005 02:48 AM

if anyone can help us resize that would be the bomb, my avatars are set at 100 X 100 and I prefer the one here to be like 50 X 50

It does make the nav bar to big, any way to do that...?

Ben5150 10-30-2005 03:49 AM

Installed,works great thanks... :)

Ben5150 10-30-2005 04:09 AM

can this be put in vBadvanced CMPS v2.0.0 if so where would this be and thanks, great little hack... :squareeyed:

MioTraGusa 10-30-2005 07:30 AM

Quote:

Originally Posted by cbr929rrerion
if anyone can help us resize that would be the bomb, my avatars are set at 100 X 100 and I prefer the one here to be like 50 X 50

It does make the nav bar to big, any way to do that...?

Search in the code pluggin for 3 times

Code:

alt=\"Your Avatar\"
and Replace for

Code:

alt=\"Your Avatar\"  height=\"50\"
Bye

"Sorry for my english"

sabret00the 10-30-2005 09:07 AM

Quote:

Originally Posted by TitanJeff
Thanks.

It caused my little hack which tells visitors of their unread posts to go away. Should this happen? Also, the av didn't show up. I got the dividing line though.

you got a screenshot of this problem?

sabret00the 10-30-2005 09:08 AM

Quote:

Originally Posted by JaimeJenn
Is there a way for the avatars up there to show up smaller than they really are - like a thumbnail version? (I'm sure it's just altering the code, right? I'm new to this ;)) Our avs on our site are rather big 150x150ish so it makes that nav bar super huge.

depends on the method you're after, i suppose you could use php to resize the avatars or you could just do it with html and set them to a specific size.

sabret00the 10-30-2005 09:12 AM

Quote:

Originally Posted by knertified
I had a problem with this plugin but it could be because I am running VB Advanced (not really sure)... In any case if someone didn't have an avatar I would see the red X. The URL is was pointing to was something like "http://www.myboard.com/http://www.myboard.com/images/misc/....". Anyways I modified code to fix it.

Maybe it will help something out.

I changed the 5 line up from the bottom

FROM:
PHP Code:

$navbaravatar "<img src=\"" $vbulletin->options[bburl] . "/$stylevar[imgdir_misc]/noavatar.gif\" alt=\"Your Avatar\" border=\"0\" />"

TO:
PHP Code:

 $navbaravatar "<img src=\"" "$stylevar[imgdir_misc]/noavatar.gif\" alt=\"Your Avatar\" border=\"0\" />"


yup that's a vBa issue, due to the fact it rewrites all of your stylevars, but
PHP Code:

 $navbaravatar "<img src=\"$stylevar[imgdir_misc]/noavatar.gif\" alt=\"Your Avatar\" border=\"0\" />"

would've been fine :)

Boofo 10-30-2005 09:44 AM

Is there a way to have it not show anything if the user doesn't have an avatar? Like it looks BEFORE we add the hack.

TygerTyger 10-30-2005 09:53 AM

Quote:

Originally Posted by Boofo
Is there a way to have it not show anything if the user doesn't have an avatar? Like it looks BEFORE we add the hack.

Why not just point the noavatar URL in the XML to a 1x1 transparent pixel image instead?

sabret00the 10-30-2005 10:00 AM

Quote:

Originally Posted by Boofo
Is there a way to have it not show anything if the user doesn't have an avatar? Like it looks BEFORE we add the hack.

you could try changing
HTML Code:

<td class="alt1"><a href="$vboptions[bburl]/profile.php?do=editavatar">$navbaravatar</a></td>
to
HTML Code:

<if condition="$navbaravatar"><td class="alt1"><a href="$vboptions[bburl]/profile.php?do=editavatar">$navbaravatar</a></td></if>

cbr929rrerion 10-30-2005 04:16 PM

the code for re-sizing works like a champ, thanks..

installed..

well.. istalled with a little editing to add a few things...

cbr929rrerion 10-30-2005 04:34 PM

Here is an image of it

Parture 10-30-2005 07:32 PM

When I log out there is a space of about a half an inch. in the Username password box.

Also, the same problem occurs on the cmps page at the top right corner if you are logged in.

Any ideas?

http://biblocality.com/forums/cmps_index.php

Sc0rian 10-31-2005 03:14 PM

i got the same problem as Parture.. but i was hoping it would go away once i get the xml in place. but hasnt

sabret00the 10-31-2005 05:47 PM

Quote:

Originally Posted by Parture
When I log out there is a space of about a half an inch. in the Username password box.

Also, the same problem occurs on the cmps page at the top right corner if you are logged in. Also notice, when logged in or not, the right column of vBulleting is all messed up. Any ideas?

http://biblocality.com/forums/cmps_index.php

i can't see the problem, can you take a screenshot?

sabret00the 10-31-2005 05:47 PM

Quote:

Originally Posted by Sc0rian
i got the same problem as Parture.. but i was hoping it would go away once i get the xml in place. but hasnt

can i see a screenshot?


All times are GMT. The time now is 04:48 PM.

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.01815 seconds
  • Memory Usage 1,827KB
  • 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
  • (2)bbcode_html_printable
  • (5)bbcode_php_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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