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)
-   -   Forum Display Enhancements - Country Display for Who's Online (https://vborg.vbsupport.ru/showthread.php?t=151600)

jderouen 07-07-2007 09:07 PM

Just clicked install! :)

If at some point I wanted to update the database of countries from the IP-to-Country website, how would I do that? I mean, I know I'd need to download the file from that website, but what do I do after that?

Thanks!
Joe

mfyvie 07-07-2007 09:09 PM

Quote:

Originally Posted by jderouen (Post 1285345)
Just clicked install! :)

If at some point I wanted to update the database of countries from the IP-to-Country website, how would I do that? I mean, I know I'd need to download the file from that website, but what do I do after that?

That question pertain to GLA itself rather than this mod. But the answer is easy - read the instructions for GLA and that exact question is addressed.

Ahsin1 07-07-2007 09:18 PM

i got this massege when i click on import

vBulletin Message

The following dependencies were not met:
The product geo_location_awareness must be installed before this product may be installed. (Compatible starting with 1.0)

tanyeri24 07-07-2007 09:20 PM

monster mysql injection for nothing, badly. sorry but *uninstall* cause doesn't work for me.
good job anyway and enjoy.

jderouen 07-07-2007 09:22 PM

Well, I assume you haven't installed Geo Location Awareness. As it says in the description, you have to install that mod in order for this mod to work.

Quote:

Originally Posted by Ahsin1 (Post 1285356)
i got this massege when i click on import

vBulletin Message

The following dependencies were not met:
The product geo_location_awareness must be installed before this product may be installed. (Compatible starting with 1.0)


mfyvie 07-07-2007 09:27 PM

Quote:

Originally Posted by tanyeri24 (Post 1285357)
monster mysql injection for nothing, badly. sorry but *uninstall* cause doesn't work for me.
good job anyway and enjoy.

Disappointing. I offered to support you in your native language, but you never sent me a PM. Your loss.

Quote:

Originally Posted by Ahsin1 (Post 1285356)
i got this massege when i click on import

vBulletin Message

The following dependencies were not met:
The product geo_location_awareness must be installed before this product may be installed. (Compatible starting with 1.0)

As the saying goes my friend, those who can read have an advantage. You should try it.

mfyvie 07-07-2007 10:43 PM

Here's a copy of something I just edited into post #2:

Quote:

Please note that this mod will not work if you are running vBulletin prior to 3.6.6, because these versions do not have the online_query hook.

The minimum version listed is 3.6.7 anyway, but just to make this absolutely clear, please don't ask for support or complain if this doesn't work and you are on an older version.

Other mods which use GLA may have different compatibility requirements, but the Who's Online mod will not work prior to 3.6.6.
Thanks to Xil Ze for letting me know about the lack of a hook in previous versions.

JD45 07-07-2007 10:50 PM

I'm not getting anything to display for some reason. Here's what I've done:
  • Installed GLA
  • Installed this hack
  • uploaded the hacks contents
  • ran both installers and made sure they were actually installed
  • turned on the options in the admincp

I'm running 3.6.7 PL1 so it should be compatible.

Did I overlook something?

mfyvie 07-07-2007 11:01 PM

JD45 - sounds about right, except the step in the middle (upload) should be first. If the import file isn't there when you install GLA, there won't be any data for the location database. But it will warn you about this.

There is always a possibility that you have a customised template and that the replacement isn't working, but other steps to verify are:

Does your database have a table called ip2country, and is this table populated with data? (This means GLA is installed)
Look at your session table (in the database) - there should be three extra columns on it for country information. They should be populated, at least partially (unless you installed in only a few seconds before checking).

Manually hack in $session[country] somewhere into one of your templates. If GLA is running, this will show YOUR country when you load the page (then remove it again). Best way is to confirm via the session table. If the data is being written to the session table, then you should at least get it in $session[country]

mktrilogy 07-07-2007 11:51 PM

can this be integrated to postbit? that would be really cool


All times are GMT. The time now is 01:08 AM.

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.01178 seconds
  • Memory Usage 1,741KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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