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)

Welshy2008 12-27-2009 08:48 AM

Quote:

Originally Posted by Taurus1 (Post 1939096)
Thanks for this. You might just want to mention in your instructions to also change the URL to your forums. Then also, why is the image below the text, as shown here??

Attachment 108273


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 -->

  • Replace the TWO Green ‘X’s with the field number in Step One (1).
  • Replace the Red Text with YOUR forum address.


How's that? :)


With regard to the position, Your layout looks different to the vB standard layout. It is a matter of moving the code around to suit.

Welshy2008 12-27-2009 08:54 AM

Quote:

Originally Posted by stuky4ever (Post 1939062)
How can I update everyones Gender?

Quote:

Originally Posted by Charlie98902 (Post 1939067)
Could set in in the setting to be mandatory. Then they have to.



That is coorrect. And when your members go and edit their profile, they will have to update their Gender Bit.

You could start a thread on your forum explaining about the new feature and that you would like everyone to update their profiles.

It's a pitty that there wasn't a mod that you could have that forces everyone to update their profiles. (would be great for times like this). And if they don't update their profiles when prompted, they will not be able to view the forums. Good Idea or 'overboard'? YOu decide

:D

Hasanudin 12-27-2009 11:51 AM

thx for u.. installed :)

milsirhc 12-27-2009 12:23 PM

Thanks! INstalled!

Dr.osamA 12-27-2009 12:40 PM

i have it 4 dyes ago

thanxxxx

installed
________
Vapir No2

SpankMe 01-04-2010 08:43 PM

I put the gender symbol in that empty space between userinfo and userstats.

Find in postbit:
HTML Code:

<vb:if condition="$post['userid']">
<div class="userinfo_extra">


and add the following above:
HTML Code:

<div style="float:left; font-size:24px;">
<vb:if condition="$post['fieldx'] == 'Male'">

<vb:elseif condition="$post['fieldx'] == 'Female'" />

</vb:if>
</div>


I test specifically for male/Female as I give my members a third option: "None of your business".

Welshy2008 01-05-2010 10:15 AM

Quote:

Originally Posted by SpankMe (Post 1947225)
I put the gender symbol in that empty space between userinfo and userstats.

Find in postbit:
HTML Code:

<vb:if condition="$post['userid']">
<div class="userinfo_extra">


and add the following above:
HTML Code:

<div style="float:left; font-size:24px;">
<vb:if condition="$post['fieldx'] == 'Male'">

<vb:elseif condition="$post['fieldx'] == 'Female'" />

</vb:if>
</div>


I test specifically for male/Female as I give my members a third option: "None of your business".


Can you click "Installed" please?

SpankMe 01-05-2010 05:51 PM

Quote:

Originally Posted by Welshy2008 (Post 1947719)
Can you click "Installed" please?

Sorry, but I've been doing this myself for years :)

Welshy2008 01-06-2010 07:51 AM

Quote:

Originally Posted by SpankMe (Post 1948066)
Sorry, but I've been doing this myself for years :)

Not on this version you haven't. ;) I redone the code and released it - exactly the same as the other guys before me on differing versions. :)

But - maybe you should have released it?

Anyway, This time last year (And still am on a lot of mods etc) grateful for what people have done, when I am unable to do them myself. :D


And that is what it is all about.


I bid you a good day. :)

RedHacker 01-14-2010 09:45 PM

Can i have icon for Mature...?


All times are GMT. The time now is 05:05 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.01155 seconds
  • Memory Usage 1,750KB
  • 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
  • (4)bbcode_html_printable
  • (6)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