SimplePortal

Support => English Support => Topic started by: Jopie on March 10, 2011, 09:39:05 AM

Title: How to remove comments from Articles
Post by: Jopie on March 10, 2011, 09:39:05 AM
Hi,
I would like to know if it is possible to remove the possibility of commenting on articles.
Next to the Read More... you find the write Comment and i would like to remove that if that's possible and how i go about it. I'm an ultimate novice when it comes to coding etc. and i'm also Dutch so please explain in very simple words  :-[

I'm using SMF 1.1.13 and SP 2.3.3
(though the message above says i'm using SMF 1.1.11 and SP 2.3.1 have no idea why it says that)

Hope someone can help  :nervous-happy:
Title: Re: How to remove comments from Articles
Post by: AngelinaBelle on March 10, 2011, 02:35:22 PM
There is no setting in SimplePortal for this.


Changing it would require some simple customization.
Title: Re: How to remove comments from Articles
Post by: Jopie on March 10, 2011, 03:14:33 PM
Thank you for replying AngelinaBelle  :nervous-happy:
Where can i find how to do it. If it's explained well i can do it, i think  ;)

Does that mean i can also remove the read more part  ;D
Title: Re: How to remove comments from Articles
Post by: grafitus on March 10, 2011, 04:20:39 PM
./Themes/default/PortalArticles.template.php
Code: (Find and delete it) [Select]
',  $article['article']['new_comment'], 'There are two of that. Delete both of them. ;)
Title: Re: How to remove comments from Articles
Post by: Jopie on March 10, 2011, 05:02:39 PM
Thank you for your help grafitus, but i could only find one of those code parts  :-[
Now the write comment part is gone but the comment "count" on top of the article is still there. I'm assumming one code is for that part.

Is it also possible to remove the read more link so we can point to wherever we want?
Thanks for all help  :D
SimplePortal 2.3.8 © 2008-2024, SimplePortal