Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
GLA - Geographic Location Awareness for vBulletin Details »»
GLA - Geographic Location Awareness for vBulletin
Version: 1.00, by mfyvie mfyvie is offline
Developer Last Online: May 2008 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.6.7 Rating:
Released: 07-06-2007 Last Update: 07-15-2007 Installs: 258
DB Changes Uses Plugins
Additional Files  
No support by the author.

*** Staff note: The author of this modification has passed away in a diving accident. We wish his family all strength in dealing with this traggic issue. ***

GLA - Geographic Location Awareness for vBulletin

What does this do?

GLA adds an additional layer of information into your vBulletin site (visitors' country name). GLA doesn't output anything to the user, or change any display on your forum, it simply adds additional information which is then available to other programs or mods.

But what can I use it for?

There are many applications, but the main idea is that this mod enables other mod writers to very easily add location awareness functions into their own mods. If you were thinking of writing a mod to display a person's registration country in the postbit, it's now very easy to do.

Why should I download and install this?

Unless you are also going to install one of the other mods which requires GLA, there isn't much point. If you are a developer, you might install this to add functionality to your own mods.

How will I update this?

Easy - you can update the database used for matching country names to IP addresses yourself - it's very easy. Full instructions are provided in the install.txt file inside the zip file.

How do I install?

Download the zip file and look for install.txt. But basically it's easy - upload the contents of the upload folder to your forum directory, and import the enclosed .xml file. That's it.

How do I know if it is working?

A test script is provided that will test every aspect of your GLA installation to inform you of any potential problems. Please see the installation instructions for information about this test script.

What about flags?

This includes flags, meaning that other mods won't have to package flags. You can change the flags if you like, instructions are provided.



How about a quick summary of features?
  • Fast - GLA adds almost no overhead. This is important for big sites. Only a single query is executed each time a session is created
  • Transparent - new variables are automatically available to any part of your site
  • Updateable - you can update the database yourself
  • Free - a free database is used
  • Accurate - the database provider claims 98% accuracy
  • Configuration - absolutely nothing to configure for this mod (since it just provides data to other mods)
  • Extendible - GLA may encourage other mod developers to add location features. Why not ask the author of your favourite mod to use GLA? Were you thinking of making a mod which uses location data, but didn't know how? GLA solves the problem for you - now all you need to do is read a variable
  • Easy developer information - hints and tips are provided with the zip file to make life easier for developers
Is there a list of mods that currently use GLA?



Yes, a list will be maintained here. Please let me know if you find a mod which requires GLA that isn't listed, so I can add it. The current list of GLA mods is as follows:Before posting on this thread:

Please post on this thread only for issues relating to GLA itself. If you have an issue that concerns a mod that uses GLA, please post on the appropriate thread for that mod. If you have an issue which concerns the underlying functionality of GLA itself, then post here.

Even though this is a required mod from another mod and may be fairly boring, please click install if you are using it. Support requests from people who have not clicked install may not be answered.

No screen shots for this mod, since there's nothing to see.

Version history
1.0 (07.07.07) Initial version

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #122  
Old 12-07-2008, 01:32 PM
Adam21 Adam21 is offline
 
Join Date: Apr 2005
Location: In The Network!
Posts: 299
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jonnyjonny_uk View Post
I'm having problems with this installation. I've followed all the instructions but when I run the test it's telling me the flag images are not uploaded but they are?

Testing to see if the flag from country "ad" is present: Failed - Flag file not found in /forum/images/misc/flags/

Any ideas please.

Thanks

John
Open your FTP client and make sure again u uploaded the files in that folder to be uploaded accordingly to your forum directories.
Reply With Quote
  #123  
Old 12-07-2008, 02:28 PM
jonnyjonny_uk jonnyjonny_uk is offline
 
Join Date: Nov 2008
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did try again Adam but it kept coming up with the same error. I'm going to pass on trying again for now and give it another go from scratch and see what happens.

Thanks

John
Reply With Quote
  #124  
Old 01-15-2009, 10:24 PM
Rik Brown's Avatar
Rik Brown Rik Brown is offline
 
Join Date: Nov 2005
Location: St. Louis, Missouri, USA
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by K8TEK View Post
This works fine in 3.8.0 Beta 1

I noticed the IP tables haven't been updated in over a year, so I updated them if anybody wants it.

Updated via info obtained from http://software77.net/cgi-bin/ip-country/geo-ip.pl
Thanks for the .zip attachment of the updated .csv database. -- Rik
Reply With Quote
  #125  
Old 01-21-2009, 11:55 AM
Dimoks's Avatar
Dimoks Dimoks is offline
 
Join Date: Mar 2006
Location: Kharkiv, Ukraine
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi
Install mod... http://www.kharkovforum.com/gla_test.php
All ok

Add in template postbit_legacy code
<img src="$stylevar[imgdir_misc]/flags/$session[country_iso2].png" alt="$session[country]" />

All ok but... mod display always my contry flag!
Please help me add in postbit code for user country flag %)
Reply With Quote
  #126  
Old 01-10-2011, 06:39 PM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and working

4.1 PL2

edit: Seems to fail on 4.1.1 beta though
Reply With Quote
  #127  
Old 01-14-2011, 04:10 PM
FortressGamers FortressGamers is offline
 
Join Date: Oct 2010
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by OldSchoolDSL View Post
Installed and working

4.1 PL2

edit: Seems to fail on 4.1.1 beta though
did you install the original one posted in this thread, or an updated?

I am running vB 4.1.0
Reply With Quote
  #128  
Old 04-16-2011, 10:10 PM
RedKilla's Avatar
RedKilla RedKilla is offline
 
Join Date: Oct 2006
Location: Omaha, NE
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed it and this is what happens when i run the test

Testing to see if country column is present in the session table: Failed - country column not present
Tip: The country column is usually added by the installation routine to session table automatically. You may wish to inspect the session table to investigate why this column may not have been added. Perhaps the installation routine did not complete? You may wish to uninstall GLA are reinstall it - checking that the installation routine completes sucessfully.

Number of current sessions updated for GLA: Failed - no sessions using GLA. Maybe wait a few minutes or refresh this page
WARNING - you have critical errors in your installtion. Please re-read the instructions and ensure that you have followed them correctly. If you are sure that you have installed everything correctly, you can visit the support thread for this modification and report which tests have failed if you are unable to resolve the issue yourself.


Not Sure what to do here I am running vBulletin™ Version 4.1.3
Reply With Quote
  #129  
Old 08-01-2013, 06:59 PM
Dan49 Dan49 is offline
 
Join Date: Feb 2012
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The last IP - country database update was done on December 2010 http://ip-to-country.webhosting.info/book/print/5. Does anyone know where to get a more recent compatible database, and how to install it if it's different than the one provided by the coder of this mod'?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:55 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04813 seconds
  • Memory Usage 2,299KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete