News:

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

Main Menu

More Genders

Started by 青山 素子, September 21, 2009, 12:35:43 AM

Previous topic - Next topic

青山 素子

Link to Mod

More Genders
by Motoko-chan


About
-----
SMF has supported the selection of your gender since it was released, but only
recognized two genders: male and female.

However, not everyone uses these labels, and with gender reassignment, labels
have become a bit more complex.

This modification allows the selection of more genders. Currently, it supports
transgendered (both ways) and intersexual as additional options. If more are
brought to my attention, they will be added as well.

This mod and other information can be found at:
http://www.animeneko.net/projects/smf/


Features
--------
- Add support for more than two genders.


Known Issues
------------
- The Male/Female ratio stastic will be inaccurate due to the way SMF
  determines the genders for this stastic.


How to Use
----------
Additional genders to select will be avilable in the profile area.


License
-------
This code is licensed under the terms of the Simple Machines License. All
original code is copyright Michael Johnson.
Motoko-chan
Director, Simple Machines

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


Rohan_

hmmmm nice work ... keep going
Proud To Be An Indian

sAce

will this be added in standard releases as well?

青山 素子

Quote from: S-Ace on September 21, 2009, 02:39:49 AM
will this be added in standard releases as well?

To my knowledge, this functionality is not currently planned for a future release.
Motoko-chan
Director, Simple Machines

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


C4G-TK

Great mod, Motoko-chan.  Much respect to you.

-img removed-

TwitchisMental


Sabre™

Interesting mod.
Cheers for the option :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


oistarbwoy

hi there... i think this mod is brilliant i am currently working on a project about sexual awareness that uses smf.

we are using the custom fields option to give people the option to choose thier sexuality and gender identity from the full list of known sexualities and gender identites. (The term gender donates to the way you were born gender identity is the gender you are. so you may want to consider changing the tag gender to gender identity)

this is a full list for you i hope this helps, ive included explanations as well in case you'd actually like to know  what they all mean as well as just make them available.

if you were to add them all i would be very happy to use your mod, its a great idea now all i need is a mod that adds a permanent sexuality feild then i will be a very happy lady. custom fields will have to do for now.

Transsexual.
An individual who has had gender reassignment surgery. A person may feel that they are born into the wrong gender. Modern scientific advances mean that a man trapped in a woman's body could have surgery to correct this gender mis-assignment. Transforming their sexual organs to those they perceive and know in themselves to be correct. Transsexuals live their lives as the gender they are and not the gender they were born into.

Transvestite.
Someone who dresses in the clothes usually worn by the opposite sex. Transvestites may be bisexual, heterosexual, or homosexual their sexuality is not relevent to their gender identity. Transvestites may or may not feel like they are the wrong sex. Primarilly it describes the desire to 'cross dress' and the sexual excitement or gratification they recieve from it.

Transman.
A transman or transguy (often referred to as FTM) is short for transsexual or transgender man - a person who was naturally born or physically assigned as female at birth, but who feels that this is not an accurate or complete description of themselves and consequently identifies as a male. Its advantage over transexual or transgendered is obviously that it gives clear signal as to which gender the person in question was wronly born, in this case female.

Transwoman.
A transwoman or transguy (often referred to as MTF) is short for transsexual or transgender man - a person who was naturally born or physically assigned as male at birth, but who feels that this is not an accurate or complete description of themselves and consequently identifies as a female. Its advantage over transexual or transgendered is obviously that it gives clear signal as to which gender the person in question was wronly born, in this case male.

Drag King.
Drag Queen.
Drag is a term applied to clothing and make-up worn on special occasions for performing or entertaining as a hostess, stage artist or at an event. This is in contrast to those who cross-dress for other reasons or are otherwise transgender. Drag can be theatrical, comedic, or grotesque, and female-identified drag has been considered a caricature of women by second-wave feminism. Within the genre of drag are gender illusionists who do try to pass as another gender. Drag has been regarded as an area where transgender people can find more acceptance and financial support than mainstream work environments. Generally the terms drag queen covers men doing female drag, drag king covers women doing male drag, and faux queen covers women doing female drag.

Bigender.
Bi-gender is a tendency to move between feminine and masculine gender-typed behaviour depending on context, expressing a distinctly female persona and a distinctly male persona. While an androgynous person retains the same gender-typed behaviour across all situations, the bigendered person consciously or unconsciously changes their gender-role behaviour from primarily masculine to primarily feminine, or vice versa.

