Support Forums
Creating Mybb Plugins - Printable Version

+- Support Forums (https://www.supportforums.net)
+-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87)
+--- Forum: Webmaster Support (https://www.supportforums.net/forumdisplay.php?fid=36)
+---- Forum: Forum Software Help (https://www.supportforums.net/forumdisplay.php?fid=49)
+---- Thread: Creating Mybb Plugins (/showthread.php?tid=21760)



Creating Mybb Plugins - Closed Account - 08-27-2011

Hey, I'm going to create some Mybb mods were do I start how Do I make my features connect to Mybb and echo the username

The Plugins I'm going to make is

Ability To Create Your Own Page(Like Facebook)
And Social Live Video (like Sype)

Making Forums More Social

I need the code to make it as A Mybb Hook & Echo the Mybb Usernames (When a users loggedIn to Mybb)

Thanks
Spudster



RE: Creating Mybb Plugins - cfillion - 09-08-2011

To add a hook :

PHP Code:
$plugins->add_hook("name_of_hook""function_to_call"); 
List of all hooks : http://wiki.mybb.com/index.php/MyBB_Plugin_Hooks.

To get user's data, use the $mybb object ($mybb->user specifically).


RE: Creating Mybb Plugins - BreShiE - 09-08-2011

You'd be better off learning PHP first OP. It ties into the creation of MyBB plugins


RE: Creating Mybb Plugins - bateyy - 09-08-2011

PHP is much easier you should learn that first broBig Grin


RE: Creating Mybb Plugins - Fox - 09-12-2011

You need to know how the MyBB software works.
You also need to learn how to program PHP and use MySQL functions.


RE: Creating Mybb Plugins - AceInfinity - 09-12-2011

(09-12-2011, 08:19 PM)Fox Wrote: You need to know how the MyBB software works.
You also need to learn how to program PHP and use MySQL functions.

Learning how it works is the easiest part, it's learning how to make changes to the templates (if your plugin requires any visual changes) and making entries for your own MySql tables to be references on those templates.