User Tools

Site Tools


userpoints:developer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
userpoints:developer [2024/11/25 14:44] adminuserpoints:developer [2025/03/07 14:28] (current) admin
Line 185: Line 185:
 vi -> video vi -> video
 </code> </code>
 +
 +=== Code list for methods: ===
 +
 +You can add a <method> tag into the XML for a rule, with the following options:
 +
 +<code>
 +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
 +</code>
 +
  
 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 'New' in toolbar). But for the integration of other extensions with UserPoints the use of a userpoints_rule.xml file is much better. 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 'New' in toolbar). But for the integration of other extensions with UserPoints the use of a userpoints_rule.xml file is much better.
userpoints/developer.1732545855.txt.gz · Last modified: 2024/11/25 14:44 by admin