Two Spirit.
Two-Spirit people are Native Americans who fulfil one of many mixed gender roles found traditionally among many Native Americans. These roles included wearing the clothing and performing the work of both male and female genders. The term "two-spirit" usually implies a masculine spirit and a feminine spirit living in the same body and was coined in 1990 by contemporary gay, lesbian, bisexual, and transgender Native Americans to describe themselves and the traditional roles they are reclaiming.

flatcasttema.com

oistarbwoy

Lol .. very nice Mod

Powerbob

Thanks, great little mod. Looking forward to the update for RC2 8)



My SMF 2.1 Beta test site; http://www.pplb.net/smf21/index.php

MultiformeIngegno

A really nice idea!! Hope to see it included in SMF! ;)
RockCiclopedia (wiki - forum), Tutta la storia del rock, scritta da voi ...
Rimanere aggiornati sul mondo della musica grazie al nuovo feed "RockCiclopedia Music News"!

Xarcell

Interesting mod, I've been looking for something like this.

c-o-d-e

#12
This is just what I needed. I am transgendered myself. I'd be classed as Bigender, however.. in more technical terms, this is called Androgyne.

Does this mod have the transgendered images, EG: Male points upwards, female points downwards. It would be wise, for this mod to create the images for it too.
Transman = Male
Transwoman = Female
FTM = Male
MTF = Female
Bigender/Androgynous = Male & Female
Not sure(Haven't figured out the true identity) = ? (A question mark for confused)

Transexuals, have already had the opperation, there for can go by the gender they wish to choose eg: Male, or Female.
Transvestites, are usually known as there born gender, unless turned to a transexual dressing up as the opposite sex, or transman/transwoman transvestite. Which means.. transvestite doesn't affect any gender they wish the be known as.
Drags, Similar to transvestite, there for the gender isn't changed because of Dragness.
Two-Spirit, Again rather similar to the above two, there for the gender isn't changed because of Two-Spiritness.

Here is a post .. for a mod wanted. This involves similar stuff, and involves orientation.
http://www.simplemachines.org/community/index.php?topic=350781.0

Note:
Motoko-Chan, can I have permission to edit this mod, and see if I can make it.. bit more wider. I'll upload it to you or whatever, and you can take the credits :)

Dream of Omnimaga

wow nice, I am curious if in the future you could have custom genders fields? So people can add whatever gender they want? This shouldn't be that much of a problem for me, though, if I install this, because I will probably just edit the code and change it myself

青山 素子

Quote from: c-o-d-e on November 28, 2009, 09:36:35 PM
Does this mod have the transgendered images, EG: Male points upwards, female points downwards. It would be wise, for this mod to create the images for it too.

There doesn't seem to be universal symbols for transgender status, but I used the one I found most, which is a blue combined symbol (male, female, and both) on top of a downward-pointed rounded pink equilateral triangle.


Quote from: c-o-d-e on November 28, 2009, 09:36:35 PM
Bigender/Androgynous = Male & Female
Not sure(Haven't figured out the true identity) = ? (A question mark for confused)

I would suggest both be blank. This modification is for extending the physical gender, it doesn't enter into the psychological realm, which is a lot more blurred. Androgyny is one of those psychological points.


Quote from: c-o-d-e on November 28, 2009, 09:36:35 PM
Motoko-Chan, can I have permission to edit this mod, and see if I can make it.. bit more wider. I'll upload it to you or whatever, and you can take the credits :)

If you want to extend it for your own use, feel free. Please don't redistribute, however.


Quote from: DJ Omnimaga on December 27, 2009, 11:28:07 PM
wow nice, I am curious if in the future you could have custom genders fields? So people can add whatever gender they want? This shouldn't be that much of a problem for me, though, if I install this, because I will probably just edit the code and change it myself

If you want fill-in-the-blank, I suggest using a custom profile field and not this modification. I simply extend a defined list. Making it a user-filled item would mean replacing the built-in system or changing it significantly, and I simply don't have the time to build something like that when a passable solution exists.
Motoko-chan
Director, Simple Machines

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


paulosf

#15
Hi

I'm new with SMF and I've tried to install this mod but it is not working.

I'm using SMF 1.1.11 Default theme - Core

Anyway, as i've read this mod allows some more genders but what i was looking for was for a mod that allows this genders:
male
female
couple (male-female)
couple (female-female)
couple (male-male)

Is this possible to do?

Thanks

青山 素子

You'll need to provide more details before I can help you. What exactly is not working?

Also, what do you mean by "couple"?
Motoko-chan
Director, Simple Machines

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


paulosf

This is the message that appears:

"The package you tried to upload either is not a valid package or has become corrupted."

Couple is a pair of person.
For example a husband and his wife are an heterosexual couple while two females are a lesbian couple.


青山 素子

Quote from: paulosf on January 27, 2010, 10:17:14 AM
"The package you tried to upload either is not a valid package or has become corrupted."

Hmmm. Might be a problem with PHP on your server. As a last resort, you could try extracting the contents to a folder under the Packages directory.


Quote from: paulosf on January 27, 2010, 10:17:14 AM
Couple is a pair of person.
For example a husband and his wife are an heterosexual couple while two females are a lesbian couple.

This modification is only for individual persons, not groups. There are no group statuses included.
Motoko-chan
Director, Simple Machines

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


paulosf

I'll try that...

Thanks for your attention

Membre


C4G-TK

@Motoko-chan

I was able to install this on RC3.  There is just one change in the code from the Load.php file.

The new code for the 2nd edit of Load.php you are looking for is...
'image' => !empty($profile['gender']) ? '<img class="gender" src="' . $settings['images_url'] . '/' . ($profile['gender'] == 1 ? 'Male' : 'Female') . '.gif" alt="' . $gendertxt . '" border="0" />' : ''

And you replace it with this...
'image' => !empty($profile['gender']) ? '<img class="gender" src="' . $settings['images_url'] . '/' . $genderimg . '" alt="' . $gendertxt . '" border="0" />' : ''

It worked after I made the change.

-img removed-

JungleBunny

Installed it on SMF RC3 and it was all fine :D :D :D

But how can I change for example the "Intersexed" screen into "Couple" ?
Tried all pages with the name "intersexed" into "Couple" but it does not work.

Could you give me a good hint?

Thanks

Regards

青山 素子

Look at the language file edits the modification makes.
Motoko-chan
Director, Simple Machines

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


JungleBunny

Of course I did :D :D

Changed 4 php pages with no effect. As I changed the "Profile-Modify.php" I got a blank screen.
Attached.

Can not rename it so that the name is another than for example intersexed

青山 素子

Did you make sure to clear the file cache? It's under the maintenance area. You also missed an edit in the Modifications.english.php file.
Motoko-chan
Director, Simple Machines

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


JungleBunny

Gottcha, Motoko, that was it !
Emtied the cache and now it is all fine.

Thanks a lot, Dude 8) :D :D :D

KahneFan

#27
paulosf and JungleBunny; attached is a version I revised to include couples; However, note, I changed the original 3 options from what they were to:

Couple M+F
Couple F+F
Couple M+M

I've also included icons which appear on the user's message profile.

Also, I use 2.x, so I have not tested it on 1.x, but I did revise the code so it (should) work.
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

青山 素子

KahneFan, please respect the license this mod is released under and remove the zip from your post. I do not authorize redistribution of modified versions of my modification.
Motoko-chan
Director, Simple Machines

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


KahneFan

Request honored. However, please understand, I did not change any credits within the mod. I simply tried to help provide a helping hand to the requests above, but leaving the full credit to you. I definitely did not intend to step on your toes. I do apologize if I crossed a line.
#eric_on_twit| (video) Creating Themes for SMF | Reset Your Forum
NOTE: No PM's for support please.

Jayne Louise

This mod wont install on SMF 2.0 RC4

Any chance you could update this mod for RC4?

Thanks
~JL

SMF 2.0 RC4
SMF Default Curve Theme
~J:L

青山 素子

As soon as I get time, I'll look into it. Have you tried the emulation box to attempt an install check? It's over at the bottom right of the package list page.
Motoko-chan
Director, Simple Machines

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


C4G-TK

Quote from: 青山 素子 on November 17, 2010, 07:36:40 PM
As soon as I get time, I'll look into it. Have you tried the emulation box to attempt an install check? It's over at the bottom right of the package list page.

For RC4, I emulated RC2 and had the same failed test as in Reply #21 above.  I manually made the fix in the code that I posted and all worked as planned.

-img removed-

青山 素子

Quote from: C4G-TK on December 05, 2010, 02:34:23 PM
For RC4, I emulated RC2 and had the same failed test as in Reply #21 above.  I manually made the fix in the code that I posted and all worked as planned.

Good to know, I've marked the issue and will fix as soon as I can update the package.
Motoko-chan
Director, Simple Machines

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


Katrynya

Motoko,

I run a sexual fetish message-board.  I found this mod while looking to solve a similar problem, "How to allow members to select Lesbian, Bi, and Gay as a gender choice".  I did not want to use custom profile fields.  I'd already seen discussions about custom profile fields in general being difficult to based searches on, or generate statistics from.

Having read this thread, I can see where an alteration of the mod can solve my original problem.  However, I've also come to realize "orientation" is not the only thing I want to do with the gender field.  In addition to the issues of couples identify themselves as couples, and choices to express "gender identity" as well as "gender orientation", there are a number of other issues I am now looking to address.

These include:

* Security
My board is one of many created when our original was hit by trolls earlier this year.
Email/user-name searches to match applicant profiles to their identities elsewhere on the net is one of my security measures.
Eliminate the option of leaving the "gender" field blank upon registration.

* User Privacy
As much as I want to catch "40yr old male plumbers" who falsely claim to be "21yr old female college students" for the purpose of "getting into someones cyber-pants".  I've discovered a number of women claiming to be "male" not because of gender identity, but instead to evade harassment from people who "want to get into someones cyber-pants".
Provide users the option of making some or all of their gender information visible only to admins, moderators, and the system.

* Statistical Analysis
Our community includes people fascinated with how anatomy affects interest in, experience of, and behavior as it relates to out fetish.  Some are also curious if "orientation" (being Lez, Bi, or strait) affects these things.  A number of contradictory, yet established, views have long existed in our community.  Along with those who view such beliefs as stereo-types to be refuted by analysis.  And I can already feel the discussions coming about how "gender identity" might matter.  A few have chosen my board because their actual fetish is studying the psychological and behavioral aspects of other peoples fetishes.  And this week a "silent member" suddenly changed his/her name, threw up a '50s style pin-up avatar, and announce his wife has our fetish and decided conditioning him to adopt it is now part of his training as an "S/O".  (I'm not even sure I understand what an S/O is yet)
Treat gender-anatomy, gender-identity, and gender-orientation as independent data elements

