vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Digital Point User Map (https://vborg.vbsupport.ru/showthread.php?t=244236)

cherylferraro 06-22-2012 12:16 AM

This mod looks great, but for some reason it's not working on my setup. I'm trying to figure out what I've done wrong...

url: *

GeoIP install is verified, it's showing up in php.info. I'm not seeing any errors. The page loads but the map isn't displaying.

I've probably bungled something, but I can't figure out what... thank you in advance for pointing me in the right direction.

digitalpoint 06-22-2012 03:24 PM

Is the GeoIP database installed?

cherylferraro 06-22-2012 03:50 PM

Yes.

Does that look right?

I've disabled all other mods just to see if there was a conflict but the map still won't display...

digitalpoint 06-22-2012 05:47 PM

Yep... Looks good there. Unfortunately it's gonna have to wait until Sunday before I can really look into it (no computer until then).

cherylferraro 06-22-2012 05:51 PM

Okay, no problem. Whenever it's convenient for you. In the meantime I'll keep poking at it and if I figure it out I'll post the solution in this thread.

digitalpoint 06-25-2012 03:10 PM

Hmmm... everything looks like it's installed okay, but for whatever reason, the geoip extension on your server doesn't seem to be resolving IPs for some reason.

Can you make a simple PHP script to test the actual geoip functionality? See this post.

cherylferraro 06-25-2012 05:34 PM

I put my own ip in that php script and it comes up blank. Seems like it is the server.

That site uses Cloudflare, reverse proxy. I added mod_cloudflare to httpd.conf which enabled vbulletin to log user IPs instead of cloudflare's, but it looks like it probably doesn't work with geoip.

To see if it would happen on a site that wasn't coming through cloudflare I tried the script on another domain that is on the same server. It didn't work there either.

I've got a couple of sites where I'd really like to install the map so I'll contact cloudflare and see if they have any suggestions. If there's a solution I'll post it here. Thank you for taking a look.

togotutor 07-02-2012 04:08 PM

Reserved for later.

addamroy 07-10-2012 12:59 AM

I installed this mod on my test forum and I'm getting the following error when I navigate to the /usermap.php page...

"Fatal error: Call to undefined function geoip_record_by_name() in /home/****/public_html/testvb/usermap.php on line 100"

digitalpoint 07-10-2012 07:03 AM

It requires the geoip PHP extension...


All times are GMT. The time now is 03:36 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.04212 seconds
  • Memory Usage 1,731KB
  • 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)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