Code Monkey home page Code Monkey logo

Comments (5)

Destroy666x avatar Destroy666x commented on July 17, 2024

In which MyBB version? The plugin hasn't been ported to 1.8 yet. Neither finished and released on 1.6 (but worked fine there, except some small issues and no optimisation).

from mybb-ip-to-flags.

Eldenroot avatar Eldenroot commented on July 17, 2024

I am sorry - 1.8.4 - but it is OK, I will use global code (I just need to show it in postbin).

One feature request - maybe it would be better to use a custom css for flag images (manually add into global css file) in next version. Anyway thank you very much, nice plugin!

P.S. Which method do you recommend for IP recognizing? Which is the fastest?

from mybb-ip-to-flags.

Eldenroot avatar Eldenroot commented on July 17, 2024

@Destroy666x - ok, so it is not working only for MaxMind (only global code is working)

If I change to another matching method -> all codes work

from mybb-ip-to-flags.

Destroy666x avatar Destroy666x commented on July 17, 2024

The global code will show flag for the current user (not the author of the post) and I don't think you want that.

There is already a custom class for flag images: https://github.com/Destroy666x/MyBB-IP-to-Flags/blob/master/upload/inc/plugins/ip_to_flags.php#L302 I might move the HTML to templates but not sure yet.

All methods are currently slow and not recommended on big boards. They have to read huge databases with IPs. I looked for the best way to optimise it but I haven't found anything useful yet.

I'll fix every issue, make it compatible with 1.8+ and try to optimise it when I'll work on it again. But first I have to recover and push a "new" version I worked on from a disk from old computer. Closing until then.

from mybb-ip-to-flags.

Eldenroot avatar Eldenroot commented on July 17, 2024

Ahh, I missed that. OK, thank you very much! I am looking forward :)

from mybb-ip-to-flags.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.