(2011-10-30, 03:58 PM)Malcolm. Wrote: It's pretty simple AFAICS.
$plugins->add_hook("datahandler_user_update ", "do_something"); function do_something($data) { //do something here }
becomes:
$plugins->add_hook("datahandler_user_update ", "do_something"); function do_something(&$data) { //do something here }
and:
$plugins->add_hook("showthread_start", "do_something"); function do_something($showthread) { //do something here }
becomes:
$plugins->add_hook("showthread_start", "do_something"); function do_something($showthread) { //do something here return $showthread; }
(At least that is what I've gathered from the information provided)
exactly what I posted several times previously in this thread
Lost interest, sold my sites, will browse here once in a while. It's been fun.