The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
Gender Bit: Show gender symbol next to username in postbits and many other places Details »» | |||||||||||||||||||||||||||
Gender Bit: Show gender symbol next to username in postbits and many other places
Developer Last Online: Jul 2014
My first public mod. Please be kind to me
Description: Gender Bit shows gender symbol next to username in postbits. See "prerequisite" and "Installation guide" below. Features:
Prerequisite: A custom user profile field designated for members' gender must be manually created in user profile field manager. If your forum does not already have one and you have no idea how to create it, please read included README.txt for instructions. Download guide:
Installation guide:
Same as installation, with the only difference is to tick the "Overwrite" checkbox when importing the product xml). Also, you would need to check the options page (Admin CP > vBulletin Options > Gender Bit) for any new settings. Uninstallation guide: To uninstall simply uninstall the product from AdminCP product manager. Optionally delete the images and xml files: /images/misc/gender_*.gif /images/misc/unknown_*.gif /includes/xml/bitfield_genderbit*.xml Changelogs: Version 1.0 - Initial version Version 1.0.1 - Replaced align="absmiddle" with CSS to pass XHTML validation - Extra image sets for male/female with a new option in vB Options to choose which set to use Version 1.0.2 - Fixed php errors in private messages and a few other places - New: Option to show gender symbol in memberlist - New: Gender Bit can now take care of default profile pictures and friends' avatar to show default male/female avatar - New: Exposes a globally-scoped function genderbit_getgender($registry, $userinfo, $unknown='') that returns 'male', 'female' or $unknown. The three parameters are:
- Major revamps. - Added: a lots more places where the gender symbols will appear, with options to turn each one of them on/off in vBulletin Options - Added: the third gender for those who think two genders are not enough. - Changed: Gender Bit will only look for the images in forumdir/images/misc by default unless overridden in vBulletin Options. - Starting from this version, the handling of gender-aware default avatars and profile pictures have been separated into an extension product named "Gender Bit Extension". Gender Bit does NOT require Gender Bit Extension to operate but Gender Bit Extension REQUIRES Gender Bit. Note: Should also work in vB 3.6.x, but I haven't done any testing in that vB version. Troubleshooting (aka why aren't the symbols/images showing?) Step 1: In { AdminCP > vBulletin Options > Gendet Bit } check if you have configured "Field value: Male" and "Field value: Female" to match what your members would choose if they are male or female. If in your forum/language "Shalabadaba" means "male" and "Shubidubidu" means "female", enter Field value: Male = "Shalabadaba" and Field value: Female = "Shubidubidu". Just overwrite the default "Male" and "Female" in the textboxes. Step 2 (version 1.1.0 and above): Still in { AdminCP > vBulletin Options > Gendet Bit }. Try setting Gender symbols image set = "Text/Font" to see if the symbols appear. If it does then you forgot to upload the images into ALL /images/misc folders for ALL STYLES installed in your forum. Step 3: From your showthread pages, find the following part (page navigation): Right-click on the down-pointing arrow and select "Properties" from the popup menu. Check the path to the file, usually in the form of "http://www.yoursite.net/forum/images/misc/menu_open.gif". The bolded part is the path of the misc images folder for your current style. If it says "http://www.yoursite.net/forum/images/yuppie/v4/misc/menu_open.gif" then upload the gender images into forum/images/yuppie/v4/misc/ Show Your Support
|
Comments |
#42
|
||||
|
||||
Thanks a lot for keeping your promise
Will you be kind and add UPGRADE instructions to your MOD? Also, version 1.0.2 worked flawlessly in vb3.8 beta 3. Would you like me to test the new version on beta 4 and post the results here? Quote:
|
#43
|
|||
|
|||
The upgrade procedure is the same as most other mods you found here: upload the files, import the product xml (make sure the "override" checkbox is ticked) and check the new settings. Shouldn't be too hard.
Quote:
p/s: hope the separation between gender symbols portion and default avatars/pics portion does not bother you much. as you would notice if you install both Gender Bit and the Extension products, the number of plugins doubles with both products are installed compared to Gender Bit only. By separating them, those who are not interested with the default avatars will not have to have the unutilized plugins, which do affect performance in the long run. |
#44
|
|||
|
|||
this is such a worthy mod, after switching from IPB to VB, the genders were all gone, so I had to install this mod. thank you OP.
|
#45
|
||||
|
||||
The new version 1.1 and the avatar/profile picture extension also work flawlessly in vb3.8 beta 3 & 4. Also, this is one of the better planned and wisely implemented mods I have ever used. I'm thrilled to have ReCom decided to share is professional experties with the rest of us. |
#46
|
||||
|
||||
I have found a few glitches in vb3.8 (never installed on vb3.7.x):
|
#47
|
|||
|
|||
Quote:
PHP Code:
Quote:
Thanks for testing Gender Bit on vBulletin 3.8 .. I don't think I will be installing 3.8 until at least RC version is out .. |
#48
|
||||
|
||||
Another option for glitch #1 is that it does use the avatar picture but assigns wrong dimentions (even though wrong dimensions would distort the image and not cut it into half). Here is a sample URL in my ADULT site.
As to #2 - logic prevails Logically, the default picture should abide by the same rules of the game as a user-assigned one. I can dream, of course, about a third option where you give us the opportunity to display another picture variation when not allowed to view profile pictures. In my case I will put my site's logo with a diagonal message that encourages the visitor to register. Quote:
|
#49
|
|||
|
|||
Quote:
Quote:
Maybe in next version Gender Bit will display unknown_pic_nopermission.gif to them ... or do you want unknown_pic_nopermission_male.gif and unknown_pic_nopermission_female.gif variations as well? |
#50
|
||||
|
||||
Quote:
So sorry. I would never try to trick you into that. This is why I stated that it is an adult site in bold and red text. Unfortunately, this is the only site yet where I have implemented your mod. But soon enough it will be implemented on the other PG forums. Quote:
enough yet gender-specific images will better follow your script's business logic; the user can always duplicate the same image across the genders. |
#51
|
||||
|
||||
I have a suspicion this doesn't work with the vBExperience mod. Havent been able to make it show anywhere in postbit or elsewhere... Checked all the image paths and settings with no luck so far.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|