The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Ok d3wds and d3wd3ts...
Heres my problemo...Im hoping its not something simple i overlooked and i have to embarrass myself to figure it out. I am trying to display the member's [edit]AVATAR[/edit] image in my header...as seen here... ![]() Now I have the welcome panel hack installed [LINK] And I tried just inserting $avatarimage in the 80x80 table i built into my header, but it didnt work. I think it has something to do with where the welcome panel code is located, maybe i need some avatar related code in the headinclude? Please help, if you have any questions or need me to post any code i can... Thanks in advance, -Nocturnix |
#2
|
||||
|
||||
![]()
Vincent]Well the code for $avatarimage only applys in index.php so it will only work there. You need someone to write up a set of instructions to do what you want
![]() |
#3
|
|||
|
|||
![]()
Ok, well maybe somone will take pity on me and help me out. At least I know now that its not just me being stupid.
|
#4
|
|||
|
|||
![]() Quote:
If it's sig image, good luck. It would have to be in the database (something most forums would not want to do for bandwidth reasons) and you'd have to have a uniform size restriction. |
#5
|
||||
|
||||
![]()
I think he means avatar.
|
#6
|
|||
|
|||
![]()
I meant avatar....whoops...whats this of databases? Hmm it should definately not be this complex...The avatar is stored already and used frequently, what difference does it make if its displayed in the header...and there will be size restrictions...80x80pixels and possibly file size restrictions as well if i need them...it shouldnt be a huge strain, as there are already tons of avatars AND sigs that are loaded in each thread.
I simply want to display an 80x80 avatar in my header. Thanks, -nocturnix |
#7
|
||||
|
||||
![]()
Easy.
Put this line anywhere in any of your templates. If you want it in your header, put it in your header template. But it works in ALL templates. Code:
<img src="avatar.php?userid=$bbuserinfo[userid]"> |
#8
|
|||
|
|||
![]()
Can you provide me the code to display default av, and non-custom avs?
should be simple ill try and figure it out on my own but if you know it plz post. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|