Plugin handles and locations
#1
Sticky?

A list of plugin handles with line numbers taken from Mybb 1.0.

UPDATED 20/02/2007 - From MyBB 1.2.3

Mod edit: [Wiki: MyBB_Plugin_Hooks] (Broken link, head over to docs.mybb.com instead)


Attached Files
.txt   hooks.txt (Size: 19.76 KB / Downloads: 1,253)
Updated Site!
My mods
1.1: MyBB Zip Installer, Easy Install v2.0, Cash/Points plugin, PayPal/Subscriber, Reply by email, Advanced Plugins
#2
Oooh thank you, this is very helpful.
#3
is this the only such list or info about plugins/mods intf?
#4
At the moment, yes.

If you wish to look into it a bit more, take a look at the included hello.php plugin as well as some of the other ones users have created.
#5
* monsto added this to the wiki
#6
Updated for Release 1.0

New plugin handles include

postbit_prev - Preview of message

private_do_tracking_end - This is a duplicate of ones already there. The new one is to complement the new case of stopping an unread tracked message (guessing from variable name)
Updated Site!
My mods
1.1: MyBB Zip Installer, Easy Install v2.0, Cash/Points plugin, PayPal/Subscriber, Reply by email, Advanced Plugins
#7
Are there any hooks for the admin panel?
#8
Nope, but the module system (aka eMods) was introduced to do just that, though it is uncertain if the plugins system will be expanded for the Administration Panel in a future versoin
#9
how exactly do hooks work?
#10
When u are making a plugin for example

you add
$plugins->add_hook('index_start', 'something');

index_start : referres where you'd like your things to appear
something : the actually name of your function.


function something()
{
echo "hiiiii";
}
so like that you will have hiiiiiii displayed on your index.
that's a general explaination.
regards


Forum Jump:


Users browsing this thread: 1 Guest(s)