News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Sex limitation mod

Started by ***Teh GodFather***, August 03, 2007, 08:54:29 PM

Previous topic - Next topic

elfishtroll

It might be more productive......... but not as much fun! :D

He could probably get where he wants via the SEX ON REGISTRATION MOD  (no, its not as great as it sounds :( ) its just a mod that allows you to specify SEX (male or female) when registering.

he would also incorporate code from the MEMBERGROUP ON REGISTRATION MOD

I believe there is a mod that can make some profile fields mandatory on registration too.

next, he could create two membergroups then have a little script that moves members to the appropriate member group*
He will know which file to write to, by using the code in the MEMBERGROUP mod.

Finally, he can have some code that people can only change their member group if it is BLANK (to prevent people from doing sex changes all day)

radj

sex changes. not to laugh at the idea but it does sound funny if it were real. how would u call that person? amphibious?

back to topic:
yeah, i think the membergroup is a good workaround if not specifying the gender in the profile. but then let's just hope there's no inconsistency where a person with a male gender is in the female membergroup.

elfishtroll

I think it would be "ambidextrous"? :P

you would, I think, still need a membergroup 'cause the SMF doesnt allow you to say "only allow this Profile Field=??? to enter this board"

however, you can do it by membergroup.

so generally, anything you want to do regarding the forums, member groups are the best way to go

青山 素子

Quote from: radj on August 08, 2007, 02:18:54 AM
sex changes. not to laugh at the idea but it does sound funny if it were real. how would u call that person? amphibious?

Hermaphrodite, perhaps, but this is at a tangent to the OP. We can continue this in Chit Chat.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


Reclaimer

Quote from: ***Teh GodFather*** on August 07, 2007, 06:41:45 PM
Quote from: Reclaimer on August 07, 2007, 05:33:45 PM
Ok "godfather" give us one good, proper use for such a mod!
I need it!!! :)
Read posts above, i explained why i need it...

Good use! :)

***Teh GodFather***

I have Gender on registration mod allready installed...
Could anyone explain how to do that with membergroups?
Which files/codes to change/add?

elfishtroll

for the path I would use to implement this, you would need the MEMBERGROUP on REGISTRATION mod as well.


here is the overview.

Members specify their gender on signup
as a result, they are made members of the appropriate member group.

(second mod, profile edits)
every time a profile is edited, this code is run which moves the member to the appropriate membergroup.

at first I thought I would have no need for this, but typing it out, I see it could have special validity/utility  as a "PROFILE FIELD to MEMBERGROUP" type mod.. I'll give it some more thought!



*actually it would be transgender

***Teh GodFather***

OK, inform me when you finish via PM...

Advertisement: