![]() |
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 [Note to mods] I have released for 3.0.x and 3.5.x even though it is identical as most people only look at the mods for their version.[/Note to mods] 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. |
Thank You very much!! :D
|
Thanks man. I love it!
|
It would be nicer I think to have it displayed like the age...
Gender: [icon] |
Quote:
(Why dou you think that all the coders are men??? :devious::devious::devious: You, sexists!! :p) |
Oh sorry my bad. I don't know why but she sound like a male. :P
|
Don't worry about it.
Loukrhtia: Just add Gender: before the IMG code. It occurs twice in each postbit. |
Quote:
However I think that you think she sounds like a male because you are used to male coders! petreska keep up! Freedom to female admins and female coders! :p :p :p (j/k) |
Quote:
|
I've added some further instructions to do this.
Zip updated |
Thanks for the update.
|
petreska I cannot follow your way cause its a greek forum and I can't have greek filenames in the ftp!
So I tried adding this in the proper place: HTML Code:
<if condition="$post['field5'] & 1"> What am I doing wrong?? |
Use this instead
Code:
|
no it didn't.
Also the forum makes the <img> tag [img] for some reason and generally screwed up the code I posted above! It's not like that! It's like yours but with 2 more </div> |
If a member has no gender set yet, it asks for /images/misc/.gif and leaves a broken image. any way to fix this so no image is shown?
|
Quote:
Are you supposing this or you actually have this problem? |
well in IE its showing a broken image and calling .gif
|
ok, add another option undisclosed and set that to be the default one.
Then upload this image to the /images/misc folder. I'll update the instructions and zip file too |
Nice one Kerry-Anne. Clicking install. ;)
|
I wasn't going to say anything untill I, just a moment ago looked at your installer for both.. you even use the same wording as me... how awsome of you.
|
Thanks :)
Oooooh! I just noticed the bit that tells me who's installed! |
Quote:
Co-incidence? I've never used anyone elses and just rumbled it up myself earlier. |
Thank you that's fixed it.
|
Quote:
|
Kerry-Anne, shouldn't this:
Quote:
Quote:
|
/me hits self on head
Yeah, your right. Oh well, v1.02 coming up shortly. |
I have a german vb setup and used this to try it but it is not working:
PHP Code:
|
Yep, I tried the same method but it didn't work either :(
|
Now it is working, I don't no why but it does :) thanks for the nice mod
|
Loukrhtia, I've been looking into your problem for the last couple of days and have tried a number of different ways of doing it. However, I am unable to get it to work at all. I am continuing to investigate this and as soon as I have an answer I will let you know.
|
Quote:
|
Is there a way to get the gender image to appear before the username?
|
Yes. Use this code as the replacement instead of what is in the instructions.
Code:
<div id="postmenu_$post[postid]"> |
Quote:
Use this instead of the code in the install instructions. Code:
<if condition="$post[fieldx] == 'Greek for Male'"><img src="$stylevar[imgdir_misc]/male.gif" alt="$post[fieldx]"/></if><if condition="$post[fieldx] == 'Greek for Female'"><img src="$stylevar[imgdir_misc]/female.gif" alt="$post[fieldx]" /></if><if condition="$post[fieldx] =='Greek for undisclosed'"><img src="$stylevar[imgdir_misc]/undisclosed.gif" alt="post[fieldx]" /></if> Update for everyone else, I'm still working on the bells and whistles version. As soon as it is finished I'll send out a memo letting you know. |
Thanks a lot!!!!! :D
|
hrm having an issue for some reason. Can someone point it out? I seem to get "Male" in there, but I want the image not the text.
Postbit Code:
<div id="postmenu_$post[postid]"> Code:
<div id="postmenu_$post[postid]"> |
weeeee I got it....cause of my new style...had to upload the images to it's misc directory.
|
LOL, firefox? thats the only thing i hate about firefox if it cant find the image it uses its Alt.
|
Updated to version 1.03.
Now with non-standard languages support, memberlist images. |
Thanks for the update peterska.
|
All times are GMT. The time now is 04:46 PM. |
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:
|