What Im trying to accomplish is to remove the quickreply in selected forums. While searching here I found a possible solution:
<if condition="$SHOWQUICKREPLY AND !$show['threadedmode'] AND !in_array($forum[forumid] array(x,y,z))">
I tried it and got this error in the Admin CP:
The following error occurred when attempting to evaluate this template: Parse error: syntax error, unexpected T_ARRAY in /home/.../public_html/.../includes/adminfunctions_template.php(3596) : eval()'d code on line 225 This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
<if condition="$show['quickreply'] AND !$show['threadedmode'] AND !in_array($forum[forumid] array(52,1,2,5,70,7,37,6,8,11,12,55,27,29,40,71,41,51,42,43,46,47))">
I appreciate your help.
Regards,
Comment