vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - Country Flags - Postbit & Postbit_Legacy. vB 4.0.x (Inc GO (https://vborg.vbsupport.ru/showthread.php?t=229511)

sinikuk 02-25-2010 05:37 AM

Hi, I have it working but want it to show in lastpost next to the users name aswell.

https://vborg.vbsupport.ru/attachmen...7&d=1266876210

pushpullbar 03-03-2010 12:48 AM

Thanks for posting this. I wanted to reinstate the flags since upgrading to vb4

Here is a little trick on how you can make it so when you hover the cursor over the flag, you actually get the name of the country.

PHP Code:

<!-- Wy Country Flags Start -->
<
vb:if condition="$post['fieldX']"> <dt>Country</dt> <img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.field6}.GIF" alt="{vb:raw post.fieldX}" border="" /></vb:if>
<!-- 
Wy Flags End --> 

make sure of course you change the X to the correct field number.

It's a great way to learn country flags.

Welshy2008 03-03-2010 10:53 AM

Quote:

Originally Posted by pushpullbar (Post 1995684)
Thanks for posting this. I wanted to reinstate the flags since upgrading to vb4

Here is a little trick on how you can make it so when you hover the cursor over the flag, you actually get the name of the country.

PHP Code:

<!-- Wy Country Flags Start -->
<
vb:if condition="$post['fieldX']"> <dt>Country</dt> <img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.field6}.GIF" alt="{vb:raw post.fieldX}" border="" /></vb:if>
<!-- 
Wy Flags End --> 

make sure of course you change the X to the correct field number.

It's a great way to learn country flags.


Thank You very much for that Mate - you have saved me doing it. I have been meaning to do it for a while, but never got around to it.

sinikuk 03-03-2010 06:51 PM

But I guess you don't know how to get the flag to display in lastpost?

princeedward 03-03-2010 08:02 PM

nice...HERE IS MY WAY!

vbbforfree 03-05-2010 03:43 AM

You did not enter the correct format for the Country Flag field. Please read the field description for the expected format.
How ???

Welshy2008 03-05-2010 08:00 AM

Quote:

Originally Posted by vbbforfree (Post 1997477)
You did not enter the correct format for the Country Flag field. Please read the field description for the expected format.
How ???

Who are you replying too?

Extra PC 03-05-2010 04:01 PM

thanks installed


http://www.extra-pc.com/vb/showthread.php?t=2594

TheHardest 03-05-2010 05:57 PM

All the flags are looking weird on my forums. :-/

https://vborg.vbsupport.ru/

archet1337 03-09-2010 03:01 AM

This mod works perfectly in postbit, but I would like to know if it's possible to show the actual flag in the memberlist and not just the text?


All times are GMT. The time now is 06:32 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.01574 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
  • (2)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
  • (2)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