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
  #112  
Old 07-23-2008, 12:28 PM
OG-G's Avatar
OG-G OG-G is offline
 
Join Date: Apr 2008
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there a gender mod for 3.72
Reply With Quote
  #113  
Old 09-29-2008, 03:34 AM
dude14 dude14 is offline
 
Join Date: Jan 2008
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am looking for this but one that is compatible with 3.7.x ? Hopefully you can provide an upgrade, thanks.
Reply With Quote
  #114  
Old 12-20-2008, 11:13 PM
Medtech's Avatar
Medtech Medtech is offline
 
Join Date: Oct 2007
Posts: 310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

on 3.7.4, i edit the postbit and postbit_legacy i get a message that tells me i am missing <if>.

I have no problem inserting it, but where? here is the code i am inserting into the postbit template:

Code:
<div id="postmenu_$post[postid]">
					<if condition="$show['profile']">
					<a class="bigusername" 

href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
					$post[onlinestatus]<if 

condition="$post[field5]">$vbphrase[gender]&nbsp<img 

src="$stylevar[imgdir_misc]/$post[field5].gif" alt="$post[field5]" /></if>
					<script type="text/javascript"> 

vbmenu_register("postmenu_$post[postid]", true); </script>
					<else />
					$post[musername]<if 

condition="$post[field5]">$vbphrase[gender]&nbsp<img 

src="$stylevar[imgdir_misc]/$post[field5].gif" alt="$post[field5]" /></if>
					</if>
				</div>
and the postbit_legacy template:

Code:
			<div id="postmenu_$post[postid]">
				<if condition="$show['profile']">
				<a class="bigusername" 

href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a><if 

condition="$post[field5]">$vbphrase[gender]&nbsp<img 

src="$stylevar[imgdir_misc]/$post[field5].gif" alt="$post[fieldx]" /></if>
				<script type="text/javascript"> 

vbmenu_register("postmenu_$post[postid]", true); </script>
				<else />
				$post[musername]<if 

condition="$post[field5]">$vbphrase[gender]&nbsp<img 

src="$stylevar[imgdir_misc]/$post[field5].gif" alt="$post[field5]" /></if>
				</if>
			</div>
anyone wanna help me out on this?
Reply With Quote
  #115  
Old 01-08-2009, 10:09 PM
Sworm Sworm is offline
 
Join Date: Feb 2008
Posts: 422
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,
why this code:
Quote:
<if condition="$post[field6]">$vbphrase[gender]: <img src="$stylevar[imgdir_misc]/$post[field6].gif" alt="$post[field6]" /></if>
won't work on vb 3.8 on a orizontal postbit?

Thanks for any help
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 06:49 PM.


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.05397 seconds
  • Memory Usage 2,249KB
  • Queries Executed 19 (?)
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
  • (1)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
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)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