Friday, August 30, 2013

Clickable Custom Profile Fields On IP.Board

Clickable Custom Profile Fields On IP.Board. Apologies if this has already been posted but I couldn't find it after searching the forums.

This tutorial will show you how to add extra contact fields to members profiles and make them clickable links.

This mod will take the user's username and add it on the end of the url you specify so it will work for almost any site that uses that format.
Example:
User adds "SomeName" to the field, the mod will turn it into "http://www.someplace.com/SomeName"

Compatibility :-

These were all added during IPB 3.1.2 and still work perfectly in IPB 3.4.4


Uploads :

First off lets upload all the icons we will need!


  • Right-click and save the icons above, using the same file name. (you may also use your own but still keep the same file name)
  • Open up your FTP program
  • Navigate to to publicstyle_extracprofile_icons
  • Upload the images you saved to this folder.
  • ]Thats the easy bit done
-----------------------------------------------------------------------------

Adding The Custom Fields


  • Login to your ACP and select the Members Tab
  • Select the Custom Profile Fields link
  • Click the Add Field icon
  • Use the information below to add the custom profile field. Leave everything else not listed blank/set to No.
  • After you have entered the information below click Add Field.
  • Facebook


  • Field Title: Facebook
  • Description: Enter just your Facebook name here
  • Field Type: Text Input
  • Profile Group: Contact Methods
  • Profile Icon: public/style_extra/cprofile_icons/profile_facebook.gif
  • Field Key: facebook
  • Maximum Input: 0
  • Display Order: 0
  • Field can be edited by the member?: Yes
  • Twitter


  • Field Title: Twitter
  • Description: Enter just your Twitter username here
  • Field Type: Text Input
  • Profile Group: Contact Methods
  • Profile Icon: public/style_extra/cprofile_icons/profile_twitter.gif
  • Field Key: twitter
  • Maximum Input: 0
  • Display Order: 0
  • Field can be edited by the member?: Yes
  • YouTube


  • Field Title: YouTube
  • Description: Enter just your YouTube username here
  • Field Type: Text Input
  • Profile Group: Contact Methods
  • Profile Icon: public/style_extra/cprofile_icons/profile_youtube.png
  • Field Key: youtube
  • Maximum Input: 0
  • Display Order: 0
  • Field can be edited by the member?: Yes
  • Steam


  • Field Title: Steam
  • Description: Enter just your Steam username here
  • Field Type: Text Input
  • Profile Group: Contact Methods
  • Profile Icon: public/style_extra/cprofile_icons/profile_steam.png
  • Field Key: steam
  • Maximum Input: 0
  • Display Order: 0
  • Field can be edited by the member?: Yes


Now you have setup the profile Fields just the skin edits left to do.

Skin Edits


  1. Login to your ACP and navigate to the Look & Feel tab
  2. Select the skin you want.
  3. Under the Templates tab select Profiles
  4. Select "customFieldGroup_contact"

 
*IMPORTANT* Take a copy of the info in the template and save it in notepad in case of problems.

Find :-
{$f->parsed}

Replace with :

{$f->parsed} {$f->parsed} {$f->parsed} {$f->parsed} {$f->parsed}



And thats all the skin edits that are required. Remember to do this for each skin you use on your forum.



thumbnail Title: Clickable Custom Profile Fields On IP.Board
Posted by:Stuard Van
Published :2013-08-30T10:00:00-07:00
Rating: 5
Reviewer: 5 Reviews
Clickable Custom Profile Fields On IP.Board
Share :
Related articles:

1 comment :

  1. It doesn't work. Followed all the instructions, replaced the code, and it doesn't work.

    ReplyDelete