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 Details »» | |||||||||||||||||||||||||||||||||||||||||||
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 |
#12
|
||||
|
||||
Quote:
Code: 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 -->
How's that? With regard to the position, Your layout looks different to the vB standard layout. It is a matter of moving the code around to suit. |
#13
|
||||
|
||||
Quote:
That is coorrect. And when your members go and edit their profile, they will have to update their Gender Bit. You could start a thread on your forum explaining about the new feature and that you would like everyone to update their profiles. It's a pitty that there wasn't a mod that you could have that forces everyone to update their profiles. (would be great for times like this). And if they don't update their profiles when prompted, they will not be able to view the forums. Good Idea or 'overboard'? YOu decide |
#14
|
||||
|
||||
thx for u.. installed
|
#15
|
||||
|
||||
Thanks! INstalled!
|
#17
|
||||
|
||||
I put the gender symbol in that empty space between userinfo and userstats.
Find in postbit: HTML Code:
<vb:if condition="$post['userid']"> <div class="userinfo_extra"> and add the following above: HTML Code:
<div style="float:left; font-size:24px;"> <vb:if condition="$post['fieldx'] == 'Male'"> ♂ <vb:elseif condition="$post['fieldx'] == 'Female'" /> ♀ </vb:if> </div> I test specifically for male/Female as I give my members a third option: "None of your business". |
#18
|
||||
|
||||
Quote:
Can you click "Installed" please? |
#19
|
||||
|
||||
Sorry, but I've been doing this myself for years
|
#20
|
||||
|
||||
Not on this version you haven't. I redone the code and released it - exactly the same as the other guys before me on differing versions.
But - maybe you should have released it? Anyway, This time last year (And still am on a lot of mods etc) grateful for what people have done, when I am unable to do them myself. And that is what it is all about. I bid you a good day. |
#21
|
|||
|
|||
Can i have icon for Mature...?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|