vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Home Enhancements - Avatar in Header (https://vborg.vbsupport.ru/showthread.php?t=230415)

ROTPAR 11-26-2010 01:24 PM

Quote:

Originally Posted by blake247 (Post 2120772)
Installed this mod, now I get "Own3d By Cyb3R"

you got hacked because of this mod? or what do you want to say?

OldSchoolDSL 12-29-2010 11:00 PM

Installed & working

4.1 PL2

OldSchoolDSL 01-17-2011 05:48 PM

Quote:

Originally Posted by OldSchoolDSL (Post 2141032)
Installed & working

4.1 PL2

Un-installed

It was nice eye candy, but really only added to the load.

GamersChallenge 10-02-2011 06:48 AM

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

Scalemotorcars 10-22-2011 12:35 AM

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:

FReeSTER 11-12-2011 01:36 AM

very nice mate thanks

Emeralda 02-11-2012 02:42 PM

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.

OcR Envy 03-22-2012 01:28 AM

blah can delete.

wabbits 04-12-2012 02:23 AM

Nice touch cheers for that.:up:

ywwz 04-12-2012 11:39 AM

working on 4.1.11


All times are GMT. The time now is 10:23 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.01198 seconds
  • Memory Usage 1,734KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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