* Simplicity
The majority of my users, are just ordinary strait men and women who don't even know what a "reverse-metro-trans-Bi-S/O-drag-hooker-from-Mars" is; nor would they care.  So it would make sense if applicants could just select their anatomical gender like SMF already lets them do, and have the system default to "strait" and "identifying with their anatomy" unless they specify otherwise.
Retain the option of selecting just male/female to members for whom the other possibilities do not apply.

* Money
Due to the nature of our community, it's difficult for us to establish free boards which provide quality without having to deal with unwanted pop-ups, spam, and smut or being "struck down by the TOS Gods" at any time.  My board is unique in that it avoids these problems at a price; specifically, I pay for it so my members wont have to.
Make these elements usable in demographics I can market to advertisers

So, I'm thinking maybe a mod which replaces the "gender" field with four fields:

* Gender-Anatomy
* Gender-Identity
* Orientation-Anatomy
* Orientation-Identity

Sorta like how some dating sights let you choose "I am", and "I am seeking" as two independent fields.
But just add two more fields for, like "I identify with" and "who identify with".
The choices should be: male, female, m/f couple, m/m couple, f/f couple, all m group, all f group, and mixed-group.

Make it so that if the "I am" is left blank the registration shoots you a warning that it's a required field.
And a check-box at the bottom for "other/complicated", which when selected pops-in a text box for any "Romulan-Lesbian-Nazi-Hookers-from Jupiter" who might be out there.

