The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||||||||||||||||||||
Gender in Postbit or Postbit Legacy - vB 4.0.x Inc GOLD
![]() Developer Last Online: Mar 2013 ![]() ![]()
What is this?
This is a little Mod & Template edit that adds a 'Gender' for you Members to choose and displays their 'Gender and a nice little icon' in their Postbit. Instructions in the "READ ME" file (pdf) , pictures and SCREENSHOTS are all included in the Attached file ' Gender in Postbit'. Complete this in 4 Steps:- STEP ONE; Create a New Profile Field: AdminCP -> User Profile Fields -> Add New User Profile Field -> And do the following:
Add New User Profile field: Single-Selection Menu
STEP 2; Add a Phrase: AdminCP -> Languages & Phrases -> Phrase Manager -> Add New Phrase (Center button on the bottom):
STEP 3; Postbit or Postbit_Legacy Template (whichever one you use): AdminCP -> Styles and Templates -> Style Manager -> (style that you use ? Mine is ?Default Style?) -> << >> -> Postbit Templates -> Postbit (or Postbit _legacy, depending on which one YOU use) FIND: Code:
<vb:if condition="$post['joindate']"><dt>{vb:rawphrase join_date}</dt>: <dd>{vb:raw post.joindate}</dd></vb:if><br /> Code:
<!-- Wy Gender in postbit Start --> <vb:if condition="$post['fieldX']"> <dt>Gender:</dt> <dd><img src="http://WWW.YOUR FORUM ADDRESS.COM/images/misc/{vb:raw post.fieldX}.gif" alt="" /></dd></vb:if> <!-- Wy Gender in postbit End --> vBulletin 4.1.0 (tested by beiamerica. Please note that I have not tested this myself. Code:
<!-- Wy Gender in postbit Start --> <vb:if condition="$post['fieldX']"><dt>{vb:rawphrase gender}</dt> <dd><img src="{vb:stylevar imgdir_misc}/{vb:raw post.fieldX}.gif" alt="{vb:raw post.fieldX}" /></dd></vb:if> <!-- Wy Gender in postbit End -->
To view it in your profile: Edit your Profile and choose your ?Gender?. Please Click the Install and Rate the Mod ? Many Thanks. Edited on Wednesday 7th July 2010. Reason: Two more Screenshots added and made the "Single-Selection Menu" Bold. Download Now
Screenshots
Show Your Support
|
Comments |
#32
|
||||
|
||||
![]()
I like this hack but wont be able to keep it on my forum unless we can solve the two column problem. Any help would be greatly appreciated. Thanks
|
#33
|
|||
|
|||
![]()
edited
working now |
#34
|
||||
|
||||
![]() Quote:
Can you post the code on here please? Please also include some code before and after it. Could you also confirm which version you are using? Many Thanks, Welshy. |
#35
|
|||
|
|||
![]()
Installed and it works, just one thing. Under the username it says "gender". I want to change this into dutch, but it doesn't seem to work. I translated all "gender" prases that i could find in "phrase manager" but it still remains "gender" What should i do?
Gender = "geslacht" in dutch. |
#36
|
||||
|
||||
![]() Quote:
Here you go: Code:
<!-- Wy Gender in postbit Start --> <vb:if condition="$post['fieldX']"> <dt>Geslacht:</dt> <dd><img src="http://WWW.YOUR FORUMADDRESS.COM/images/misc/{vb:raw post.fieldX}.gif" alt="" /></dd></vb:if> <!-- Wy Gender in postbit End --> Replace the Red Text with YOUR forum address. |
#37
|
|||
|
|||
![]()
Thank you, but it's a bilingual forum. So i need it in different languages. Am using Dutch and Turkish, sorry i wasn't too clear about this.. That's why i wanted to use phrase manager per se...
In step 2 i had to add a phrase, so i thought i could change it via the phrase manager.. Dutch: Geslacht Turkish: Cinsiyet marked as installed though |
#38
|
||||
|
||||
![]()
What about getting rid of the "Gender:" and Just having a flag show on your Postbit or Postbit_Legacy?
|
#39
|
||||
|
||||
![]()
I installed this earlier on my vb4 forum but now I would like to install it on my vbulletin 3.8.4 forum, how can I make this work?
Can you or anyone change the following code to work with 3.8.4 and tell me where to paste? thanks Code:
<!-- Wy Gender in postbit Start --> <vb:if condition="$post['fieldX']"> <dt>Gender:</dt> <dd><img src="http://WWW.YOUR FORUM ADDRESS.COM/images/misc/{vb:raw post.fieldX}.gif" alt="" /></dd></vb:if> <!-- Wy Gender in postbit End --> |
#40
|
|||
|
|||
![]()
Nice..
|
#41
|
||||
|
||||
![]() Quote:
Please click "Installed" if you would like support. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|