vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Profile Enhancements - Flags - Country and Region (https://vborg.vbsupport.ru/showthread.php?t=155223)

rolandogomez 12-20-2008 10:41 PM

Would love to add these in the member's profile page, anyone know the code for us non-coders? Thanks, rg.

ChicagoCoin 02-25-2009 03:51 AM

Quote:

Originally Posted by Digital Jedi (Post 1687005)
Just add alt="$post[fieldXX]" into the IMG tag.

Thank You, I just added that and it's much better, you don't have to be a flag expert anymore and I'm learning different countries flags without looking at profiles.:up:

eric8476 11-10-2009 10:17 PM

I have 3.7.3 and I installed like the instructions said and its not working.

eric8476 11-10-2009 11:50 PM

got it, needed to post the code in postbit

MRGTB 11-14-2009 03:08 AM

So people can hover their mouse over the flag and see the country ALT text title. Use this below. I've also added closing "backslash" too for img tag

Code:

<div>
<if condition="$post[fieldX]"><img src="images/flags/$post[fieldX].gif" alt="$post[fieldX]" /></if>
</div>


gnagplank6 11-15-2009 03:04 AM

Is there any way I can get two nationality flags???? Instead of one country and one region???

I installed the country mod only but would love to have two countries.

Wonderful Mod!!!!

THANK YOU DIGITAL JEDI!!!!

Very easy and I made the common error of installing in postbit legacy when I am running postbit.

Installed perfectly in 3.8+

andie215 11-21-2009 11:19 AM

Quote:

Originally Posted by MRGTB (Post 1913892)
So people can hover their mouse over the flag and see the country ALT text title. Use this below. I've also added closing "backslash" too for img tag

Code:

<div>
<if condition="$post[fieldX]"><img src="images/flags/$post[fieldX].gif" alt="$post[fieldX]" /></if>
</div>



Thx for the mod and the alt bit :) works fine in 3.8.3 but wouldnt work until i added the code in postbit ...

MagicThemeParks 04-21-2010 10:28 AM

Works great for 3.8.5 and thanks to DJ for the "alt" instructions in this post and the updated list and flags in this post :up:

Digital Jedi 04-22-2010 03:36 AM

Quote:

Originally Posted by MagicThemeParks (Post 2024840)
Works great for 3.8.5 and thanks to DJ for the "alt" instructions in this post and the updated list and flags in this post :up:

I've been meaning to release this in a separate thread. I added a few things since, like regional flags for Ireland. I don't think Carpe would mind too much, considering he hasn't been online since 2007, and it's not really a major code thing. I think it's even one of the tutorials on vB.com.

MagicThemeParks 04-22-2010 10:37 AM

DJ, I wouldn't think that Carpe would mind at this point.

By the way, the updated Irish flags were included in the zip file already, right? I didn't want to be missing any flags :)


All times are GMT. The time now is 12:30 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.01415 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
  • (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