PDA

View Full Version : Denying access to a certain are based on something like gender


SiriusBlack22
07-24-2006, 01:09 PM
How would I do that? I am trying to make girls/boys bathrooms and stuff. I was hoping for there to be a way to make it so that only boys can get into the boys bathrooms and vice vera. It would be nice if this could be done to a thread, but I can do it for a forum, too.

Kaitlyn2004
07-24-2006, 03:03 PM
Miss technical says

There are NO regulations between guys and girls bathrooms. Find me ANY law that prohibits ANYONE from entering EITHER bathroom and I'll pay you $100 :) haha

SiriusBlack22
07-24-2006, 04:38 PM
What?

I just want it so that girls cant go into the guys bathrooms and stuff...is that illegal?

amykhar
07-24-2006, 04:39 PM
I think she is talking about real life not on the forums. Just create two secondary usergroups. One male. One female. Deny access to everybody except the males for your male areas and the females for your female areas.

SiriusBlack22
07-24-2006, 11:40 PM
Hmmm, not a bad idea! Thanks!

Is that possible to deny people for threads? Or would I have to make a forum?

amykhar
07-25-2006, 10:21 AM
It would be easier at a forum level. But, you could do it at the thread level if you adapted a thread prefix mod.

SiriusBlack22
07-25-2006, 08:11 PM
how would I do that? :lol:

Thug
08-23-2006, 12:57 PM
I think she is talking about real life not on the forums. Just create two secondary usergroups. One male. One female. Deny access to everybody except the males for your male areas and the females for your female areas.
but then how do u seperate females and males into there groups if you have a large members base wud take ages or is there a way

amykhar
08-23-2006, 01:18 PM
You could write a quick script to query the gender field and then put the user in the appropriate groups. Run the script once. If it's primary groups and not secondary groups, a simple query would work.

Thug
08-23-2006, 01:19 PM
i have no clue how to code sorry :)

adwade
08-25-2006, 04:27 PM
i have no clue how to code sorry :)

Me neither! I'm already in w-a-y above my head in just getting vB up & running, but the gods must be smiling since I did it.

Anyway my question, I setup a mandatory custom personal profile question when new users first logon to select Male or Female and entitled it gender.

Not being a coder, I hoped in time to figure out how to use this field to possibly setup a Ladies Room Only for our female users.

Will that be possible, or did I just waste my time/efforts in doing so?

Thug
08-26-2006, 07:48 PM
anyone help us on this
thanx