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
  #12  
Old 12-18-2009, 05:38 PM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by halkum View Post
I love this idea, but with the use of advertisements it made my header look sloppy, so had to remove it.

lol ... I forgot about the ads. I have edited the installation process, please use that and avatar will stay up top.

See Screenshot:

https://vborg.vbsupport.ru/attachmen...1&d=1261164876

.
Reply With Quote
  #13  
Old 12-18-2009, 10:51 PM
trilogy33 trilogy33 is offline
 
Join Date: Jan 2008
Location: UK
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice one, thank you and tagged.
Probably will get more users uploading an avatar.
Reply With Quote
  #14  
Old 12-19-2009, 07:57 AM
Dr.osamA's Avatar
Dr.osamA Dr.osamA is offline
 
Join Date: Aug 2004
Location: Syrie
Posts: 979
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed
thanxx man
________
Box Vaporizers
Reply With Quote
  #15  
Old 12-19-2009, 08:14 AM
jackph jackph is offline
 
Join Date: Nov 2009
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great, thanks
Reply With Quote
  #16  
Old 12-19-2009, 03:14 PM
saqibnpt saqibnpt is offline
 
Join Date: Sep 2008
Location: Nur Pur Thal PAKISTAN
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great, Nice one thanks
Reply With Quote
  #17  
Old 12-19-2009, 07:35 PM
Selcor Selcor is offline
 
Join Date: Dec 2009
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It not works in VB4 beta 5 with another skin ...

In applying this supplement will not let me enter the forum ...
Reply With Quote
  #18  
Old 12-19-2009, 07:40 PM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have they released RC5 ... I dont think they have yet.

You just do the template edits according to your skin.

.
Reply With Quote
  #19  
Old 12-19-2009, 07:47 PM
Selcor Selcor is offline
 
Join Date: Dec 2009
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have: Powered by vBulletin™ Version 4.0.0 Beta 5 Copyright ? 2009 vBulletin Solutions, Inc. All rights

Just apply and try to enter the forum:

Quote:
Warning: require_once(./includes/functions_user.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/class_bootstrap.php5(277) : eval()'d code on line 3

Fatal error: require_once() [function.require]: Failed opening required './includes/functions_user.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/gmaster/public_html/foro/includes/class_bootstrap.php5(277) : eval()'d code on line 3
Modify the template Header like you said. And the error still ...
Reply With Quote
  #20  
Old 12-19-2009, 08:51 PM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edit the plugin Header Avatar ... find this "./includes/functions_user.php" and edit it to "./includes/functions_user.php5"

.
Reply With Quote
  #21  
Old 12-21-2009, 01:45 AM
Selcor Selcor is offline
 
Join Date: Dec 2009
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!
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 11:53 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.05849 seconds
  • Memory Usage 2,338KB
  • 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_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
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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