This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

How to allow only paid members to make comments?
#1

I have an static Website and I want to charge a fee to those who want to comment on pages (as most newspaper are doing). How can I do this with Commentics?

Example: You enter to a page and you see the comments from other people, if you want to comment, you have to register and pay a small fee. If you pay for one month, you will not be able to make more comments after the end of such month.

I want to install Commentics in my Webserver.


Thank you
Reply
#2

Hi you can just add a variable called $cmtx_logged_in to your integration code. Set the variable to false to prevent people posting (if they haven't paid) or true to allow them to post (if they have paid). You would have to write the code yourself to handle the paid membership and then just tell Commentics whether they're a paid member or not using that variable.

https://www.commentics.org/faq/php-integ...in-to-post

Have you completed the interview?
Reply
#3

Thank you very much for your fast answer.

I did not check the faq, it is exactly what I am looking for.
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by Steven
29-Jul-2020, 08:34 AM
Last Post by MattyP
13-Apr-2020, 08:33 PM
Last Post by Steven
03-May-2016, 08:36 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)