MyBB Community Forums
PHP help please again - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html)
+------ Thread: PHP help please again (/thread-149779.html)



PHP help please again - marcus123 - 2014-01-08

guys please how to add a hook to edit thread?
This only adds to new thread!
$plugins->add_hook("datahandler_post_validate_thread", "something");



RE: PHP help please again - effone - 2014-01-08

Tried this?

$plugins->add_hook('datahandler_post_validate_post', 'something');



RE: PHP help please again - marcus123 - 2014-01-08

i think this will also check replies but I only want it to check newthread and editpost functions?

Maybe this will work????

$plugins->add_hook('datahandler_post_update_post', "something");



RE: PHP help please again - FBI - 2014-01-29

(2014-01-08, 02:12 PM)marcus123 Wrote: i think this will also check replies but I only want it to check newthread and editpost functions?

Maybe this will work????

$plugins->add_hook('datahandler_post_update_post', "something");

Thanks, It works on plugin "Length Minimum in New Thread"
and solve error when creating new thread via TapaTalk Smile