vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Country flag hack? (https://vborg.vbsupport.ru/showthread.php?t=60538)

T3MEDIA 01-23-2005 07:27 PM

Ok I see now what it does. How can I put this flag in areas such as private messages???

SilverBoy 02-18-2005 12:17 PM

I think the flag hack for vb2.x best than this, coz in vb2 it was modification in database, an altering php files, so u can more control the flags and translate them to any langauge instead of the names of flags files.

coRtALoS 04-08-2005 04:55 AM

1 Attachment(s)
I'd like to share a small modification I've made to this hack which I've found my members really enjoy.

This addon will allow members to display their US State, or Canadian Provincial flags ONLY if they have the United States or Canada selected as their Country.

In addition, if they pick a country that is part of the European Union, it will automatically display the EU flag next to it as well.

I've attached an installer and all necissary files to get it working with the Country hack.

It's a very small addon, and only took me about 5 mins (tops) to get to work once the Country Flag hack was installed.

If you require any technical assistance with this hack, as I am posting this thread on both vBulletin.org, and vBulletinTemplates.com, I will provide technical support for this addon only on my own forums located here:
http://www.battleforums.com/forumdisplay.php?f=288

I also welcome anyone PMing me on my forums as I check my PM box more often than my cellphone voicemail. Please do not PM me here however, as I am not nearly as active on this account.

Enjoy!

~coRtALoS
BattleForums.com, StarCraftForums.com, WarCraftForums.com, DiabloForums.com, and BattleNetwork.com Administrator

~~~Edit~~~

Updated .zip and .txt file to include Quebec Province. :p

~~~2nd Edit~~~

Added European%20Union.gif to .zip

T3MEDIA 04-08-2005 12:06 PM

cool

Limey-YMR 04-18-2005 03:10 AM

Quote:

Originally Posted by coRtALoS
~~~Edit~~~

Updated .zip and .txt file to include Quebec Province. :p

Looks like a great addition - installing now, the EU flag does not appear to be in the installer, though.

This may be a dumb question, but do these extra template conditionals cause much extra server load?

T3MEDIA 04-18-2005 11:18 AM

Not a dumb question at all. It will (to be honest) but so low you will NEVER know. In other words dont worry about it.

coRtALoS 04-18-2005 04:01 PM

1 Attachment(s)
Thanks T3. If you also want to see a working copy of it, just go to any thread on my site http://www.battleforums.com/index.php?. Pretty much every normal poster there is using it now.

I updated the .zip with the EU flag, but I'll attach it in here for ya Limey for convenience purposes.;)

You want to put this in your /images/misc/flags/ folder.

Rickie3 06-12-2005 10:30 AM

thankyou worked a treat

Snake 06-12-2005 12:45 PM

1 Attachment(s)
Thanks guys for the hack instructions. :) I'm pretty sure you'll like my smilies below. Only 2 screenshots are available. Enjoy!

mamboking 06-21-2005 02:24 PM

I am hoping that one of you wonderful coders will develop a hack that would display the country flag .gif in the user's profield instead of the flag text name.


All times are GMT. The time now is 10:47 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.01097 seconds
  • Memory Usage 1,735KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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