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
User's avatar placeable everywhere (trivial, but requested) Details »»
User's avatar placeable everywhere (trivial, but requested)
Version: 1.00, by The M.I.P. The M.I.P. is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.x Rating:
Released: 11-05-2005 Last Update: Never Installs: 16
Uses Plugins
 
No support by the author.

This trivial plugin allows to place a user's avatar (nearly) everywhere in the templates (it defines $vbulletin->userinfo['avatarurl'] and $vbulletin->userinfo['avatarsize'] or - when using legacy variables - $bbuserinfo['avatarurl'] and $bbuserinfo['avatarsize']).

Sorry for posting something that simple, but it was requested.

EXAMPLE USAGE:
(install "avatarplaceableeverywhere.xml" plugin before)
HTML Code:
<if condition="$bbuserinfo[avatarurl]">
	<img src="$bbuserinfo[avatarurl]" $bbuserinfo[avatarsize] alt="<phrase 1="$bbuserinfo[username]">$vbphrase[xs_picture]</phrase>" />
</if>
SCREENSHOT:

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 11-07-2005, 04:04 PM
The M.I.P.'s Avatar
The M.I.P. The M.I.P. is offline
 
Join Date: Nov 2002
Location: 127.0.0.1
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Madmp3zz
I was just checking out your message board.
I was wondering if you could tell me how you added the left column with the links.
I have found the add left column hack but, I would like to know how you got the sub-menu dropdown to work.
I want mine to look almost like that.
I basically moved stuff from the navbar template into the header, the navbar itself is only used to display the breadcrumbs.
header template contains top of page, left column and top of center column, footer template contains bottom of center column, right column and the footer/copyright stuff.
Excuse me for not giving out more infos or the template itself, because the style is part of gulli.com corporate design.
Reply With Quote
  #13  
Old 11-17-2005, 04:02 AM
KwelX KwelX is offline
 
Join Date: Nov 2005
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed

thx
Reply With Quote
  #14  
Old 12-03-2005, 12:30 AM
DataAve DataAve is offline
 
Join Date: Nov 2005
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've imported the plugin. Nothing shows. Excuse my ignorance, but is there code to add.
Reply With Quote
  #15  
Old 12-03-2005, 01:51 AM
DataAve DataAve is offline
 
Join Date: Nov 2005
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As you can see, it's installed.


No Avatar shows.
Reply With Quote
  #16  
Old 12-03-2005, 03:24 AM
M1th's Avatar
M1th M1th is offline
 
Join Date: Jul 2002
Location: UK
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

U can do this without the extra query.
Reply With Quote
  #17  
Old 12-03-2005, 12:12 PM
DataAve DataAve is offline
 
Join Date: Nov 2005
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

?????
Reply With Quote
  #18  
Old 12-03-2005, 11:41 PM
Wordplay Wordplay is offline
 
Join Date: Nov 2001
Location: Dengoku
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

using this would it be possible to show user's avatars in a shoutbox when they post there?
Reply With Quote
  #19  
Old 01-11-2006, 04:16 PM
crash resistant crash resistant is offline
 
Join Date: Oct 2004
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol. it doesn't work with vbAdvanced CMPS

yet another failed attempt
Reply With Quote
  #20  
Old 01-11-2006, 06:18 PM
noonespecial noonespecial is offline
 
Join Date: Nov 2002
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It shows the logged in user's avatar when trying to use it in the templates associated with "VB Journal" - any way to fix that?
Reply With Quote
  #21  
Old 02-20-2006, 05:42 PM
malfuncion malfuncion is offline
 
Join Date: Dec 2005
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

also would be nice to know how to stick an avatar in an HTML page. like in a portal page...

im using raw html.. no templates.
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 04:41 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.05031 seconds
  • Memory Usage 2,300KB
  • 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
  • (1)bbcode_html
  • (1)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
  • (2)pagenav_pagelink
  • (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