Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Show Gender In Postbit Details »»
Show Gender In Postbit
Version: 1.03, by peterska2 peterska2 is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 10-01-2005 Last Update: 10-18-2005 Installs: 112
Template Edits
 
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 12-10-2005, 09:00 PM
tippen's Avatar
tippen tippen is offline
 
Join Date: May 2004
Location: Ottawa, Canada
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mastar
does anyone have anymore male and female gifs animated if possible?
I am looking for this two. Anything antialiased. :nervous:
Reply With Quote
  #53  
Old 12-10-2005, 10:33 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll see what I can find for you and get back to you. it'll probably be monday though due to a busy weekend
Reply With Quote
  #54  
Old 12-11-2005, 09:37 AM
harry1951 harry1951 is offline
 
Join Date: May 2005
Location: Alkmaar (Cheesetown)
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Small problem (I think) I installed this when it just came out. After installing your christmas-style it was gone. So I try to reinstall this but I get little red X and I'm sure that the pictures are in pictures/misc. Can it be that it's expecting the pictures somewhere in the xmas folder? I installed the christmas-style as a childstyle.
Reply With Quote
  #55  
Old 12-11-2005, 11:58 AM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thats exactly what it is doing. If you upload the gender images to /xmas/misc as well then it will work correctly.
Reply With Quote
  #56  
Old 12-12-2005, 08:47 AM
Kuimera Kuimera is offline
 
Join Date: Aug 2005
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok... I know that this is only for postbit, but is there a way to show this in the user profile too?
Reply With Quote
  #57  
Old 12-12-2005, 08:50 AM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm just on my way out the door but I'll take a look when I get back. It should be straightforward enough.
Reply With Quote
  #58  
Old 12-12-2005, 09:30 AM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kuimera
Ok... I know that this is only for postbit, but is there a way to show this in the user profile too?
If you did it correctly it should display in the profile as well but not as an icon
Reply With Quote
  #59  
Old 12-12-2005, 10:30 AM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, in template MEMBERINFO

FIND

Code:
<if condition="$userinfo['usertitle']"><div class="smallfont">$userinfo[usertitle]</div></if>
ADD BELOW

Code:
<div class="smallfont">$vbphrase[gender]&nbsp;<img src="$stylevar[imgdir_misc]/$post[fieldx].gif" alt="$post[fieldx]" /></div>
Don't forget to replace the x with the field number on your site. This shows under the usertitle as seen on the profile pages at www.peterska2.co.uk
Reply With Quote
  #60  
Old 12-12-2005, 10:17 PM
Kuimera Kuimera is offline
 
Join Date: Aug 2005
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tks a lot peterska2!
If latter you need some graphics done or something, just ask

take care.
Reply With Quote
  #61  
Old 01-04-2006, 03:39 AM
Devil Woman Devil Woman is offline
 
Join Date: Jul 2005
Location: England
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having a problem with this, all going in all showing up just in the wrong place its showing up right next to the username rather than below it, can anyone help

Thanks
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:42 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04724 seconds
  • Memory Usage 2,303KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete