1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Avatar Flags by Waindigo [Deleted]

Discussion in 'Add-on Releases' started by Jon W, Nov 6, 2013.

  1. Jon W

    Jon W Well-Known Member

    Waindigo submitted a new resource:

    Avatar Flags by Waindigo - Adds a flag icon next to a user's avatar so moderators can see poster's country.

    Read more about this resource...
     
    Last edited: Nov 7, 2013
  2. Jon W

    Jon W Well-Known Member

  3. Stuart Wright

    Stuart Wright Well-Known Member

    Get this error when installing:
     
  4. Tracy Perry

    Tracy Perry Well-Known Member

    Installed and not working on any styles I have installed. I have restarted nginx, memchached and xcache and still does not display. I have Moderator/Administrator priv's and can see the IP button on the posts but no image shows.
     
  5. Stuart Wright

    Stuart Wright Well-Known Member

    Can you check your server errors? Did you get any?
     
  6. LuvMeSumZen

    LuvMeSumZen Active Member

    Cannot find GeoIP in your resource list . . . .
     
  7. Tracy Perry

    Tracy Perry Well-Known Member

    No errors (pertaining to the add-on) in the error log. I will check nginx's error log shortly...
     
  8. LuvMeSumZen

    LuvMeSumZen Active Member

    Tracy, do you know where the GeoIP addon is?
     
  9. Tracy Perry

    Tracy Perry Well-Known Member

    If you are talking about on my system, in the normal /usr/share/GeoIP location.
    Code:
    tracy@pegasus:/usr/share/GeoIP$ ls
    GeoIPCity.dat  GeoIP.dat  GeoIPv6.dat
     
  10. LuvMeSumZen

    LuvMeSumZen Active Member

    No, I'm sorry I wasn't clear. The avatar flag addon says in order to use it, I must also have the GeoIP enabled, but I do not know where that addon is.
     
  11. oman

    oman Well-Known Member

    GeoIP is a php extension. You need to get your host to enable it on your server.
     
  12. Tracy Perry

    Tracy Perry Well-Known Member

    Yep... and most shared hosting providers will NOT enable it due to it being resource intensive. That's why this mainly will work on a VPS or dedicated server.
     
  13. LuvMeSumZen

    LuvMeSumZen Active Member

    I do have a VPS account so I should be able to let them know. Thank you.
     
  14. Tracy Perry

    Tracy Perry Well-Known Member

    All they need to install are the PECL PHP GeoIP extension and the database (if using Debian it's aptitude install php5-geoip)
     
  15. Stuart Wright

    Stuart Wright Well-Known Member

    Also when opening one of my forums this morning, I got this error:
    Deactivating the flags addon fixed it.
     
  16. Jon W

    Jon W Well-Known Member

  17. Rho Delta

    Rho Delta Well-Known Member

    Screenshot?
     
  18. Stuart Wright

    Stuart Wright Well-Known Member

    temp6.jpg
    Working nicely. I changed the css
    .flagContainer .ipFlag {
    bottom: -9px;
    }
    to move it down into the top corner of the avatar. But that's a personal preference.
     
    electrogypsy and Jon W like this.
  19. LuvMeSumZen

    LuvMeSumZen Active Member

    My hosting company enabled the GeoIP feature for me this a.m. but l cannot get the addon to work. I see the IP link beneath everyon'es post so I assume the GeoIP feature has been correctly activated.
     
  20. Jon W

    Jon W Well-Known Member

    The IP link is visible regardless of whether you have GeoIP. It means your permissions are set up correctly though.
     

Share This Page