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

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
  #132  
Old 09-26-2013, 11:44 PM
I.G.O.T.A.'s Avatar
I.G.O.T.A. I.G.O.T.A. is offline
 
Join Date: Mar 2011
Location: USA
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyway I can change the size of the avatar?
Reply With Quote
  #133  
Old 09-26-2013, 11:54 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ACP --> Plugins & Products --> Plugin Manager

Search the list for Header Avatar and click on edit.

Now search the code for the following.
Code:
width=\"60\" height=\"60\"
You can change 60 to what value you wish.
Reply With Quote
  #134  
Old 09-27-2013, 06:56 AM
Benedicte Benedicte is offline
 
Join Date: Oct 2008
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
ACP --> Plugins & Products --> Plugin Manager

Search the list for Header Avatar and click on edit.

Now search the code for the following.
Code:
width=\"60\" height=\"60\"
You can change 60 to what value you wish.
Thank you!
Reply With Quote
  #135  
Old 09-27-2013, 09:24 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not a problem, glad to help.
Reply With Quote
  #136  
Old 05-15-2016, 10:02 PM
RedHacker RedHacker is offline
 
Join Date: Jan 2009
Posts: 878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not show correct with 4.1.7 Version. Any help to fix this ?
Attached Images
File Type: jpg 1.jpg (13.5 KB, 0 views)
Reply With Quote
  #137  
Old 05-15-2016, 11:47 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RedHacker View Post
Not show correct with 4.1.7 Version. Any help to fix this ?
The developer of this mod states:

Quote:
PS. Minimum height for the logo you are using must be 65 pixels, or else the avatar will be hidden behind the navbar.
Reply With Quote
  #138  
Old 05-16-2016, 12:28 AM
RedHacker RedHacker is offline
 
Join Date: Jan 2009
Posts: 878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarkFL View Post
The developer of this mod states:
Can i find the official logo of vBulletin in this size ?
Reply With Quote
  #139  
Old 05-16-2016, 12:48 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RedHacker View Post
Can i find the official logo of vBulletin in this size ?
You may be able to get away with giving your current default logo a bottom margin of 20px, which will give the entire element the required minimum height. To try this, add to your "additional.css" template the following selector:

HTML Code:
.logo-image {
	margin-bottom: 20px;
}
Reply With Quote
  #140  
Old 05-16-2016, 12:52 AM
RedHacker RedHacker is offline
 
Join Date: Jan 2009
Posts: 878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarkFL View Post
You may be able to get away with giving your current default logo a bottom margin of 20px, which will give the entire element the required minimum height. To try this, add to your "additional.css" template the following selector:

HTML Code:
.logo-image {
	margin-bottom: 20px;
}
Thanks now it is perfect
Reply With Quote
Благодарность от:
MarkFL
  #141  
Old 06-20-2016, 04:52 AM
RedHacker RedHacker is offline
 
Join Date: Jan 2009
Posts: 878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello i have installed this mod : https://vborg.vbsupport.ru/showthread.php?t=227947

But not show avatar selected in header.
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 11:29 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.05405 seconds
  • Memory Usage 2,357KB
  • 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
  • (4)bbcode_html
  • (1)bbcode_php
  • (6)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
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)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