View Full Version : Gender Mod
imported_uber
11-26-2003, 10:00 PM
UPDATED to work with VB3 RC.
Added instructions for using the mod in both the postbit and postbit_legacy and given a few examples of using it in different locations within the postbit.
Please see attached zip file for instructions on using this mod
Zachery
11-27-2003, 03:17 PM
please always attach instructions as a text file :) altho nice but doesnt do that much
and i could think of a few ways to improve it also
imported_uber
11-27-2003, 03:35 PM
and i could think of a few ways to improve it also
How so? I'm open to new ideas, I'm not entirely crazy about the images male.gif & female.gif but I didn't spend much time creating them and will update them soon.
I?ve added text instructions to the zip file.
Thanks for your feedback.
Zachery
11-27-2003, 03:43 PM
How so? I'm open to new ideas, I'm not entirely crazy about the images male.gif & female.gif but I didn't spend much time creating them and will update them soon.
I?ve added text instructions to the zip file.
Thanks for your feedback.
well for one id use an if condtioin to only alow this filed to be editable on registar. or if they dont choose one. this way we cant have our trolls confucsing us and such :)
imported_uber
11-27-2003, 04:25 PM
Lol, yeah I guess having flipflopping, genderbenders may be a bit of a pain. Ill make that change.
gmarik
12-10-2003, 11:04 AM
Like to like it. I'll add 2 icons later for this ...
Oblivion Knight
01-23-2004, 08:49 PM
This doesn't appear to work in RC3 for whatever reason.. :(
Zachery
01-23-2004, 09:02 PM
lookin at the code i dont underrstand how it worked for vB anything
Oblivion Knight
01-23-2004, 09:25 PM
Xiphoid released a similar mod, using similar code..
http://www.vbulletintemplates.com/mods/showthread.php?t=4580&highlight=gender
Strange..
Tony G
01-23-2004, 10:20 PM
Have you tried that one? Looks like this needs updating for RC. Most beta mods need updating to work on Gamma+.
Oblivion Knight
01-24-2004, 09:50 AM
Nevermind.. I tried it on the postbit template instead of postbit_buttons and it works fine.. :D
L-Mane
01-25-2004, 12:30 AM
This doesn't work for RC3 why not? Anyone know?
NyCwill
01-31-2004, 10:34 AM
Its works, are you using the legacy postbit or the new one, you would have apply the condition to the legacy postbit if you are using legacy,
Make sure you change $post[fieldname] to your field number
IE "$post[field6]"
imported_subu1
02-15-2004, 09:59 AM
Hey Friends, thxx for this Mod :-)))))
but the Mod work not correctly with me:confused:
ok from the Front
i am going in my admincp and make me a new User Profile Field *Geschlechter* tihis is Gender in Germany.
After this i go in the postbit_legacy Template and setting the Code so
<if condition="$post[field6]">
<img src="images/misc/$post[Geschlechter].gif" border="0" alt="$post[field6]" /></if>
ok i see femal and male link in my Postbit but not a gif, but the gifs iare on my Webspace.
if I on characteristics go see I only board/images/misc/.gif
Wher is my error???
thank you and sorry for my bad english
Oblivion Knight
02-15-2004, 06:52 PM
<i>subu1</i>, change this:
<img src="images/misc/$post[Geschlechter].gif"
to this:
<img src="images/misc/$post[field6].gif"
Please note, this is only the case if the field number of Gender IS 6, if you've added nothing else it's likely to be 5..
imported_subu1
02-15-2004, 08:04 PM
subu1, change this:
<img src="images/misc/$post[Geschlechter].gif"
to this:
<img src="images/misc/$post[field6].gif"
Please note, this is only the case if the field number of Gender IS 6, if you've added nothing else it's likely to be 5..
yeah now i see the Weiblein.gif, but not the M?nnlein.gif, although all two GIF on the Web space are with the correct name.
imported_subu1
02-15-2004, 08:12 PM
ups *g* yeah i see my error Maennlein not Männlein :-)))
*klick install*
greetz subu1
Nice and simple... Thanks for the mod!
MrNase
02-24-2004, 11:07 AM
Thanks, i'll be using it :)
imported_uber
02-24-2004, 02:50 PM
The gamma mod has been replaced with a RC compliant mod.
See first post in this thread for the goodies. :)
imported_chuanse
02-25-2004, 12:45 AM
So it's safe to try on RC4 without to much troubles/work?
Yep should work with no troubles :D
imported_chuanse
02-25-2004, 01:50 AM
http://forums.puredj.com/images/misc/nothin'%20:p.gif => this is the image it loads :/
example here: http://forums.puredj.com/showthread.php?goto=lastpost&t=2224
what can i do? :(
imported_uber
02-25-2004, 12:22 PM
Hi Chaunse
I looked and your images are in the right place, and it appears you?ve named the fields properly.
http://forums.puredj.com/images/misc/female.gif
http://forums.puredj.com/images/misc/male.gif
Did you paste in this line of code exactly as I posted it?
<if condition="$post[field5]"><img class="inlineimg" src="images/misc/$post[field5].gif" border="0" alt="$post[field5]" /></if>
Because of the %20, I?m suspecting that there is a space or something weird going on with this line src="images/misc/$post[field5].gif. If you still cannot get this to work, can you post your postbit template and I?ll try to see if I can fix your problem.
imported_Death Angel
02-25-2004, 07:00 PM
simple and very nice work men. :)
*click install*
imported_chuanse
02-25-2004, 10:22 PM
Hi Chaunse
I looked and your images are in the right place, and it appears you?ve named the fields properly.
http://forums.puredj.com/images/misc/female.gif
http://forums.puredj.com/images/misc/male.gif
Did you paste in this line of code exactly as I posted it?
<if condition="$post[field5]"><img class="inlineimg" src="images/misc/$post[field5].gif" border="0" alt="$post[field5]" /></if>
Because of the %20, I?m suspecting that there is a space or something weird going on with this line src="images/misc/$post[field5].gif. If you still cannot get this to work, can you post your postbit template and I?ll try to see if I can fix your problem.
Yeah, I did :)
and now i found the error. i had made all field [field19] except for the src="images/misc/$post[field5].gif". Changed it to 19, all works fine now :D
do you have any mod if i want to change the color id for male in blue, for example.. and pink for female??
thanks
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.