vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Profile Enhancements - Gender Bit: Show gender symbol next to username in postbits and many other places (https://vborg.vbsupport.ru/showthread.php?t=196749)

ReCom 02-26-2009 05:10 AM

Execute the following SQL assuming your vBulletin table prefix is vb_:

UPDATE `vb_userfield` SET `field5` = 'Female' WHERE `field5` = 'Unspecified'

Change `field5` to the id of the gender user profile field in your forum and 'Female' and 'Unspecified' to appropriate values.

singabaloo 02-26-2009 05:58 AM

Quote:

Originally Posted by ReCom (Post 1754921)
Execute the following SQL assuming your vBulletin table prefix is vb_:

UPDATE `vb_userfield` SET `field5` = 'Female' WHERE `field5` = 'Unspecified'

Change `field5` to the id of the gender user profile field in your forum and 'Female' and 'Unspecified' to appropriate values.

Thanks

thepowerofnow 04-15-2009 04:20 PM

does this work on vb 3.82 ??

yotsume 08-05-2009 06:12 AM

INSTALLED and works great once I figured out I had to input the field as field# and not just #. That part is not so clear in the description.

Gersfan 08-06-2009 08:57 PM

Installed on 3.8.3!

Has anyone got this working on 3.8, I can't get it too work, great mod aswell but something doens't seem to be right!

Thanks!

Gersfan 08-09-2009 01:50 PM

Got it working now!

Just curious but maybe would it be possible for you to provide me with some help regarding this please?
https://vborg.vbsupport.ru/showthread.php?t=218498

Thanks!

RedHacker 08-26-2009 10:10 AM

Image for unknown gender....?

Mr. W 08-26-2009 06:24 PM

This seems to work on 3.8.4.

alfex68 10-07-2009 11:48 AM

Hello This is a great mod that works really well. Thanks. I've installed this on my local test forum but before i can roll it out into production I need an answer to a question.

In regards to the genderbit extension that shows default male/female images when a user hasn't uploaded an image...

In short I need to be able to specify a different image src url for my memberinfo template.

The template I am using requres a larger profiile image than the image used for the avatar.

I tried to mod the genderbit templates by adding "_lg" to the gif thats being called but the hack overwrites the request (or ignores it at the template level)

Standard:
src="$vboptions[genderbit_imgdir]/gender_{$gender}{$vboptions[genderbit_imgset]}.gif"

What I tried:
src="$vboptions[genderbit_imgdir]/gender_{$gender}{$vboptions[genderbit_imgset]}_lg.gif"

When i put the larger image in the images/misc directory...no good

So i need to have for example a male/female image of say 240x240 on the profile page and maybe a 100x100 on the memberlist , and perhaps a 60x60 ijn the member comments.

I know this is an older hack but hey...the last post was from someone reporting running successfully on 3.8.x

thanks

alfex68 10-07-2009 12:01 PM

ok after i wrote my last comment i thought to myself, something is superceding the template...so i looked in the plugins xml bitfield...and it looks liker if i modify the xml it should work....i'll try to modify it there...if you don't hear from me...it worked! lol


All times are GMT. The time now is 10:51 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
  • Page Generation 0.01115 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete