vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=97386

Show Gender In Postbit
by peterska2
02 Oct 2005 17:50

4 Attachment(s)
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.

LittleBoy1 02 Oct 2005 18:53

Thank You very much!! :D

Snake 02 Oct 2005 19:24

Thanks man. I love it!

Lea Verou 02 Oct 2005 19:40

It would be nicer I think to have it displayed like the age...
Gender: [icon]

Lea Verou 02 Oct 2005 19:42

Quote:

Originally Posted by Snake
Thanks man. I love it!

She is not a man!!! :p

(Why dou you think that all the coders are men??? :devious::devious::devious: You, sexists!! :p)

Snake 02 Oct 2005 19:48

Oh sorry my bad. I don't know why but she sound like a male. :P

peterska2 02 Oct 2005 19:50

Don't worry about it.

Loukrhtia: Just add Gender:  before the IMG code. It occurs twice in each postbit.

Lea Verou 02 Oct 2005 19:51

Quote:

Originally Posted by Snake
Oh sorry my bad. I don't know why but she sound like a male. :P

I don't think she'll be pleased to read this :p :p

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)

Lea Verou 02 Oct 2005 19:53

Quote:

Originally Posted by peterska2
Don't worry about it.

Loukrhtia: Just add Gender:  before the IMG code. It occurs twice in each postbit.

It was a suggestion not a personal request. I prefer to do it on my own so that I learn something more :) I did it on my own in vb 3.0.7 so I don't think it will be more difficult :)

peterska2 02 Oct 2005 19:59

I've added some further instructions to do this.

Zip updated

Snake 02 Oct 2005 20:43

Thanks for the update.

Lea Verou 02 Oct 2005 20:48

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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

but nothing happens... I followed these instructions... I know they are for 3.0.x but as I have seen the postbit hasn't changed that much so they should work...

What am I doing wrong??

peterska2 02 Oct 2005 20:52

Use this instead

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That should work

Lea Verou 02 Oct 2005 20:57

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>

thedvs 02 Oct 2005 21:19

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?


All times are GMT. The time now is 20:29.

Powered by vBulletin® Version 3.8.13
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.