Quote:
Originally Posted by Paul M
or if you want to use the datamanager, try this ;
Code:
if(is_member_of($vbulletin->userinfo, X))
{
$thread =& datamanager_init('Thread', $vbulletin, ERRTYPE_SILENT, 'threadpost');
$thread->set_existing($threadinfo);
$thread->set('iconid', Y);
$thread->save();
unset($thread);
}
|
I'm a newbie hehe :/
Can I ask you what the difference is between your code and Andrew's?
I mean ofc I can see the code is different, but other than the obvious, can you tell me whats the difference? Is your code more smooth for the server etc?