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)

smirkley 08-18-2013 03:44 AM

Quote:

Originally Posted by Amaury25 (Post 2438080)
Can we have the texts Male or Female instead of the gender symbols?

I just use the plain text option in the ACP myself.

Bubble #5 08-26-2013 04:02 AM

Classic mod. Well done and well written :up:

4.2.1

How do we get the image to appear NEXT to the word 'gender' instead of below it?

friendlymela 09-10-2013 06:16 AM

How do i add gender in posbit without image?

CoZmicShReddeR 09-19-2013 12:07 AM

Quote:

Originally Posted by friendlymela (Post 2444573)
How do i add gender in posbit without image?

Original Code
Code:

<!-- Wy Gender in postbit Start -->
<vb:if condition="$post['fieldX']"> <dt>Gender:</dt> <dd><img src="http://WWW.YOUR FORUM
ADDRESS.COM/images/misc/{vb:raw post.fieldX}.gif" alt="" /></dd></vb:if>
<!-- Wy Gender in postbit End -->


I think just like this??
Code:

<!-- Wy Gender in postbit Start -->
<vb:if condition="$post['fieldX']"> <dt>Gender: {vb:raw post.fieldX}</dt></vb:if>
<!-- Wy Gender in postbit End -->


CoZmicShReddeR 09-19-2013 12:12 AM

Quote:

Originally Posted by Bubble #5 (Post 2441162)
Classic mod. Well done and well written :up:

4.2.1

How do we get the image to appear NEXT to the word 'gender' instead of below it?

Original Code
Code:

<!-- Wy Gender in postbit Start -->
<vb:if condition="$post['fieldX']"> <dt>Gender:</dt> <dd><img src="http://WWW.YOUR FORUM
ADDRESS.COM/images/misc/{vb:raw post.fieldX}.gif" alt="" /></dd></vb:if>
<!-- Wy Gender in postbit End -->


Maybe try??
Code:

<!-- Wy Gender in postbit Start -->
<vb:if condition="$post['fieldX']"> <dt>Gender:<img src="http://WWW.YOUR FORUM
ADDRESS.COM/images/misc/{vb:raw post.fieldX}.gif" alt="" /></dt></vb:if>
<!-- Wy Gender in postbit End -->


ckgb 01-08-2014 01:48 PM

VB 4.2.2

I was wondering if anybody knows how to unite online/offline status with gender icon.

Explanation.

Right now we have three images indicating online/offline status https://vborg.vbsupport.ru/images/cs...er_offline.gif https://vborg.vbsupport.ru/images/cs...ser_online.gif and a hidden one.

And let us say we have a female online icon for gender https://vborg.vbsupport.ru/external/2014/01/47.png. So when she is offline it changes to something like this https://vborg.vbsupport.ru/external/2014/01/48.png.

When a user is hidden it displays a third icon. I.e. https://vborg.vbsupport.ru/external/2014/01/49.png

Basically that is the question. How to make gender mod work like online/offline/hidden?

ndut 01-11-2014 07:12 PM

is this mod can be use in vbull 5.05?

ozzy47 01-11-2014 07:21 PM

No, you can not use vB4 mods in vB5 as I stated earlier.

ndut 01-11-2014 07:26 PM

i c,...
may be, you can tell me how to do mod like this in vb 5.05, ozzy?
thank you in advance

ozzy47 01-11-2014 07:38 PM

I have not dove into vB5 yet, I don't like it as it is now, not enough hooks like vB4 had.


All times are GMT. The time now is 01:59 AM.

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.01293 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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