And let the "I identify with" default to same, and the "I am seeking"/"who identify with"default to opposite.


Motoko, can you do it like that?


~ Katrynya

青山 素子

Katrynya, It's possible. Anything is possible, really. However, what you're looking for is well outside the scope of this tiny little modification and something for which I honestly don't have much time to work on. It looks to be an interesting idea, but I just don't have the time to do anything of the sort; especially at no cost. I haven't even managed to get all my modifications certified with RC4 yet.
Motoko-chan
Director, Simple Machines

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


impreza

cool open modification, probably worth it to have
Portal ToTemat.pl - treści w postaci artykułów i filmów tematycznych.

visualuser

i have SMF 2.0 RC3
but stucks on /Sources/Load.php


what could i do?

青山 素子

Have you tried manually applying the changes? What do the test details show for the changes?
Motoko-chan
Director, Simple Machines

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


visualuser

Quote from: 青山 素子 on February 06, 2011, 07:37:58 PM
Have you tried manually applying the changes? What do the test details show for the changes?


the point is that i have 2.0 RC3,
and the mod seems that doesnt work in thisa version....

青山 素子

Motoko-chan
Director, Simple Machines

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


mattio41

Greetings, any chance anybody know how To install this into SMF 2.0.

All assistance is always appreciated.

C4G-TK

