discuzx3.2 Custom Integration Operation log, DISCUZX points two times development complete record

Source: Internet
Author: User

discuzx3.2 Custom Integration Operation log, DISCUZX points two times development complete record

Detailed reference: http://www.infosz.com/forum.php?mod=viewthread&tid=265
1source\include\spacecp\spacecp_credit.php, add the identity (KEY) of your own operation to the branch, for example:


2source\language\lang_spacecp.php
Add the name of the action event to the language pack, where ' credit_for_duihuan_gift ' is the integration log, ' LOGS_CREDIT_UPDATE_DLP ' point log query type

For example:

3 Call Updatemembercount If you need to write the log, you need to add the operation type operation to this array (source\language\lang_spacecp.php)


4 adding Updatemembercount calls, logging:

5 After the modification is completed, the effect is as follows:



For more information, check the registration points function: http://www.infosz.com/_qiandao.php

This content is provided by www.infosz.com original, retain all copyright, reproduced please specify the source!

discuzx3.2 Custom Integration Operation log, DISCUZX points two times development complete record

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.