Adding a Variable to Required profile

Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/65141?pagenum=1
05 November 2025, 05:22

Topic


BroIgnatius
Adding a Variable to Required profile
08 July 2007, 20:25


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?
<

 

Replies ...


JJenson
08 July 2007, 21:27


You did create those tables in the database correct?<
Etymon
08 July 2007, 21:33


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.<
© 2000-2021 Snitz™ Communications