Jump to content

Community

Makoto

+Clients
  • Content Count

    4,959
  • Joined

  • Last visited

  • Days Won

    31

 Content Type 

Profiles

Downloads

IPS4 Providers

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Forums

Store

Downloads posted by Makoto

  1. $8.00

    (Editor) Message Box

    Introduction
    This plugin extends the suites editor by implementing support for message boxes. Message boxes are a useful for just about any community, they allow you and your members to easily and aesthetically highlight warnings or any other general pieces of information.
    Licensing and other information
    This plugin is commercially licensed, one purchase is valid for one installation. If you wish to install this plugin on multiple IPS communities, please do the right thing and support future development by purchasing a license for each community!
    By purchasing the (Editor) Message Box plugin, you acknowledge that you have read and agree to the following license terms:
    https://www.binpress.com/license/view/l/93f2784a52455af6fda7295ab356dcc4

    39 purchases   133 downloads

       (5 reviews)

    Updated

  2. Free

    Hide Empty Reviews

    This is a simple plugin which does just what the title says: it hides "empty" reviews.
    When upgrading your community from 3.4.x, you are able to convert "ratings" to "reviews" in the new system. However, these converted ratings all end up being displayed as reviews with no associated text, which is unsightly and generates pointless clutter.
    This plugin allows you to keep ratings from the old system and simply hides them from view the reviews tab. This means old ratings will still count towards an items overall rating, but the review page won't be cluttered with those empty reviews.
    Members will still see their own review, regardless; this way a member who previously rated a file in the old system can still edit their review and add content to it after you upgrade.
    Did you find this useful? Want more free plugins and applications like this?
    Show your support by buying me a Coffee, also known as programmer's fuel!
    https://ko-fi.com/makoto_dev

    25 downloads

       (0 reviews)

    Updated

  3. Free

    Power Tools

    Power Tools
    Introduction
    Power Tools is a third party command line utility for Invision Power Suite developers. It aims to aid in development by packaging several useful command line script and applications together in one easy to use application.
    ☕ Found this useful? Want to support further development? Show your support by buying me a coffee!
    - https://ko-fi.com/makoto_dev
    Installation
    If you are on Linux, there is an optional executable included in the release package which you can extract and copy to /usr/local/bin for convenience.
    Otherwise, just extract the included ptools.phar file to the directory of your IPS installation. Then, from your terminal window, navigate to the applications directory and run ptools.phar as you would any other PHP script from the command line,
    $ php ptools.phar Power Tools version 1.0.1 Usage: command [options] [arguments] Options: -h, --help Display this help message -q, --quiet Do not output any message -V, --version Display this application version --ansi Force ANSI output --no-ansi Disable ANSI output -n, --no-interaction Do not ask any interactive question -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug Available commands: classmap Generate a map of error codes for classes in an IPS application help Displays help for a command list Lists commands tinker Launches an interactive shell interpreter for an IPS installation generate generate:activerecord Generates an Active Record boilerplate class generate:content-comment Generates a Content Comment boilerplate class generate:content-item Generates a Content Item boilerplate class generate:content-node Generates a Content Node boilerplate class proxy proxy:regen (Re)generates all proxy classes for the application Features
    Tinker
    Tinker is one of Power Tools most.. well, powerful features! The name tinker was inspired by Laravel's own "tinker" command, and it essentially operates in the same manner.
    Both are powered by PsySH, an application that provides an extremely powerful PHP REPL for your applications.
    Stop making your life difficult by executing arbitrary code in random modules for testing, or worse yet, actually trying to use the native PHP CLI interpreter.
    Need to test if your Item class is working correctly? Just pop into the REPL and give it a whirl!
    Everything in the tinker shell essentially works as your application does when run through the web browser. You can even get documentation on class methods right from within the interpreter,

    PsySh is a truly awesome tool. To learn more about it and all the features it offers you, check it out on PsySh.org.
    Proxy Classes
    Due to IPS 4.x's monkey-patching based framework, several useful features of your IDE will be rendered non-functional (suggestions, code completion, etc). This command generates proxy classes for your your IDE (including support for 3rd-party applications), so it will be able to properly reference IPS' classes regardless of monkey-patching.

    The proxy class generator can even automagically generate property mappings to all your database columns!

    Class Generators
    Power Tools comes with several powerful and fully featured class generators for IPS Nodes, Items, Comments and generic Active Record classes. These generators take care of all the necessary boilerplate for you automatically.
    For example, generating a new Content Item class is as simple as running a single command and following the on-screen input prompts:
    <?php namespace IPS\induction\Test; /* To prevent PHP errors (extending class does not exist) revealing path */ if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) ) { header( ( isset( $_SERVER[ 'SERVER_PROTOCOL' ] ) ? $_SERVER[ 'SERVER_PROTOCOL' ] : 'HTTP/1.0' ) . ' 403 Forbidden' ); exit; } class _Item extends \IPS\Content\Item { /** * @brief Application */ public static $application = 'induction'; /** * @brief Module */ public static $module = 'induction'; /** * @brief Database Table */ public static $databaseTable = 'induction_items'; /** * @brief Database Prefix */ public static $databasePrefix = ''; /** * @brief Multiton Store */ protected static $multitons; /** * @brief [ActiveRecord] ID Database Column */ public static $databaseColumnId = 'id'; /** * @brief Default Values */ protected static $defaultValues = NULL; /** * @brief Node Class */ public static $containerNodeClass = NULL; /** * @brief Comment Class */ public static $commentClass = NULL; /** * @brief Review Class */ public static $reviewClass = NULL; /** * @brief Database Column Map */ public static $databaseColumnMap = array( 'container' => 'category_id', 'author' => 'author_id', 'views' => 'views', 'title' => 'title', 'content' => 'content', 'num_comments' => 'num_comments', 'last_comment' => 'last_comment', 'last_comment_by' => 'last_comment_by', 'last_comment_name' => 'last_comment_name', 'last_review' => 'last_review', 'date' => 'date', 'updated' => 'updated', 'approved' => 'approved', 'approved_by' => 'approved_by', 'approved_date' => 'approved_date', 'pinned' => 'pinned', 'featured' => 'featured', 'locked' => 'locked', 'ip_address' => 'ipaddress' ); /** * @brief Title */ public static $title = NULL; /** * @brief Icon */ public static $icon = 'file'; /** * @brief [Content] Key for hide reasons */ public static $hideLogKey = NULL; /** * @brief Form Lang Prefix */ public static $formLangPrefix = 'induction_'; /** * @brief Reputation Type */ public static $reputationType = 'id'; } Class Mapping
    The classmap command maps unique ID numbers to your applications class files. These ID numbers are then stored and maintained for use in error codes.
    By maintaining and actively using a proper error code scheme, you can easily and transparently map the location of errors that are triggered in production.

     
    This application is available under the Mozilla Public License 2.0. I welcome developers to extend and enhance this tool as they wish, but please make sure you understand the licensing requirements before doing so.

    35 downloads

       (0 reviews)

    Updated

×
×
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy