MyBB Ideas

The MyBB Ideas site allows users to suggest new features and changes in MyBB and the MyBB Group to easily review them to decide what direction MyBB should head in. Search existing ideas.

$plugins->exists($plugin_name) function.

11 votes

Submitted by blueparukia, 22nd February 2008, 6:55:07 AM

This would be particularly useful for plugins that are either incompatible or completely dependent on other plugins. I added this to my CMS to make life easier. Basically like the function_exists() function in PHP, so you just check if a plugin is activated, and if it is, do something....

BP

3 Comments

  1. Thats cool. While MyBB 1.4 already sports compatibility features for plugins, I can see potential use for it in other plugins.

    While this would be ideal implementation, theoretically you can already read the plugin cache to check for active plugins.

    Tikitiki, 23rd February 2008, 7:41:31 AM
  2. Yeah, idealism is my middle name. At the moment I am making a CMS, which, because of my familiarity with it - is based off MyBB - it even has MyBB integration. So when I ended up coding that, it just struck me as something useful for MyBB.

    Thanks

    blueparukia, 24th February 2008, 1:49:36 AM
  3. Nice idea.

    DennisTT, 15th March 2008, 9:20:13 PM

Post a Comment

Before you can post a comment you must be a registered member of the MyBB Community Forums.

If you already have an account, log-in to it to post a comment or if you don't register a new account.