userpoints:developer
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
userpoints:developer [2024/04/02 18:39] – admin | userpoints:developer [2025/03/07 14:28] (current) – admin | ||
---|---|---|---|
Line 133: | Line 133: | ||
==== Step 2 - XML file creation ==== | ==== Step 2 - XML file creation ==== | ||
- | Then developers have to create an xml file to make easier the installation process in the UserPoints component. This xml file has to be utf-8 encoded | + | To complete the integration of an application with UserPoints, |
- | Administrator of the website which install a third component | + | |
- | This xml file has to be utf-8 encoded (required) but not be zipped! Just put this file at the root of frontend | + | An example of userpoints_rule.xml is the file for Remository which reads: |
+ | |||
+ | < | ||
+ | <?xml version=" | ||
+ | < | ||
+ | <component> | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
=== Code list for categories : === | === Code list for categories : === | ||
Line 158: | Line 186: | ||
</ | </ | ||
- | NOTE : Optionally, you can avoid this step manually by filling all the fields in the creation of a new rule directly in the rule manager (button ' | + | === Code list for methods: === |
+ | |||
+ | You can add a < | ||
+ | |||
+ | < | ||
+ | 1 -> Only once | ||
+ | 2 -> Once a day per user | ||
+ | 3 -> Once a day for a single user on all users | ||
+ | 4 -> Whenever | ||
+ | 5 -> Once per week | ||
+ | 6 -> Once per month | ||
+ | 7 -> Once per year | ||
+ | </ | ||
- | ==== Plugin/Rule installation ==== | + | NOTE : It is possible to create new rules manually by filling all the fields in the creation of a new rule directly in the rule manager (button ' |
- | - auto-detect xml file at the root of frontend component: | ||
- | Click on the button “Auto-detect plugins” in the control panel of UserPoints after installation of third component, plugin or module. Check regularly or periodically by clicking on this button. | ||
- | ==== Using UserPoints information in a third party component ==== | + | ===== Using UserPoints information in a third party component |
You can use easily the profil informations of a user directly in a third component. | You can use easily the profil informations of a user directly in a third component. | ||
Line 428: | Line 467: | ||
* Created on 15 January 2016. | * Created on 15 January 2016. | ||
- | * Last updated on 7 February | + | * Last updated on 25 November |
userpoints/developer.1712083180.txt.gz · Last modified: 2024/04/02 18:39 by admin