View Full Version : Member profiles
Dribbles
02-14-2003, 07:45 PM
Hi, I tried using something like this:
Portrait: <*img src="$post[field5]">
in my member profile pages, but it doesn't seem to work. Is there a special code I need to add so I can use this like I do in postbits? thnx
Dpcows
02-14-2003, 08:26 PM
try <img src="{$post[field5]}">
added the { } around the var and removed that *
Dribbles
02-15-2003, 12:06 AM
didn't work :(
amykhar
02-15-2003, 01:32 AM
What does it do? Does it show a broken image? Does it show nothing at all? Kinda hard to debug if you can't see what is happening.
Xanthine
02-15-2003, 02:30 AM
<img src="$post[field5]">
Erwin
02-15-2003, 04:12 AM
It should work. I have a similar thing running on my site. Make sure the member fills out the whole URL to the image file including the http:// part. Also, make sure the host that they use for images allow remote linking - geocities, tripod etc. do not allow this and you'll get a broken image.
Dribbles
02-15-2003, 05:35 PM
Originally posted by amykhar
What does it do? Does it show a broken image? Does it show nothing at all? Kinda hard to debug if you can't see what is happening.
Shows nothing at all .. this is the code I added to getinfo template:
<tr>
<td bgcolor="{secondaltcolor}"><normalfont><b>Portrait:</b></normalfont></td>
<td bgcolor="{secondaltcolor}"><img src="$post[field5]"></td>
</tr>
<tr>
The "Portrait:" part shows up though
sabret00the
02-28-2003, 05:57 PM
not suer if you still want it but instead of putting $post[field5] change that for $userinfo[field5] ;) that'll work
Dribbles
02-28-2003, 06:00 PM
thnx a lot, man :) I figured it out a couple days ago when installing another hack ... saw the userinfo thing and experimented :)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.