View Full Version : Gender Mod
imported_uber
27 Nov 2003, 16:34
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
27 Nov 2003, 17:17
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
27 Nov 2003, 17:35
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
27 Nov 2003, 17:43
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
27 Nov 2003, 18:25
Lol, yeah I guess having flipflopping, genderbenders may be a bit of a pain. I’ll make that change.
Like to like it. I'll add 2 icons later for this ...
Oblivion Knight
23 Jan 2004, 22:49
This doesn't appear to work in RC3 for whatever reason.. :(
Zachery
23 Jan 2004, 23:02
lookin at the code i dont underrstand how it worked for vB anything
Oblivion Knight
23 Jan 2004, 23:25
Xiphoid released a similar mod, using similar code..
http://www.vbulletintemplates.com/mods/showthread.php?t=4580&highlight=gender
Strange..
Have you tried that one? Looks like this needs updating for RC. Most beta mods need updating to work on Gamma+.
Oblivion Knight
24 Jan 2004, 11:50
Nevermind.. I tried it on the postbit template instead of postbit_buttons and it works fine.. :D
This doesn't work for RC3 why not? Anyone know?
NyCwill
31 Jan 2004, 12:34
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
15 Feb 2004, 11:59
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
15 Feb 2004, 20:52
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..
imported_subu1
15 Feb 2004, 22:04
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
15 Feb 2004, 22:12
ups *g* yeah i see my error Maennlein not Männlein :-)))
*klick install*
greetz subu1
Nice and simple... Thanks for the mod!
Thanks, i'll be using it :)
imported_uber
24 Feb 2004, 16:50
The gamma mod has been replaced with a RC compliant mod.
See first post in this thread for the goodies. :)
imported_chuanse
25 Feb 2004, 02:45
So it's safe to try on RC4 without to much troubles/work?
Yep should work with no troubles :D
imported_chuanse
25 Feb 2004, 03:50
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
25 Feb 2004, 14:22
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?
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
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
25 Feb 2004, 21:00
simple and very nice work men. :)
*click install*
imported_chuanse
26 Feb 2004, 00:22
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?
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
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.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.