![]() |
User's avatar placeable everywhere (trivial, but requested)
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]"> |
That is by far one of the most useful "trivial" hacks yet.
I'm sure many will agree when I say, THANK YOU!!! |
hey how did you make yours look like that
this is what mines looks like and it makes it have some empty space that doesnt look good: https://vborg.vbsupport.ru/external/2005/11/14.jpg |
Great! Thanks
|
Quote:
At the first glance, it looks like you placed your avatar pic in a different table cell than the welcome message, but without posting relevant parts of your template or the generated HTML output, it's not possible to tell what could be changed to get the results you want. |
Does this run any extra queries on pages where the avatar is additionally added to?
|
Quote:
|
Nice!! This will actually help me out alot :)
|
Great but how can i get it to work on the header of the vbadvanced?
edit: I mean that on the forums it works great. But on the vba pages it shows a X. What should i do abou it??? I placed the code inside the header template |
Pretty cool hack..
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. Can u point me in the right direction or can u PM me the code? |
Quote:
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. |
installed
thx :) |
I've imported the plugin. Nothing shows. Excuse my ignorance, but is there code to add.
|
As you can see, it's installed.
http://www.cctvforums.com/err/ape.gif No Avatar shows. http://www.cctvforums.com/err/ape1.gif |
U can do this without the extra query.
|
?????
|
using this would it be possible to show user's avatars in a shoutbox when they post there?
|
lol. it doesn't work with vbAdvanced CMPS
yet another failed attempt |
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?
|
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. |
What's the addtional code to show more details like:
Complete name: Member since: Birthdate: Etc: This may be simple question but I really don't know as I am newbie here. I tried the plug-in and it worked in my site: www.english-coffee.com Carlos |
All times are GMT. The time now is 02:38 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|