PDA

View Full Version : Mandatory


MrLister
14 Apr 2001, 19:56
I don't think this is a hack suggestion but i want to make some more things mandatory when people come to sign up on the board.

Cygnus
14 Apr 2001, 21:41
Originally posted by mrlister
I don't think this is a hack suggestion but i want to make some more things mandatory when people come to sign up on the board.

Such as? I just made it mandatory for my members to remain visible when on the boards. What did you need help with?

Cygnus

MrLister
14 Apr 2001, 23:09
such as location

Cygnus
15 Apr 2001, 05:28
Originally posted by mrlister
such as location

As in... whether they are invisible or not?

If that is the case, there are a few simple steps to follow:

In the template(s) registeradult & registercoppa (if you use it):

Below the FORM tag (anywhere, really as long as it is below the form tag) put the following:

<input type="hidden" name="invisible" value="no">

Then, go comment out the row which gives them the option to choose 'yes' or 'no'.

Follow the same step in the template: modifyprofile

Now... to change the values on people who have already registered, I did mine by hand by searching the database with queries and editing the fields. Of course.... I only had a few members (100 or so) to edit so it wasn't a big deal. If you have more, you may want to go ask for an easy way to do this in the MySQL forum.

Edit to add: Upon reading your post again, now I believe that you are asking how to make it so that the location field is a required field to fill out. Since this is in the Biography textarea, I am not sure that I could help you easily.

Hopefully, you wanted the invisible thing.... :)

Thanks,
Cygnus

BradC
03 Aug 2001, 22:46
MrLister.. have ya figured this out.. by chance?