Thread Rating:
  • 44 Vote(s) - 3.36 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved Plugin Changes coming in 1.6.5
#53
Not Solved
(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.


Messages In This Thread
Plugin Changes coming in 1.6.5 - by Dylan M. - 2011-10-27, 06:36 PM
RE: Plugin Changes coming in 1.6.5 - by pavemen - 2011-10-27, 08:21 PM
RE: Plugin Changes coming in 1.6.5 - by labrocca - 2011-10-27, 08:25 PM
RE: Plugin Changes coming in 1.6.5 - by Jaketfg - 2011-10-27, 11:51 PM
RE: Plugin Changes coming in 1.6.5 - by enhu - 2011-10-28, 03:47 AM
RE: Plugin Changes coming in 1.6.5 - by Dylan M. - 2011-10-28, 02:28 AM
RE: Plugin Changes coming in 1.6.5 - by Rukbat - 2011-10-28, 03:09 AM
RE: Plugin Changes coming in 1.6.5 - by Dylan M. - 2011-10-28, 03:33 AM
RE: Plugin Changes coming in 1.6.5 - by Dylan M. - 2011-10-28, 04:08 AM
RE: Plugin Changes coming in 1.6.5 - by pavemen - 2011-10-28, 06:40 AM
RE: Plugin Changes coming in 1.6.5 - by Euan T - 2011-10-28, 09:12 AM
RE: Plugin Changes coming in 1.6.5 - by Hay_Den - 2011-10-28, 04:11 PM
RE: Plugin Changes coming in 1.6.5 - by Tomm M - 2011-10-28, 07:45 AM
RE: Plugin Changes coming in 1.6.5 - by pavemen - 2011-10-28, 02:23 PM
RE: Plugin Changes coming in 1.6.5 - by Dylan M. - 2011-10-28, 03:28 PM
RE: Plugin Changes coming in 1.6.5 - by Dylan M. - 2011-10-28, 03:29 PM
RE: Plugin Changes coming in 1.6.5 - by pavemen - 2011-10-28, 04:23 PM
RE: Plugin Changes coming in 1.6.5 - by Hay_Den - 2011-10-28, 04:29 PM
RE: Plugin Changes coming in 1.6.5 - by Dylan M. - 2011-10-28, 06:03 PM
RE: Plugin Changes coming in 1.6.5 - by sunjava1 - 2011-10-28, 06:44 PM
RE: Plugin Changes coming in 1.6.5 - by Dylan M. - 2011-10-28, 06:46 PM
RE: Plugin Changes coming in 1.6.5 - by sunjava1 - 2011-10-28, 06:58 PM
RE: Plugin Changes coming in 1.6.5 - by pavemen - 2011-10-28, 07:13 PM
RE: Plugin Changes coming in 1.6.5 - by adbrad - 2011-10-28, 07:37 PM
RE: Plugin Changes coming in 1.6.5 - by Dylan M. - 2011-10-28, 07:38 PM
RE: Plugin Changes coming in 1.6.5 - by Solidus - 2011-10-28, 10:56 PM
RE: Plugin Changes coming in 1.6.5 - by pavemen - 2011-10-28, 11:14 PM
RE: Plugin Changes coming in 1.6.5 - by Maj - 2011-10-29, 12:00 AM
RE: Plugin Changes coming in 1.6.5 - by Hay_Den - 2011-10-29, 12:30 AM
RE: Plugin Changes coming in 1.6.5 - by Maj - 2011-10-29, 05:15 AM
RE: Plugin Changes coming in 1.6.5 - by Dylan M. - 2011-10-29, 06:00 AM
RE: Plugin Changes coming in 1.6.5 - by crazy4cs - 2011-10-29, 10:54 AM
RE: Plugin Changes coming in 1.6.5 - by Dylan M. - 2011-10-29, 02:42 PM
RE: Plugin Changes coming in 1.6.5 - by Solidus - 2011-10-29, 05:04 PM
RE: Plugin Changes coming in 1.6.5 - by pavemen - 2011-10-29, 10:41 PM
RE: Plugin Changes coming in 1.6.5 - by Alan S. - 2011-10-30, 06:18 PM
RE: Plugin Changes coming in 1.6.5 - by Hay_Den - 2011-10-29, 04:56 PM
RE: Plugin Changes coming in 1.6.5 - by Dylan M. - 2011-10-30, 04:05 AM
RE: Plugin Changes coming in 1.6.5 - by Solidus - 2011-10-30, 02:13 PM
RE: Plugin Changes coming in 1.6.5 - by pavemen - 2011-10-30, 02:37 PM
RE: Plugin Changes coming in 1.6.5 - by pdtrx - 2011-10-30, 02:22 PM
RE: Plugin Changes coming in 1.6.5 - by FBI - 2011-10-30, 02:51 PM
RE: Plugin Changes coming in 1.6.5 - by Hay_Den - 2011-10-30, 03:11 PM
RE: Plugin Changes coming in 1.6.5 - by pavemen - 2011-10-30, 03:23 PM
RE: Plugin Changes coming in 1.6.5 - by Hay_Den - 2011-10-30, 03:28 PM
RE: Plugin Changes coming in 1.6.5 - by pavemen - 2011-10-30, 04:57 PM
RE: Plugin Changes coming in 1.6.5 - by Dylan M. - 2011-10-30, 06:46 PM
RE: Plugin Changes coming in 1.6.5 - by Hay_Den - 2011-10-31, 01:40 AM
RE: Plugin Changes coming in 1.6.5 - by qwertyx - 2011-11-01, 07:43 PM
RE: Plugin Changes coming in 1.6.5 - by qwertyx - 2011-11-01, 08:00 PM
RE: Plugin Changes coming in 1.6.5 - by Dylan M. - 2011-11-01, 07:56 PM
RE: Plugin Changes coming in 1.6.5 - by Dylan M. - 2011-11-01, 08:01 PM
RE: Plugin Changes coming in 1.6.5 - by Dylan M. - 2011-11-01, 08:03 PM
RE: Plugin Changes coming in 1.6.5 - by Dylan M. - 2011-11-02, 04:43 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)