Support » Plugin: Visitor Maps and Who's Online » [Plugin: Visitor Maps and Who's Online] Printing text on visitor map image

  • On one of the servers I have this plugin running on, I have to checkmark the preference, “disable text on geolocation maps (missing background fix)” in order for the map to display. Another server I run, I don’t have to do that.

    As I am going to upgrade the first server shortly [hand-compiled PHP/apache/etc], I’d like to know what the non-hack fix is so that I don’t have to have that setting checkmarked. Is there a certain image kit extension I have to build into PHP during compile time? Any tips would be most appreciated!

    Thanks

    http://wordpress.org/extend/plugins/visitor-maps/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Your PHP needs to support this:
    http://php.net/manual/en/function.imagettfbbox.php

    how to compile that is beyond my help capability, sorry

    Thanks very much, Mike! I’m fixing things now so that the GD library and FreeType library are complied in with PHP properly. Thanks again! 🙂

    For those who are curious, my PHP 5.4.12 installation had the following compile-time arguments that made this plugin not need the “disable text on geolocation maps” fix:

    --with-gd --enable-gd-native-ttf --with-freetype-dir=/usr/include/freetype2 --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr

    There were other arguments as well, but I believe the above ones were the ones that solved the issue, as I now don’t need to have that option checked and text shows up fine on the maps.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Visitor Maps and Who's Online] Printing text on visitor map image’ is closed to new replies.