2009-08-15, 08:29 PM
This:
I am creating plugin which extends the features of the current buddy system. It's almost done but thanks to the hook not being before the query, I had to do some workarounds and I don't like workarounds.
$db->update_query("users", $user, "uid='".$mybb->user['uid']."'");
$plugins->run_hooks("usercp_do_editlists_end");
Should be: $plugins->run_hooks("usercp_do_editlists_end");
$db->update_query("users", $user, "uid='".$mybb->user['uid']."'");
I am creating plugin which extends the features of the current buddy system. It's almost done but thanks to the hook not being before the query, I had to do some workarounds and I don't like workarounds.