View Full Version : 2 or more profile picture
Q-v-n-s-Q
01-17-2006, 10:00 PM
since to see too much peoples requested.. so here its:
[removed link=nothing to view on page but popups ... ]
profile 1
<a href="$userinfo[[color=red]fieldxx]" target="_blank"> <img src="$userinfo[fieldxx]"border="0" width="99" height="75" style="border:1px solid $stylevar[tborder_bgcolor];" /> </a>
profile 2
<a href="$userinfo[fieldxx]" target="_blank"> <img src="$userinfo[fieldxx]"border="0" width="99" height="75" style="border:1px solid $stylevar[tborder_bgcolor];" /> </a>
profile 3
<a href="$userinfo[fieldxx]" target="_blank"> <img src="$userinfo[fieldxx]"border="0" width="99" height="75" style="border:1px solid $stylevar[tborder_bgcolor];" /> </a>
replace fieldxx with your own field number!!
note* if you wanna change the size of the images
width="99" height="75" replace the number to any size..
enjoy!!!
Q-v-n-s-Q
01-18-2006, 01:29 AM
opps there is a bug.. here is the live demo of the bug.. if a member without more then 2 images there will be ( x )
so um ima replace the to make it with a defaulf images latter..or whoever can help post it here.
update !!! : sorry guys i was in a hurry so here is the latest code tested and working
replace the above code :
<a href="$userinfo[fieldxx]" target="_blank"> <img src="$userinfo[fieldxx]"border="0" width="99" height="75" style="border:1px solid $stylevar[tborder_bgcolor]; " /> </a>
with the code below :
<if condition="$post[fieldxx]">
<div><a href="$userinfo[fieldxx]" target="_blank"> <img src="$post[fieldxx]"border="0" width="99" height="75" style="border:1px solid $stylevar[tborder_bgcolor]; "></div>
<else />
<div><img src="nopic.gif"></div>
</if>
this is of the demo if a member havent fill out his addition profile field
will be show as no pic
enjoy!!
The Chief
01-18-2006, 03:03 AM
that's just too easy...
I thought it was some kind of thing that you could upload more the one profile picture directly to the website... :(
Q-v-n-s-Q
01-18-2006, 03:23 AM
that's just too easy...
I thought it was some kind of thing that you could upload more the one profile picture directly to the website... :(
um i could do that if you want too. but this much better to save your webspace and banwidth.. cuz the profile will be link to a lots of website
That's not really true, if you want to allow them a lot of profile pics, vb would have to call for like 30 fields more if you want 10 pics.
So this id isn't good and is no hack either, the way to use custom profile pics is already much better described in the spice your profile up thread.
TygerTyger
01-21-2006, 04:57 PM
Why would you allow someone 10 profile pics? For two or three there's nothing wrong with this hack, a few pairs of conditionals won't kill you. If you want more then you should look to a more complete solution.
123Corleone
01-23-2006, 11:04 PM
i searched (<a href="$userinfo[fieldxx]" target="_blank"> <img src="$userinfo[fieldxx]"border="0" width="99" height="75" style="border:1px solid $stylevar[tborder_bgcolor]; " /> </a>) where that have to be? in memberinfo???
Q-v-n-s-Q
01-25-2006, 06:43 PM
i searched (<a href="$userinfo[fieldxx]" target="_blank"> <img src="$userinfo[fieldxx]"border="0" width="99" height="75" style="border:1px solid $stylevar[tborder_bgcolor]; " /> </a>) where that have to be? in memberinfo???
just place the code anywhere in the memberinfo template, and dont forget the change the field the your own...
???`S?LV?R???`
01-29-2006, 11:50 PM
the way to use custom profile pics is already much better described in the spice your profile up thread.
would you mind posting a link to that specific post, and/or page within that thread?
cbr929rrerion
02-04-2006, 04:06 AM
whats the code to make it where you can upload to that field..
I have a few fields I would like a member to be able to upload to it rather than link it..
cbr929rrerion
02-07-2006, 03:05 PM
HUMM.. unsupported I guess...
cbr929rrerion
02-21-2006, 09:03 PM
Can we get the code where you can upload the pic please
djjeffa
03-08-2006, 12:07 AM
anyway of making the feilds not showing up if ther left blank?
cbr929rrerion
03-08-2006, 12:20 AM
yes.. if statements
cbr929rrerion
03-10-2006, 03:00 AM
Can we get the code where you can upload the pic please
:bunny:
dinodonk
07-24-2006, 03:18 AM
yes i badly need the code for upload more profile picture too :(
Thanks!!!
jags2ooo
07-16-2007, 08:03 PM
Does this work in 3.6 or does anyone know any alternatives?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.