The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
User chosen Icons in postbit.
Hi i would like to allow my members to choose from 42 small icons.And display 6 of them in a row in the postbit.
These icons show which level they have in an online game.. I need 7 categories each with 6 pics in each, and users can pick one pic from each category. All i need to know is what is the easiest way to do this with profile fields... I am using this code to insert it in postbit. Code:
<if condition="$post[field23] != ''"> Gags: <img src="http://www.myforum.pic.gif"align="center"> </if> |
#2
|
|||
|
|||
Ok, set up a new profile field for each one choosing single selection drop down menu as the type each time.
Then use this code to insert each one into the postbit template Code:
<if condition="$post[fieldx]">LABEL <img src="$stylevar[imgdir_misc]/$post[fieldx].gif" alt="$post[fieldx]" /></if> Replace the x with the profile field number generated by vB and upload the images with the names of each selection to the /images/misc directory. If the titles are the same or there are some repeats, then you may wish to use Code:
$stylevar[imgdir_misc]/LABEL/$post[fieldx].gif |
#3
|
||||
|
||||
thanks that worked a treat...
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|