![]() |
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? |
All times are GMT. The time now is 11:18 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|