Using this code I've got 2 parse errors:
Parse error: syntax error, unexpected ',', expecting ')' in /***/forums/includes/class_dm_threadpost.php(1827) : eval()'d code on line 1
Parse error: syntax error, unexpected ',', expecting ')' in /***/forums/includes/class_dm_threadpost.php(1827) : eval()'d code on line 1
Any ideas?
--------------- Added [DATE]1351479572[/DATE] at [TIME]1351479572[/TIME] ---------------
Put them in two hooks to remove posts and threads....
First:
Hook: postdata_presave
Second:
Hook: threadfpdata_presave
Code I've been using in both:
Code:
if (in_array($this->info['forum']['forumid'], array(138,139,140,141,142,143,144,145,146,193,199,184,148,12,14,154,155,156,157,158,159,,160,,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183))){
$this->set_info('skip_activitystream', true);
}