1 / 12

User Points API: Enhance Engagement and Activity in Drupal Commons

The User Points API for Drupal offers a comprehensive system to manage user points, enabling users to gain or lose points based on actions performed. Designed to incentivize participation, it integrates seamlessly with Drupal Commons, allowing for web services integration, rules functionality, and views for dynamic content display. Key features include point retrieval and updates, user point reports, and custom hooks for adjusting user points. Complete with tutorials and examples for easy implementation, the User Points API enhances community engagement and activity. Explore further at our demo links.

shelly
Télécharger la présentation

User Points API: Enhance Engagement and Activity in Drupal Commons

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. User Points 6th Dec 2011 – Hackerspace.SG

  2. User Points • API for users to gain or lose points for performing actions • Accumulate • Incentive to participate, be more active • Included in Drupal Commons

  3. Provided in User Points • Web Services integration: retrieve/update points • Rules integration • Views integration • Block displaying the user’s point count • Block displaying top users • A status message when earning/losing points • Point report for the user • Total point report for all users

  4. User Points API • Callable interface • Hook system for adding or subtracting points to a user account • Functions for querying a user's account for how many points they currently have. • Tutorial and examples online • Drupal 5/6 http://drupal.org/node/198548 • Drupal 7 / Userpoints 7.x-1.xhttp://api.worldempire.ch/api/userpoints.

  5. User Points API • UserpointsTransaction class • userpoints_get_categories() • userpoints_get_current_point() • userpoints_get_max_points() • userpoints_grant_points()

  6. UserPointContrib

  7. User Points Modules

  8. User Points Modules

  9. User Points Modules

  10. User Points Modules

  11. DEMO

  12. Thanks! Sven Berg Ryen @svenbergryen sven.ryen@maxus.com.sg

More Related