phpcms has a comment function. The built-in comment module of phpcms provides the function for website visitors to post their own opinions, allowing visitors to interact and exchange their opinions with each other to increase the popularity of the website. PHPCMS's comment function for users to leave messages has also added an audit function to prevent prohibited words from appearing in comments. For website administrators, the comment module of PHPCMS can easily manage user comments, and can find and manage message content based on time, keywords, review and other conditions.
The operating environment of this tutorial: windows7 system, phpcms v9 version, DELL G3 computer
PHPCMS is a website management software. The software adopts modular development and supports multiple classification methods. It can be used to facilitate the design, development and maintenance of personalized websites. It supports many program combinations, can easily realize website platform migration, and can widely meet the needs of websites of various sizes. It has high reliability. It is a software with articles, downloads, pictures, classified information, movies, shopping malls, collection, finance, etc. Excellent website management software that is powerful, easy to use, and scalable with many functions.
Phpcms is the leading website content management system in China and an open source PHP development framework. Phpcms is composed of more than 20 functional modules such as content model, membership, Q&A, special topics, finance, orders, advertising, email subscription, short messages, custom forms, and site-wide search. It has built-in news, pictures, downloads, information, and products 5 Big content model. Phpcms adopts modular development, supports custom content models and membership models, and can customize fields.
Comment module introduction
Why there is a comment module
The comment module provides the function for website visitors to post their own opinions, allowing visitors to interact and exchange their opinions with each other to increase the popularity of the website. What WEB2.0 dominates is the interaction between website visitors.
What are the characteristics of the comment module of PHPCMS
Like the comment function of mainstream portal websites, the comment of PHPCMS also has the function of user leaving messages. At the same time, PHPCMS has also added an audit function to prevent prohibited words from appearing in speeches.
For website administrators, the comment module of PHPCMS can easily manage user comments, and can find and manage message content based on time, keywords, whether to review or not, and other conditions.
How to use the phpcms comment module
1. Open the comment module
Management background Click "Module"->"Comment" and set it according to actual needs
2. Call the comment module through the iframe tag
In the article details page template, such as /phpcms/templates/default/content/show.html, add the following code
<?php $commentid = id_encode('content_'.$catid,$id,$siteid); ?> <iframe src="{APP_PATH}index.php?m=comment&c=index&a=init&commentid={$commentid}&iframe=1" width="100%" height="100%" id="comment_iframe" frameborder="0" scrolling="no"></iframe>
The final effect is as follows
You can review and delete comments in the background "Content" -> "Comment Management"
PHP Chinese website, a lot of free PHPCMS Tutorial, welcome to learn online!
The above is the detailed content of Does phpcms have a comment function?. For more information, please follow other related articles on the PHP Chinese website!