Digital Point User Map

Digital Point User Map 1.3.2

No permission to download
Hi Shawn, is there anywhere on the GeoIP site an instruction how to install the extension on CentOS?
 

Used option #1, but for some reason the user map tab is not showing up top. :/

Code:
The Geo IP PHP extension is not installed. You can find information about how to install it here:

I am looking at the server and it shows it was installed properly:
rpm -qa | grep GeoIP*
 
Used option #1, but for some reason the user map tab is not showing up top. :/

Code:
The Geo IP PHP extension is not installed. You can find information about how to install it here:

I am looking at the server and it shows it was installed properly:
rpm -qa | grep GeoIP*

You also need to install the php5-geoip.
yum install mod_geoip
And it would be beneficial if you grabbed the latest maps from maxmind and used them.
 
Anyone using this and using https for their entire site, you need to change usermap_index line:

from: <xen:require js="http://maps.google.com/maps/api/js?sensor=false" />

to: <xen:require js="https://maps.google.com/maps/api/js?sensor=false" />

You can even drop the http: altogether if you want, which will allow it to pick secure / non-secure automatically depending on how the page is accessed.

Otherwise your users won't see anything in the latest Chrome or Firefox to how they handle mixed content. Most don't know about the little shield icons in the URL bar to show mixed content. Safari will show mixed content automatically, simply breaking the secure lock icon on the page. IE will give them a notification to choose show or not.

The above will get around all that, by totally securing that template for your members by pulling the js securely.
 
How do I stop this showing staff as a separate colour, and instead just show them as member? With limited staff, and some isolated, it can allow people to near pinpoint them with precision against basic data such as a state or town they live.
 
You could change these two parts in the ControllerPublic/UserMap.php file:

PHP:
$type = 3;
becomes:
PHP:
$type = 0;

and

PHP:
$type = ($user['is_staff'] ? 3 :
becomes this:
PHP:
$type = ($user['is_staff'] ? 0 :
 
@digitalpoint, I'm getting the below error on my forums. This happens when you view the user map.

Code:
ErrorException: Undefined offset: 2 - library/DigitalPointUserMap/ControllerPublic/UserMap.php:139
Generated By: Tracy, 3 minutes ago
Stack Trace
#0 /var/www/mustangbit/library/DigitalPointUserMap/ControllerPublic/UserMap.php(139): XenForo_Application::handlePhpError(8, 'Undefined offse...', '/var/www/mustan...', 139, Array)
#1 /var/www/mustangbit/library/XenForo/FrontController.php(337): DigitalPointUserMap_ControllerPublic_UserMap->actionIndex()
#2 /var/www/mustangbit/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#3 /var/www/mustangbit/index.php(13): XenForo_FrontController->run()
#4 {main}
Request State
array(3) {
  ["url"] => string(30) "http://mustangbit.com/usermap/"
  ["_GET"] => array(1) {
    ["/usermap/"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}

Additional error that was received is reflected in this post (but only on one forum). Removal of this add-on resolved that problem - and the problem I was getting with off-set errors any time I installed another add-on.
Installed add-ons (on the forum that had the other error):
  1. Add-on Install & Upgrade
  2. Avatar for Banned Users
  3. Bookmarks
  4. Browser Detection (Mobile/MSIE)
  5. Mobile Agent Tracer
  6. Notifications
  7. Prefix Forum Listing
  8. Sitemap for XenForo
  9. Stats Bar
  10. TAC AnyAPI
  11. TAC CustomImgCaptcha
  12. TAC FaceBookRegCaptcha
  13. TAC FoolBotHoneyPot
  14. TAC StopHumanSpam
  15. TaigaChat Pro
  16. Tapatalk
  17. Thread Rating
  18. Xen Media Gallery
  19. XenMoods
  20. [BD] Widget Framework
  21. [NFLJ] Showcase
 
Last edited:
Back
Top Bottom