The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Adding an image to a profile block
Hello, i currently use vBuleltin 3.7.0
I was just wondering, how do i go about Adding an image to a profile box, that i created via the user profile field. I would just like to know how i could add an image to the block. Any ideas? Thanks. |
#2
|
||||
|
||||
Have you tried using $userinfo[fieldxx] where xx is the field number?
|
#3
|
|||
|
|||
Ok so all i have to do is...
Create a profile field, then input the image HTML inside. Then put the field number i put the image in Then it will work? |
#4
|
||||
|
||||
Quote:
HTML Code:
<img src="$userinfo[fieldxx]">
|
#5
|
|||
|
|||
I added that into the memberinfo_block template, with the desired field ID
But it still did not work, and i tried adding some HTML directly to it, and it changed the look of all my profile blocks. So just to completely cut things down, just two questions. 1- Where do i put the <img src="$userinfo[fieldxx]"> 2- do i put IMG code, or HTML code to the image? The rest i will work out by myself -Thanks |
#6
|
||||
|
||||
It would have been nice to see the code you tried and an image of the result.
I don't know where you put the image tag - you put it where you want the image to be shown. And, if you are modifying a template, then you need to use valid html for the image. |
#7
|
|||
|
|||
Ok, i have found exactly what i want.
Its is like this, if you check out the block that says "member status" with an image into it http://i244.photobucket.com/albums/g...d112/block.png That is what i would like to do. Thanks. |
#8
|
||||
|
||||
That doesn't show where you want it though. That is for a 3.6 board, and you are running 3.7 which is quite different. I would guess you will want to modify one of the memberinfo_block_xxxx templates to add in your field.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|