Code Monkey home page Code Monkey logo

mybb-ip-to-flags's Introduction

IP to Flags

Name: IP to Flags Author: Destroy666 Version: 1.0

Info:

Plugin for MyBB forum software, coded for versions 1.6.x (may also work in 1.8.x/1.4.x) It adds flags based on registration/last visit/additional IP to several places - postbit, memberlist, profile, who's online, ACP edit user, globally (need to add manually). 0 new templates, 5 template edits, 5 new settings Released under Creative Commons Attribution-ShareAlike 3.0 Unported license: http://creativecommons.org/licenses/by-sa/3.0/

© 2014 - date("Y")

Support/bug reports:

Official MyBB forum http://community.mybb.com/ or my github https://github.com/Destroy666x

Changelog:

1.0 - initial release

Installation:

  1. Upload everything from upload folder to your forum root (where index.php, forumdisplay.php etc. are).
  2. Activate plugin in ACP -> Configuration -> Plugins.
  3. Click Configuration to edit settings.

Templates troubleshooting:

  • Globally - add {$mybb->user['flag']} to any template
  • Memberlist - edit memberlist_user template - add {$user['flag']}
  • Profile - edit member_profile template - add {$memprofile['flag']}
  • Postbit - edit postbit and/or postbit_classic template(s) - add {$post['flag']}
  • Who's Online - edit online_row template - add {$user['flag']}

NOTE: You can add flag images for specific themes by creating flags folder in theme directory. If there is no folder, it will use default images/flags.

This product includes GeoLite data created by MaxMind, available from http://www.maxmind.com.

Flag icons in package made by: Copyright (c) 2013 Go Squared Ltd. http://www.gosquared.com/

You can download any other icons which use ISO 3166-1 alpha-2 country codes, for example: http://www.famfamfam.com/lab/icons/flags/

mybb-ip-to-flags's People

Contributors

destroy666x avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mybb-ip-to-flags's Issues

Template issue

Globally - add {$mybb->user['flag']} to any template it works and it shows a flag

all other are not working :(

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.