Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Avatar in Header Details »»
Avatar in Header
Version: 1.1.0, by Seven Skins Seven Skins is offline
Developer Last Online: Sep 2022 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 4.0.1 Rating:
Released: 12-16-2009 Last Update: 12-20-2009 Installs: 407
Uses Plugins Template Edits
 
No support by the author.

Avatar in Header

This will add user avatar in header.
User without avatar will be show blank avatar.
Unregistered user will not be shown any avatar.


Installation:

-Import the XML file via ... AdminCP > Plugin & Products > Manage Products > Add/Import Product.




Find in header template:
HTML Code:
<div id="toplinks" class="toplinks">
Add Below:
HTML Code:
<div style="float:right; margin: 5px -12px 5px 10px;">{vb:raw ss_avatar}</div>

You can edit the margins to suit your needs

Live demo

Login to see the avatar.

PHP Code:
UserMike
Pass
vborg 

PS. Minimum height for the logo you are using must be 65 pixels, or else the avatar will be hidden behind the navbar.


Click Install if using this mod.


Thanks


Updated:
18 Dec 09: Changed template edits to correct problems with adverts in the header.
21 Dec 09: Add url to profile.php so avatar can be edited.
22 Dec 09: Working with vBulletin 4.0.0 (Gold)
14 Jan 10: Updated for vBulletin 4.0.1


.

Download Now

File Type: xml product-sevenskins_header_avatar_1.1.0.xml (1.4 KB, 2456 views)

Screenshots

File Type: png 1313a.png (28.4 KB, 0 views)
File Type: png 1313b.png (22.6 KB, 0 views)
File Type: png 1313c.png (20.3 KB, 0 views)
File Type: png 1320.png (35.2 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
mohammadxxx, Winter Sonata

Comments
  #102  
Old 11-26-2010, 01:24 PM
ROTPAR ROTPAR is offline
 
Join Date: May 2004
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by blake247 View Post
Installed this mod, now I get "Own3d By Cyb3R"
you got hacked because of this mod? or what do you want to say?
Reply With Quote
  #103  
Old 12-29-2010, 11:00 PM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed & working

4.1 PL2
Reply With Quote
  #104  
Old 01-17-2011, 05:48 PM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by OldSchoolDSL View Post
Installed & working

4.1 PL2
Un-installed

It was nice eye candy, but really only added to the load.
Reply With Quote
  #105  
Old 10-02-2011, 06:48 AM
GamersChallenge GamersChallenge is offline
 
Join Date: Aug 2011
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want to display unkown.gif even if the user is not loged in. how do I that?

ps. works great on 1.1.5 pl1
Reply With Quote
  #106  
Old 10-22-2011, 12:35 AM
Scalemotorcars's Avatar
Scalemotorcars Scalemotorcars is offline
 
Join Date: Mar 2006
Location: NC
Posts: 619
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod I tweaked it a little to work in my footer.

@ GamersChallenge

I had the same questions and actually came up with a very easy answer. I just used the unknow.gif wrapped by the Guest conditional. Heres my code, feel free to weak as needed.

Code:
<div style="float:left; margin-right: 10px; margin-bottom: 5px;">{vb:raw ss_avatar}</div>
	  <vb:if condition="$show['guest']"><div style="float:left; margin-right: 10px; margin-bottom: 5px;"><img src="images/misc/unknown.gif" alt="" title="" /></div></vb:if>
Here's a link, check the footer to see it in action. http://www.scalemotorcars.com

Opp's I should be a little more clear on where to look. Bottom right with the kit motor boxart. Once a member log's in that changes to the users avatar. :up:
Reply With Quote
  #107  
Old 11-12-2011, 01:36 AM
FReeSTER FReeSTER is offline
 
Join Date: Jun 2006
Location: Rome
Posts: 730
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice mate thanks
Reply With Quote
  #108  
Old 02-11-2012, 02:42 PM
Emeralda's Avatar
Emeralda Emeralda is offline
 
Join Date: Oct 2011
Posts: 202
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Really nice, though because we use kinda big avatars (150x200 even) and not square, I had to modify the code a bit for a 100px high header:

Code:
$ss_avatar = "<a href=\"profile.php?do=editavatar\"><img src=\"$ava_urlX\" height=\"90\" border=\"0\" alt=\"Avatar\" /></a>";
It doesn't set the width, letting proper proportions to stay.
Reply With Quote
  #109  
Old 03-22-2012, 01:28 AM
OcR Envy's Avatar
OcR Envy OcR Envy is offline
 
Join Date: May 2008
Location: Boston
Posts: 248
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

blah can delete.
Reply With Quote
  #110  
Old 04-12-2012, 02:23 AM
wabbits wabbits is offline
 
Join Date: May 2011
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice touch cheers for that.:up:
Reply With Quote
  #111  
Old 04-12-2012, 11:39 AM
ywwz ywwz is offline
 
Join Date: Jul 2009
Posts: 255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

working on 4.1.11
Reply With Quote
Reply

Thread Tools

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 03:07 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.04614 seconds
  • Memory Usage 2,343KB
  • 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
  • (2)bbcode_code
  • (2)bbcode_html
  • (1)bbcode_php
  • (2)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
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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