Disable Comments

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

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

Disable Comments

Post by camel_Trophy »

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: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Disable Comments

Post by Thorsten »

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: 41
Joined: Fri Feb 17, 2017 5:03 pm

Re: Disable Comments

Post by camel_Trophy »

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