PDA

View Full Version : Mandatory


MrLister
04-14-2001, 06:56 PM
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
04-14-2001, 08:41 PM
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
04-14-2001, 10:09 PM
such as location

Cygnus
04-15-2001, 04:28 AM
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
08-03-2001, 09:46 PM
MrLister.. have ya figured this out.. by chance?