How to link Extra fields in Profile to pull information from user table in database

Register an Account
Pligg Chat Room
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-12-2007, 01:59 AM
New Pligger
 
Join Date: Apr 2007
Posts: 6
FYI ... everything viewed in Mollio template

1. I created an additional module which extends the profile information:
Field A
Field B
Field C

The module successfully installs and the 3 new fields show in the profile page. I am able to enter information into the fields and upon re-login, the information shows successfully.

2. I then extended the registration page to show the same 3 extra fields. These fields update the same table and fields as in the new module. Data entered into these 3 fields are successfully updated in the database.

3. Now I would like the profile page to show the values entered at registration (and stored in the database) when I login however it is blank. This is because I have not set the default value for the profile to pull from the database like the other fields.

I have looked at the user.php and profile.php. It seems in order to display everything properly it uses the mollio-beat/profile_centre.tpl which calls the /modules/user_extra_fields/templates/profile_centre_fields.tpl. This latter tpl seems to be used for entering information.

I am not sure how it shows these values again when I login and have it pull from the database.....

Any help would be greatly appreciated.
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 8 01-04-2010 07:06 PM
How to remove "javascript" and link directly to user profile xmlham Questions and Comments 3 05-17-2008 12:46 PM
Documenting, Diagramming, and Critiquing the Pligg Database MicroBerto Questions and Comments 4 03-31-2007 04:46 PM
Custom user profile fields revolver Questions and Comments 2 12-05-2006 09:52 PM
How can I add new fields to user profile gragland Questions and Comments 0 07-18-2006 12: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