In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
The editor will share with you the method of sending a short message to the author after the dream weaving article has been commented. I hope you will gain a lot after reading this article. Let's discuss it together.
How to send a short message to the author after the dream-weaving article is commented on?
After the DEDECMS article is commented by others, the system sends a short message to the author as follows: in the feedback.php file, add a sql statement and insert the comment success message into the dede_member_ PMS table, so that the author can receive the notification.
The file that needs to be modified is: feedback.php
Find:
$inquery = "INSERT INTO `feed feedback` (`aid`, `typeid`, `username`, `arctitle`, `ip`, `ischeck`, `dtime`, `mid`, `bad`, `good`, `ftype`, `face`, `msg`) VALUES ('$aid','$typeid','$username','$arctitle','$ip','$ischeck','$dtime','{$cfg_ml- > M_ID}', '0century paramagram');"; $rs = $dsql-> ExecuteNoneQuery ($inquery)
Modified to:
$inquery = "INSERT INTO `feed feedback` (`aid`, `typeid`, `username`, `arctitle`, `ip`, `ischeck`, `dtime`, `mid`, `bad`, `good`, `ftype`, `face`, `msg`) VALUES ('$aid','$typeid','$username','$arctitle','$ip','$ischeck','$dtime','{$cfg_ml- > M_ID}', '0mm,' 0mm,'$feedbacktype','$face','$msg');" $inquery1 = "INSERT INTO `dtime', pms` (`floginid`, `fromid`, `toid`, `tologinid`, `folder`, `folt`, `sendtime`, `writetime`, `hasview`, `isadmin`, `message`) VALUES ('admin',' 1comment,'$mid','$writer', 'inbox',' your" {$arctitle} "has new comments','$dtime','$dtime', '0,0,' $cfg_ml- > M_LoginID} say: {$msg}'); $rs = $dsql-> ExecuteNoneQuery ($inquery) $rs = $dsql-> ExecuteNoneQuery ($inquery1); after reading this article, I believe you have a certain understanding of the method of sending short messages to the author after comments on dream-weaving articles. Want to know more about it. Welcome to follow the industry information channel. Thank you for your reading!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.