vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Mini Mods - Gender in Postbit or Postbit Legacy - vB 4.0.x Inc GOLD (https://vborg.vbsupport.ru/showthread.php?t=231260)

ranafarooq 10-06-2010 09:57 AM

I have replace the code

PHP Code:

<!-- Wy Gender in postbit Start -->
<
vb:if condition="$post['field5']"> <dt>Gender</dt> <dd><img src="http://www.hibuddiez.com/forums/images/misc/{vb:raw post.field5}.gif" alt="" /></dd></vb:if>
<!-- 
Wy Gender in postbit End --><br /> 

and I can acess the bits at


PHP Code:

http://www.hibuddiez.com/forums/images/misc/male.gif 

and

PHP Code:

http://www.hibuddiez.com/forums/images/misc/female.gif 

but the problem is still there i can see only

Gender:


and no picture at all :-(

Eduardo Leon 10-09-2010 04:40 PM

dont work for me :S

i have vb 4.0.7 and dont appear in my postbit

Welshy2008 10-09-2010 07:58 PM

Quote:

Originally Posted by Leothefox (Post 2108463)
dont work for me :S

i have vb 4.0.7 and dont appear in my postbit




You are using postbit_legacy Not postbit.

nkumaran 10-13-2010 02:05 PM

Quote:

Originally Posted by Welshy2008 (Post 2108503)
You are using postbit_legacy Not postbit.

Not working.

phoelapyae 12-02-2010 01:40 PM

I tried many times, but not show in post.
Only Show in profile.

http://img263.imageshack.us/img263/1594/28040115.png

It's version 4.0.8.

rughis 12-02-2010 02:24 PM

I'am not able to find the text that I should change in postbit template :(

But how can I understand which template (postbit or postbit_legacy) I'm using?

EDIT:

I've found the answer:

"If you would like to run your board using the old-style postbit template, you can do so by going to vBulletin Options > Style & Language Settings and switching the Use Legacy (Vertical) Postbit Template? setting to Yes."

But I'm still not able to found the text in postbit legacy template :(

EDIT 2:

According to me, there is an error in pdf file, because the text that I had to change was different (for a : sign). Should be very useful to correct the pdf file attached!

However now the mod is working fine!

Thank you so much!!!

beiamerica 12-07-2010 11:03 PM

Here is an updated version that works in 4.1.0

Code:

<vb:if condition="$post['field5']"><dt>{vb:rawphrase gender}</dt> <dd><img src="{vb:stylevar imgdir_misc}/{vb:raw post.field5}.gif" alt="{vb:raw post.field5}" /></dd></vb:if>

LbR 12-08-2010 08:56 AM

Wonderful :) Installed it on my forum love it

JAFRI 12-18-2010 05:47 AM

@ Welshy2008

good mod & i use this, but i want show only text : Male & Female , not show image any solution ????

Mustiii 12-18-2010 08:29 AM

How can i translate the word gender in different languages?

I tried this and nothing changed. Do i need to change something in the template?

https://vborg.vbsupport.ru/external/2010/12/36.png


All times are GMT. The time now is 02:43 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.01156 seconds
  • Memory Usage 1,744KB
  • 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_code_printable
  • (3)bbcode_php_printable
  • (2)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