Disable Comments

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
camel_Trophy
Posts: 32
Joined: Fri Feb 17, 2017 5:03 pm

Disable Comments

Post by camel_Trophy » Sun Mar 26, 2017 3:35 am

Greetings,

I disabled Comments in the configuration section, whoever I still see the option to leave a comment even though it doesn't actually work. Is it possible to remove the "comment" option from the answer section when it's disabled in the administration section? It would be nice for the guest not to see this option at all if it's disabled by the admin.

Thanks,

Gibran

Thorsten
Posts: 14415
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Disable Comments

Post by Thorsten » Sun Mar 26, 2017 10:28 am

Hi,

just remove this code in the artikel.tpl file: https://github.com/thorsten/phpMyFAQ/bl ... #L121-L163

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

camel_Trophy
Posts: 32
Joined: Fri Feb 17, 2017 5:03 pm

Re: Disable Comments

Post by camel_Trophy » Sun Mar 26, 2017 3:25 pm

Thanks Thorsten.

It worked. It does leave the Comment tag in that section but it's not active, not a big deal but just an FYI.

Gibran

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests