Found the answer myself, reviewing php files
Right id topic argument is: $id
So, valid php code:
if ($pun_config['o_announcement'] == '1' && $id == '22' || $id == '27')
You are not logged in. Please login or register.
PunBB Forums → Posts by Phillips90
Pages 1
Found the answer myself, reviewing php files
Right id topic argument is: $id
So, valid php code:
if ($pun_config['o_announcement'] == '1' && $id == '22' || $id == '27')
Hello, I want show announcement only in /viewtopic.php?id=22 and /viewtopic.php?id=27.
I should edit header.php, add:
if ($pun_config['o_announcement'] == '1' && [VALID_PHP_CODE]== '22' && [VALID_PHP_CODE]== '27')
[VALID_PHP_CODE] = I tried all the options that I know nothing works....
*PunBB 1.2.15
Thank you very much!
Pages 1
PunBB Forums → Posts by Phillips90
Powered by PunBB, supported by Informer Technologies, Inc.