![]() |
Forum Help with template conditional and possibly if/elseif errors (SHOWTHREAD template) What I want to do :- Do not display Large Reply button if Logged-In User =/= Thread Owner in certain sections. This is my code:- Code: + {vb:rawphrase reply_to_thread}{vb:rawphrase closed_thread} + {vb:rawphrase reply_to_thread}{vb:rawphrase closed_thread} First IF checks for forums conditional, if not in the specified forums - display the button Second IF checks for ownership, if owner = logged in user - display the button otherwise, display nothing. I get the following error messages - Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php on line 3339 and The following error occurred when attempting to evaluate this template: %1$s 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. Help? |
الساعة الآن 08:08 AM |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.5.2 TranZ By
Almuhajir