Adding a Variable to Required profile - Postet den (1662 Views)
New Member
BroIgnatius
Innlegg: 56
56
I have tried to add a field in the Profile called CHURCH. This is for people to add their Church affiliation. The field I created is a drop down similar to the COUNTRY field.

In the inc.profile and the pop.profile I duplicated the code for COUNTRY and made the appropriate changes. I placed this code just under the OCCUPATION field.
I also changed the CONFIG to include the dim statements and other strings to include the new strChurch and the strREGChurch

In the admin_config_members I successfully added the table cells to add Church and Require Church.
BUT.....
When I do to select ON to the CHURCH option, it will not stay on ON. After clicking on submit I go back and check and the Church option is back to OFF.
I had this problems before but I do not remember how it was fixed.
Help?
<
   
 Sidestørrelse 
Postet den
Advanced Member
JJenson
Innlegg: 2121
2121
You did create those tables in the database correct?<
Postet den
Advanced Member
Etymon
Innlegg: 2396
2396
You need to do two things at least:

1) Add the two new fields to the database via the MOD Setup link in the Admin Section. If you are using the admin_config_members.asp file, then you'll need to add the fields to the FORUM_MEMBERS table and the FORUM_MEMBERS_PENDING table.
2) Click on "Check Installation" in the Admin Section.<
 
Du må legge inn en melding