![]() |
Show Gender In Postbit
This is nice and easy to install and simply shows a small icon next to the online status indicator to show the gender of the user.
The ZIP contains everything you need. There are two sets of images so you can choose your favorite. I have circled the icons in the screenshot to enable you to see exactly where they are placed. PLEASE NOTE: As mentioned in the instructions, the names of the images are case sensitive and so MUST be named exactly as you have defined them in the profile field. Please click install if you have installed this. Update 1.03: Added Memberlist images. Added instructions for non-standard languages. To upgrade download the upgrade 1.03 zip and follow instructions. Update 1.02: Fixed an error in the code. Update 1.01: Added image for undisclosed and changed instructions slighty to reflect this. To update download the 1.01 upgrade zip. Update: I have added optional instructions to add Gender: before the image Important information regarding support - 20/04/06 Due to time constraints and the amount of things that are being planned for future modifications, priority support will now be provided here. Support provided in this thread will be on an as and when basis. |
anyway to add this under "rep power" on post bit legacy
and say Gender next to it and the the chosen icon |
Sure,
FIND Code:
<if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower]</if>$post[reputationdisplay]</div></if> Code:
<if condition="$post[fieldx]">$vbphrase[gender] <img src="$stylevar[imgdir_misc]/$post[fieldx].gif" alt="$post[fieldx]" /></if> Type: global Varname: gender Text: Gender: Remember to change [fieldx] as applicable for your site. |
doesnt seem to work
see http://www.oh-twadi.com/forum/showth...201#post424201 andhow do i remove from next of the username |
heres code of my template
PHP Code:
|
Sorry, my bad. I didn't close a [ code] tage properly.
Remove the [ code] from your template. (without the space obviously) To remove it from next to the username just revert that first change. Find the Replace with bit and replace it with the Find bit so it goes back to normal. I'd look on your site but apparently I'm banned??? I've never been before in my life so it's a bit of a mystery that. |
when i remove the [code] the gender doesnt show at all
and about been banned i realy dont have a clue |
Can you post a copy of your postbit or postbit legacy template (whichever is appropraite) and details of the field number being used. Also if you could confirm which vB version you are running. I'll test your code on my localhost on the appropraite version and see where the problem lies.
|
field for gender mod is field10
running 3.0.7 postbit legacy PHP Code:
|
Ok, I've checked this on 3.0.7 on localhost and made only two minor changes.
Use this as your postbit_legacy instead Code:
<!-- post #$post[postid] --> |
All times are GMT. The time now is 08:16 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|