Support Forums

Full Version: Creating Mybb Plugins
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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).
You'd be better off learning PHP first OP. It ties into the creation of MyBB plugins
PHP is much easier you should learn that first broBig Grin
You need to know how the MyBB software works.
You also need to learn how to program PHP and use MySQL functions.
(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.