MyBB-Plugins Forums
Plugin error - Printable Version

+- MyBB-Plugins Forums (
+-- Forum: Archived Forums (
+--- Forum: MyBB 1.4.x (
+---- Forum: General (
+---- Thread: Plugin error (/Thread-Plugin-error--1995)

Plugin error - JonP - 08-22-2009

Heres the hook:

$plugins->add_hook('global_start', 'register_please');

If you need more code to see, just let me know and ill post it.

RE: Plugin error - Diogo Parrinha - 08-22-2009

Hmm, register_please should be the function to execute. It must exist like:
PHP Code:
function register_please()
// do something

Anyway, if you're plugin file is called register_please.php you should use something else for the function name like register_please_global