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
  #32  
Old 10-30-2005, 09:12 AM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #33  
Old 10-30-2005, 09:44 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #34  
Old 10-30-2005, 09:53 AM
TygerTyger TygerTyger is offline
 
Join Date: Aug 2005
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #35  
Old 10-30-2005, 10:00 AM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #36  
Old 10-30-2005, 04:16 PM
cbr929rrerion cbr929rrerion is offline
 
Join Date: Oct 2005
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

installed..

well.. istalled with a little editing to add a few things...
Reply With Quote
  #37  
Old 10-30-2005, 04:34 PM
cbr929rrerion cbr929rrerion is offline
 
Join Date: Oct 2005
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is an image of it
Reply With Quote
  #38  
Old 10-30-2005, 07:32 PM
Parture Parture is offline
 
Join Date: Aug 2005
Posts: 237
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #39  
Old 10-31-2005, 03:14 PM
Sc0rian Sc0rian is offline
 
Join Date: Aug 2004
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i got the same problem as Parture.. but i was hoping it would go away once i get the xml in place. but hasnt
Reply With Quote
  #40  
Old 10-31-2005, 05:47 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #41  
Old 10-31-2005, 05:47 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
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 08:25 AM.


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.04855 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
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_html
  • (3)bbcode_php
  • (5)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_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