![]() |
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. |
Have you tried using $userinfo[fieldxx] where xx is the field number?
|
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? |
Quote:
HTML Code:
<img src="$userinfo[fieldxx]"> |
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 |
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. |
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. |
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.
|
All times are GMT. The time now is 12:59 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:
|