Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [How To?] make a thread prefix default
#6
Not Solved
Sorry for bumping an old thread, but this is possible.

I've done it like this:
$plugins->add_hook('datahandler_post_insert_thread', 'myplugin_defaultprefix');

And then this:
function myclanmanagement_testthing($array)
{
	$array->thread_insert_data['prefix'] = 1;
}

I achieved this with this simple thingy, not sure if it's the most proper way.


Messages In This Thread
make a thread prefix default - by sunjava1 - 2011-11-13, 02:20 PM
RE: make a thread prefix default - by Yaldaram - 2011-11-13, 02:45 PM
RE: make a thread prefix default - by sunjava1 - 2011-11-13, 02:59 PM
RE: make a thread prefix default - by Yaldaram - 2011-11-13, 03:04 PM
RE: make a thread prefix default - by sunjava1 - 2011-11-14, 11:53 AM
RE: make a thread prefix default - by Tankey - 2014-03-05, 09:46 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)