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
  #102  
Old 06-12-2006, 11:44 AM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you post the exact code that you have in your postbit legacy template then I can see if I can find anything.
Reply With Quote
  #103  
Old 06-12-2006, 05:43 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK sure here's my postbit_legacy template...

Quote:
<tr valign="top">
<td class="alt1" width="175">
<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername2" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
<if condition="$post[field9]"><img src="$stylevar[imgdir_misc]/$post[field9].gif" alt="$post[field9]" /></if>
</div>

<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
<if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>

<if condition="$show['avatar']">
<div class="smallfont">
&nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
</div>
</if>
Reply With Quote
  #104  
Old 06-12-2006, 07:28 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There's no reason why it should be wrapping with your code. The only thing I can if that might be forcing the wrap is the length of usernames.
Reply With Quote
  #105  
Old 06-14-2006, 05:53 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You think so? So what is the solution to this fix then? I can't just leave it alone.
Reply With Quote
  #106  
Old 06-14-2006, 07:41 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have a look at my 3.6 version. It works on 3.5.4 too and puts it in a different place.
Reply With Quote
  #107  
Old 06-24-2006, 01:34 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for my late respond. It's because I was extremely busy with my personal life, girlfriend and all of that.

So anyway if I install your 3.6 version of this hack, it should solve my issue that I'm having?
Reply With Quote
  #108  
Old 06-24-2006, 06:17 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It should do, just make sure that you uninstall this versions temaplate edit first and set up the template edit for the 3.6 version only. You don't need the profile field as you already have that.
Reply With Quote
  #109  
Old 07-01-2006, 01:55 AM
Zelos's Avatar
Zelos Zelos is offline
 
Join Date: Jun 2006
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I need a little help with this...

I installed the mod, but I'd like it to display differently.
On the left is how it currently displays. On the right is how I'd like it to display. Can you help me with this?

Reply With Quote
  #110  
Old 07-01-2006, 08:55 AM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Find the phrase "$vbphrase[gender]" and remove it. Simple!
Reply With Quote
  #111  
Old 04-09-2007, 06:35 AM
Majest Majest is offline
 
Join Date: Apr 2006
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have just went through the installation of this hack but it doesn't seem to show up on the posts or in the edit profile section in the user cp.

Did I do something wrong or missed something out. I was a little confused with weather to edit the postbit or the postbit_legacy so I did both.

Apart from that I did everything in the install instructions.
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:30 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.04889 seconds
  • Memory Usage 2,307KB
  • 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
  • (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
  • (3)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