@ 青山 素子

I have this working on my 2.0.2 forum.  I emulated your RC2 package and only had one error.  It was the 2nd edit in Load.php

The code to look for in your package is:

'image' => !empty($profile['gender']) ? '<img src="' . $settings['images_url'] . '/' . ($profile['gender'] == 1 ? 'Male' : 'Female') . '.gif" alt="' . $gendertxt . '" border="0" />' : ''


But, the code should really be:

'image' => !empty($profile['gender']) ? '<img class="gender" src="' . $settings['images_url'] . '/' . ($profile['gender'] == 1 ? 'Male' : 'Female') . '.gif" alt="' . $gendertxt . '" />' : ''



This means the new replace code should be:

'image' => !empty($profile['gender']) ? '<img class="gender" src="' . $settings['images_url'] . '/' . $genderimg . '" alt="' . $gendertxt . '" />' : ''


As far as I can tell, I'm not getting any errors from doing it this way.  Hopefully, this saves you some time in updating the package.  I checked by going back into my profile and changing my gender multiple times while making sure the image in my posts changed.  LOL

-img removed-

C4G-TK

#43
@ 青山 素子

I run a darker themed forum.  Because of that, I cleaned up the edges of your gif images, so that the white didn't show.  I hope you don't mind.  Here you go.



Also, after making this post, I decided to change out all my gender images.  Instead of the symbols, I chose to use color as a way of distinguishing.  I'm aware that some of my choices may seem a bit antiquated.  I used blue for male and pink for female.  Then, I decided to layer my male and female images as 50% to make a purple-like intersexed image.  Finally, I used green for the transgender.  Anyone is more than welcome to use these as I added them to the post, too.


-img removed-

webewitch

QuoteQuote from: paulosf on January 27, 2010, 10:17:14 AM
Couple is a pair of person.
For example a husband and his wife are an heterosexual couple while two females are a lesbian couple.

This modification is only for individual persons, not groups. There are no group statuses included.

I realise there has been a long time since anyone posted on this thread.

On my forum quite a few are couples that share their member name.
I was wondering if in the interim that option had been included.

青山 素子

No, it's not included. When the modification was created, it was just a simple extension of the system, which is geared toward an individual person. You can always adjust the modification to fit your needs, if you wish.
Motoko-chan
Director, Simple Machines

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


Jade Elizabeth

Thanks for this Motoko! :D
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

Jeremy M.

Need this updated for 2.0.11.

Kindred

#48
Installs fine on 2.0.11 -- with only one edit  (if you emulate SMF 2.0 RC2 in the package manager)

Code (find in Load.php) Select

'image' => !empty($profile['gender']) ? '<img src="' . $settings['images_url'] . '/' . ($profile['gender'] == 1 ? 'Male' : 'Female') . '.gif" alt="' . $gendertxt . '" border="0" />' : ''


Code (which actually reads) Select

'image' => !empty($profile['gender']) ? '<img class="gender" src="' . $settings['images_url'] . '/' . ($profile['gender'] == 1 ? 'Male' : 'Female') . '.gif" alt="' . $gendertxt . '" />' : ''


Code (replace with) Select

'image' => !empty($profile['gender']) ? '<img src="' . $settings['images_url'] . '/' . $genderimg . '" alt="' . $gendertxt . '" />' : ''



and, you may have to manually copy the images into your other themes/images directory

the mod should be pretty easily modified to add additional options as well....

ManageMembers.template.php (more <label statements)
Load.php (more case statements)
Profile-Modify.php (more statements in the array)

actually, if I were to re-write this mod, the ManageMembers would use a more generic term for the each one, thus allowing the addition of new options without modifying that code...   However, the list is constructed or used in three places in the code -- therefore edits need to be made in those three places, and the edits are pretty simple.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

WolfJ

I get that this topic is long dead but I wanted to see if anyone had a quick fix for this issue. I modified the code cause I only wanted to add one extra gender when you select this gender it shows in post view but not on the profile itself. It acts like when you don't have any gender set. Is there a way to fix this?

Chewing on Cyanide


Kindred

This was built for 2.0 rc2
That suggests that many of the template edits will fail

Additionally,  it's not needed. Just use a custom profile field instead.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: