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 |
#102
|
|||
|
|||
It's not showing up on my registration form - does anyone know how I would add it?
Solved my own problem: Styles & Templates > Style Manager > Edit Templates > Registration Templates > register Add: Code:
<div class="blockrow">
<ul class="group">
<li>
<label for="gender">{vb:rawphrase gender}:</label>
<select class="primary" name="userfield[field5]" id="cfield_5" tabindex="1">
<option value="0" selected="selected"></option>
<option value="1">Male</option>
<option value="2">Female</option>
</select>
<input type="hidden" name="userfield[field5_set]" value="1" />
</li>
</ul>
</div>
|
#103
|
||||
|
||||
Quote:
sure thats possible. just search for the point where the vb: if is getting teh info if you have a avatar pic or not. @Mustii: Sprachen und Phrasen -> Phrasen durch suchen -> gender (auf die klein schreibung achten) Dort dann die ?bersetzungen eintragen, da die Variable die du ?bersetzt hast, der feldname im Einstellungskontext ist. |
#104
|
|||
|
|||
Works on 4.1.5 using beiamerica's code. Thanks ^_^
|
#105
|
|||
|
|||
Hello may you could update this to 4.1.8 or something, as it's not working on my forum at the moment.
I'm just getting this at the moment :\ http://screensnapr.com/v/MFj0Rh.png |
#106
|
||||
|
||||
What is your forum URL?
Place on here or PM me if you prefer. |
#107
|
|||
|
|||
I have PM'ed you right now, thank you.
|
#108
|
|||
|
|||
AWESOME mod, works perfectly on my forum now
Welshy is awesome. |
#109
|
|||
|
|||
doesnt work for vb 4.1.8 ? please updated
|
#110
|
||||
|
||||
It does work in 4.1.8 as I am using it in there now. Check my sig to see it for yourself. |
#111
|
|||
|
|||
Just a little tip:
Code:
<!-- Wy Gender in postbit Start --> <vb:if condition="$post['fieldX']"><dd>Gender:<img src="http:// FORUMNAME .com/images/misc/{vb:raw post.fieldX}.gif" /></dd></vb:if> <!-- Wy Gender in postbit End --> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|