Custom Profile Fields

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 07-28-2007, 04:33 AM
New Pligger
 
Join Date: Jul 2007
Posts: 16
I'm looking to add the ability to add custom profile fields as well as the ability to add a profile picture.

After searching the forum I did not find a satisfactory solution to my problem. This was the only post I found but that hasn't been updated since 2006. I also checked the Wiki, and I did find this, but I'm not sure if this is what I'm looking for. Does that apply to the profile fields or does that apply when submitting a new story?

Thanks.
Reply With Quote
  #2 (permalink)  
Old 07-28-2007, 04:54 AM
dollars5's Avatar
Pligg Donor
 
Join Date: Dec 2006
Location: India
Posts: 1,960
The module profile_extra field is already available with 9.x versions, check for the modules in your admin panel. Also a good example how to use this module is the revenue_sharing module - it adds a field to profile allowing user to allow them enter their google adsense id and channel settings.

Unfortunately for the features you are looking for you will have to code them yourself by referring to the above mentioned modules.

A simple trick for profile image - if you wish you can make users use avatar as their profile pictures - but many sites have both avatar and profile picture separate.
Reply With Quote
  #3 (permalink)  
Old 07-28-2007, 05:16 AM
New Pligger
 
Join Date: Jul 2007
Posts: 16
I understood most of what you said. I did find the module and I clicked "install" and now the link does not appear on the module page. I'm not sure how it installed it or what it did.

The first step is just to get custom profile fields (I'll worry about the profile picture after I get the custom profile fields issue resolved), but I'm confused as to your wording. The first bit of your post made it seems as if the function is already built in, I just have to install it. The second part of your post implies that I have to hand code it myself. Could you please clarify a bit? Thanks.
Reply With Quote
  #4 (permalink)  
Old 07-28-2007, 07:16 AM
dollars5's Avatar
Pligg Donor
 
Join Date: Dec 2006
Location: India
Posts: 1,960
1] There is a profile_extra fields module
2] In order to use it for your needs you will have to code as per your needs. (A simple example of where it is used is revenue_sharing module - which you can refer as reference)

Hope this explains things.
Reply With Quote
  #5 (permalink)  
Old 07-28-2007, 06:09 PM
New Pligger
 
Join Date: Jul 2007
Posts: 16
Thanks for the explanation. I found everything that I was looking for, however I'm still confused as to how to setup the extra profile fields. I took a look at the show_ads.tpl template file and I'm rather confused as to how this applies to setting up extra fields. Any further advice on how to achieve this?

It seems a bit complicated and it almost seems as if I could just add the fields I need manually into the database and add the form elements manually and then just alter the submit query when it submits.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fixes to Profile Extra Fields Module v0.2 and Extended Profile Module v0.1 redwine Questions and Comments 11 12-20-2010 04:18 PM
Displaying Custom Profile Field Data? gen3ric Questions and Comments 1 10-25-2007 12:15 PM
How to link Extra fields in Profile to pull information from user table in database pliggnewbie Questions and Comments 0 04-12-2007 02:59 AM
Custom user profile fields revolver Questions and Comments 2 12-05-2006 10:52 PM
How can I add new fields to user profile gragland Questions and Comments 0 07-18-2006 01:03 AM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development