vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Mini Mods - Shows country Flag for Users and Guests in, Who is Online (https://vborg.vbsupport.ru/showthread.php?t=276950)

New Joe 01-13-2012 11:00 PM

Shows country Flag for Users and Guests in, Who is Online
 
Shows the country flag next to the user or guest in Who Is Online

Which I originally made it a Template Edit here:
https://vborg.vbsupport.ru/showthrea...24#post2287624
If you have edited your Template with the above and wish to install this one please revert the Template you edited first.

but as many like myself , like the xml Import way better.

What does this product do?
This product will display the country flag of users and guests on Who's Online.

Credits:
A big thank you goes out to Boofo for helping put my Template edit Mod into this xml file Mod.
.................................................. .................................................. .................................................. .................
*Up-Date*
Advanced Version Now available!

There is now a paid advanced version of this mod available with no outside links.

It will show the Country Flags in 6 places:

1) Member List
2) Member Profile
3) Postbit
4) Private Messages
5) Show Groups
6) Who's Online


About the Advanced Version:

This will fetch the flags directly from your site using no outside link.
If you hover over the Flag, it will show you the country name.
There are separate settings available to disable the flags for each area they are shown in, as well as settings for usergroups and userids allowed to view the flags.

NOTE: Monthly updates needed to keep the flags locations current are included.

For all those who are interested in the paid advanced version, please PM Boofo directly and he will take it from there, providing you with and necessary info:

Boofo- https://vborg.vbsupport.ru/member.php?u=9948
.................................................. .................................................. ..................................................

Version Information:
Version 1.0.0 --Initial release for vB 4.X.XX (tested on all vB 4 versions right up to 4.1.10 and works fine)

Installation Instructions:

Go to your Admin CP
Scroll down to 'Plugins & Products'
Click 'Manage Products'
Click 'Add/Import Product'
Click the 'Browse' button, and locate the 'product-country_flag.xml' file on your computer
Click Import

Don't forget to Click Install:up:
No Click No Support;)

New Joe 01-14-2012 01:35 PM

**First Post Reserved**

Please Read:

About this Mod and the Flags:
This gets the flags from here: http://www.hostip.info
If you see a ? flag in Who is Online, this is as this site doesn't know your IP, you can go here:
http://www.hostip.info/use.html

And on the top right you will see:
.
Quote:

.. actually we haven't a clue.
IP found in 0.0003 seconds
Is this wrong? Make a correction
Click on Make a correction, submit your country and city and this will update your flag with them and then you.

Merjawy 01-14-2012 01:39 PM

Got it :) 1st install

Yeah I like to stay away from template edit as much.

Thanks


EDIT: Shows my IP flag for all users now and flags kinda bigger than other mod

New Joe 01-14-2012 01:45 PM

Quote:

Originally Posted by Merjawy (Post 2287651)
Got it :) 1st install

Yeah I like to stay away from template edit as much.

Thanks

That's why I worked with Boofo to make it an xml import Mod.

Glad you like it, it is cool to see and helps to know where you're users or guests are from with the flags

Merjawy 01-14-2012 01:52 PM

Yes I was using another one for vB 3 and loved it, was very helpful

This new one is showing same flag (mine) for everyone though.. I didn't have the problem with the template edit one !!!

New Joe 01-14-2012 01:55 PM

Quote:

Originally Posted by Merjawy (Post 2287651)

EDIT: Shows my IP flag for all users now and flags kinda bigger than other mod

Did you revert the Template from the Edits from the other one?
I'll take a look and also ask Boofo too.

Boofo 01-14-2012 01:57 PM

They didn't revert the template.

Merjawy 01-14-2012 01:59 PM

Yeah I reverted it before import..

Wait,, now its showing different flags (like it should), but some IPs get different flags when they are in same country !!!

I am going to keep an eye on it and see if it clears up a lil

Boofo 01-14-2012 02:00 PM

And the flags should all be the same height, just different widths, which is due to the flag files they are using.

Merjawy 01-14-2012 02:10 PM

It seems to be working ok now!!!

I see two sets of IPs from California but they show none US flag! (got facebook all over them when I checked whois)

Looks good to me.. ship it

Thanks both


All times are GMT. The time now is 03:35 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.03630 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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