PDA

View Full Version : picture field in profile of members...


appalcore.org
06-13-2002, 02:55 AM
not like an avatar but a full picture.

i think ikonboard has something like this.

i used to do a member profiles thing where people uploaded a pic and it was displayed...but i never could figure out how to get it interactive with my forum members...

i am going to work on it...if someone knows anything shoot me a reply!

thanks
Eddie

Brad
06-13-2002, 02:59 AM
i think someone made a hack for it cause ive seen it somewhere, a simple way of doing it would be making a new user feild then adding the html in the getinfo template to make it disply as a image.

appalcore.org
06-13-2002, 03:09 AM
you could probably just have them enter it in hosted on a seperate site or something like that

cause it could be a big bandwidth issue i guess

Brad
06-13-2002, 03:11 AM
yes allowing uploads would put alot of extra info in the database.

appalcore.org
06-13-2002, 03:17 AM
see i know very little about editing the templates

i made a field called "Profile Pic" and I went into getinfo template and it doesnt show anything. I guess I can just edit that html to show the img src of whatever they type in as Profile Pic???

I'll see if this works out.

Brad
06-13-2002, 03:28 AM
just doing <img src=" "> around the new profile feild call and that will disply the image, or just call the profile feild and it will link to the pic on their server

appalcore.org
06-13-2002, 03:28 AM
ok my only question is where i find the variable holding

Profile Pic in from the profile fields?

like $userinfo[profilepic] or something?

appalcore.org
06-13-2002, 03:39 AM
cause getinfo displays all the customfields like so

$customfields

i wonder if its $customfields[profilepic] or something...i just cant figure out where you go to figure that out

Brad
06-13-2002, 03:42 AM
$post[field5]

i belive thats right, replace 5 with your profile feild #, if its the frist one youve added that will do.

appalcore.org
06-13-2002, 03:48 AM
hmmm..no luck

here is my profile on there...i have profile pic showing at the bottom too

http://www.appalcore.org/vb/member.php?action=getinfo&userid=1

appalcore.org
06-13-2002, 08:24 PM
hey i got it working !!!!

anyone interested can visit the site to see it in action

www.appalcore.org