if we want to hide sigg in multiple forums... can we just add comma and put next forum id? would that work?
coz when i try to add, multiple forums. i get this error
Code:
The following error occurred when attempting to evaluate this template:
Parse error: syntax error, unexpected ',' in /8888/8888/888888/includes/adminfunctions_template.php(3939) : eval()'d code on line 167
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.
this is my code
PHP Code:
<if condition="$post['signature'] AND $thread['forumid'] != 231, 257, 331, 348, 349, 355, 258, 471, 282"> <!-- sig -->
Now don't forget to follow this mod authors directions regarding the forum ID.
that should do it as when I removed that code the names were gone from my forums. I did not trick it via the forum id I simplt removed, saved, viewed, then corrected it back to original.
if we want to hide sigg in multiple forums... can we just add comma and put next forum id? would that work?
coz when i try to add, multiple forums. i get this error
Code:
The following error occurred when attempting to evaluate this template:
Parse error: syntax error, unexpected ',' in /8888/8888/888888/includes/adminfunctions_template.php(3939) : eval()'d code on line 167
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.
this is my code
PHP Code:
<if condition="$post['signature'] AND $thread['forumid'] != 231, 257, 331, 348, 349, 355, 258, 471, 282"> <!-- sig -->
Take out all the extra spaces and try it
PHP Code:
<if condition="$post['signature'] AND $thread['forumid'] != 231,257,331, 348,349,355, 258,471,282"> <!-- sig -->
Let us all know if it worked, not tested but it should as I believe it was not reading the code correctly due to all the extra spaces but then again it could be due to the AND and it only NEEDING one forum ID to work with the first part of the IF i.e. the if condition equals to post signature
<if condition="$post['signature'] AND $thread['forumid'] != 231,257,331, 348,349,355, 258,471,282">
<!-- sig -->
Let us all know if it worked, not tested but it should as I believe it was not reading the code correctly due to all the extra spaces but then again it could be due to the AND and it only NEEDING one forum ID to work with the first part of the IF i.e. the if condition equals to post signature
S-MAN
this is not working
this is working good
:
<if condition="$show['avatar'] AND ($thread['forumid'] != 3 and $thread['forumid'] != 58 and $thread['forumid'] != 34 )">