PDA

View Full Version : how to make this in user Profile Fields


cgway.net
12-03-2007, 11:31 AM
hello all

it's the first thread i have post it in vbulletin.org i hope i get good help from all

my question how i make an user Profile Field appearer in the registration for as this photo

http://www.cgway.net/award/files/2.jpg


and when select any option or many option corresponding it appearer in postbit profile an photo as this photo

http://www.cgway.net/award/files/1.jpg

i wait your help

lolzers
12-03-2007, 11:53 AM
I'm not sure what the code would be if you used that sort of box where users can select one, but if you create a text box where users can enter the program they use, do the following:

Create a profile field.

Now, add the following code to your posbit/postbit_legacy, probably under your reputation.

Program:<if condition="$post[fieldXX]"><img src="XXX" border="0px" alt="Photoshop, or whatever program"></a></if>

Replace the XX in beside field to the profile field number, and the XXX in img src to the image location.

I'm sorry I couldn't help you get exactly what you wanted, maybe someone else can.

cgway.net
12-03-2007, 12:57 PM
this images taken from .
http://www.subdivisionmodeling.com/forums/

can any brother explain this profile code

--------------- Added 1196695595 at 1196695595 ---------------

any body have any help

--------------- Added 1196715269 at 1196715269 ---------------

any body have any help

--------------- Added 1196761410 at 1196761410 ---------------

any help

cgway.net
12-04-2007, 09:59 PM
help from any body

Hex_legend
12-04-2007, 10:17 PM
Create a user profile field:

Go to Admin CP,
User Profile Fields
Add New User Profile Field
Multiple Selection Menu

Fill in title, description and options..

When you get to "Field Required?" state = "Yes, at registration and profile editing"

Make a note of the field number (FieldXX)

Then go to postbit or postbit legacy:

Search for

<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>

Add under

Program:<if condition="$post[fieldXX]"><img src="XXX" border="0px" alt="Photoshop, or whatever program"></a></if>


Be sure to replace the XX with the field number from the custom field that you created.