can sum 11 post this text please

dark_hunter

New Member
This mod will allow you to add a group of icons to your postbit. Before installing the product you will need to do a couple things.

Step 1
Create Profile Fields.
You will need a profile field for each one of these that you intend to use.

Your member's Gender
Blogger.com
Blogmarks.net
Delicious.com
Digg.com
eBay.com
Facebook.com
LinkedIN.com
Myspace.com
Stumbleupon.com
Twitter.com

Version 1.1 Added:

BodyBuilding
CarDomain
Flickr
HotorNot
IMDB
LiveJournal
Xanga
YouTube

If you install version 1.1 the new addins are alphabetical. You must continue to edit if you prefer to use .gifs or change your location(s). Also, please report any errors.

I have organized the folders a little different in this update - and will continue to do so with each update. Also, as I make changes/fulfill requests, I will add.

############

An example of how to create one (such as Gender):
Code:
AdminCP => User Profile Fields => Add New User Profile Field => Single-Selection Menu
Title:							Gender
Description:						Gender of member
Profile Field Category:					Your choice
Options:						Female
							Male
Set Default:						Yes, but No First Blank Option
Display Order:						Your choice
Field Required:						Yes, at registration and profile updating
Field Editable by User:					Only at registration
Private Field:						No
Field Searchable on Member's List:			Your choice
Show on Member's List:					Your choice
Allow user to input their own value for this option:	No
Which page displays this option?			Your choice
Also if you have a Site Supporter usergroup or intend to create one, remember the usergroupid for later.

Write down all your profile field IDs, and don't confuse this with the display order.

Step 2:
Upload icons.
I have created a set that you do not have to use but they are ones I have created and are 17x17 in size. You can use PNGs or GIFs. If you use your own stock images, either rename the image location in Step 3 or rename the image to icon_imagename.png
Upload the images to your images/misc/profile/ folder (if you do not use the supplied images, you must create a folder called profile in the misc directory.

Step 3:
Edit the product.
For every X option replace this with either the usergroupid or the profile field id.

For example:
If your profile field id for your gender is 5, change this:
Code:
<if condition="$post[fieldX]">
	<img src="images/misc/profile/icon_$post[fieldX].png" title="$post[fieldX]">
</if>
to this:
Code:
<if condition="$post[field5]">
	<img src="images/misc/profile/icon_$post[field5].png" title="$post[field5]">
</if>
Note in this instance, there are 3 changes

If you uploaded GIFs instead of PNGs, rename the file extension for each image to .gif
If you want a different order than what is shown in the template section copy each <if...> to </if> to which place you want it. I have each icon listed alphabetically. If you have an issue with moving lines of code up or down, let me know and I will reorder them for you.

When you are satisfied with your arrangement, save and import the product.

If you have any requests for more additions or if you see any issues with the product, let me know.

The male/female and star images are the FAM FAM FAM silk icons used here.

The user's LinkedIN profile (their input) should be something like this:
Code:
0/0/0b
 
Top