vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Gender In Postbit (https://vborg.vbsupport.ru/showthread.php?t=117973)

abo naif 08-09-2007 07:13 PM

Great hack ... thank you :)

neoxi 08-09-2007 08:05 PM

thank you Kerry-Anne

Nowy 08-12-2007 11:42 AM

Hi All!

Kerry-Anne big thanks for the hack.

Anyone now how display gender just after user title in the same line?

Roxie 08-15-2007 02:48 AM

Quote:

Originally Posted by Dotara (Post 1242543)
Hi,

I've installed it but it's not showing up the image for the Gender and the Gender fonts color is black instead of Grey. I want it Grey as my other fonts are Grey like Join Date, Posts, Status.

I've attached an image, please check and hope I'll get solution for it.

Quote:

Originally Posted by pericolosogr (Post 1242992)
Hello,
i have both choices male & female written in greek so i followed all the steps...and in the end i renamed the .gif for both male and female so that they will be matching the filed options...
but the is no image in the gander field?
is there something else i need to change?

Quote:

Originally Posted by Imbellis (Post 1232251)
It?s not working :( ...

I have followed the instruction step by step. There are no male or female gifs displayed, the only change I can see is the text "Male" in my profile.

I?ve changed the postbit template, postbit_legacy template and the memberlist_resultsbit template. The gifs are in the /images/misc archive.

???????

Peter


Make sure your gif files match the option names.

If you give options Male/Female, the gifs should be named Male.gif/Female.gif
If you give options male/female, the gifs should be named male.gif/female.gif

Stefano Virgill 08-16-2007 07:21 AM

Installed!
Works great.
Rated Excellent

Thanks for sharing :up:

Greetings

Steve

Stefano Virgill 08-16-2007 07:55 AM

Hi guys,
I've just made an hack.
in the same way as described in the install instructions I added a new Phrase called computer and text Computer.
Then I've created a field that has exactly the same checks but the options are mac and pc.
Then I've created the icons that I attache to this post.
Finally copy and paste:
Code:

</br>
<if condition="$userinfo[fieldx]"><div class="smallfont">$vbphrase[gender]<img src="$stylevar[imgdir_misc]/$userinfo[fieldx].gif" alt="$userinfo[fieldx]" /></div></if>

in your postbit after the cod of the original mod.

Hope you enjoy it :p

Bye

Steve

Fireproof 08-22-2007 01:29 AM

Funky weird problem.

I "installed" this mod per the instructions and it worked great for me (using IE). Then users reported that they were seeing the wrong postbit information with the wrong posts. In otherwords, the username/avatar would be one person, but the post content would be a different person.

I finally figured out that it was only screwed up when viewing the site through Firefox. IE displayed everything correctly.

I removed the template edit, and refreshed the screen in firefox - and everything was fixed.

Here's my template edit. Any clues?

Code:

<!-- GENDER DISPLAY ----------->
<if condition="$post[field14]"><div class="postdata">$vbphrase[gender]: <img src="$stylevar[imgdir_misc]/$post[field14].gif" alt="$post[field14]" /></div></if>
<!-- /GENDER DISPLAY ------------>


LiftNw8 09-07-2007 12:16 AM

I installed this today, followed all the directions and I am not getting the post bit to display at all in my browser. What could the problem possibly be? I think this was asked by another user of it as well. I have this installed on my talknepa.com forum.

haytham 09-09-2007 04:14 PM

me too. Installed, did the template modifications but no choices come up in the "edit profile"

haytham 09-09-2007 04:42 PM

Quote:

Originally Posted by Kerry-Anne (Post 1060494)
You set the field to not editable by user which is why it is not showing up. Change this to YES and it will appear for editing.

That's where I went wrong. Thanks. All done.


All times are GMT. The time now is 12: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.01244 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
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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