Home > CMS Tutorial > PHPCMS > body text

Does phpcms have a comment function?

青灯夜游
Release: 2023-02-16 10:06:12
Original
2350 people have browsed it

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.

Does phpcms have a comment function?

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.

Does phpcms have a comment function?

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

Does phpcms have a comment function?

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(&#39;content_&#39;.$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>
Copy after login

The final effect is as follows

Does phpcms have a comment function?

You can review and delete comments in the background "Content" -> "Comment Management"

Does phpcms have a comment function?

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!