Building communities using Userpoints

Slides:



Advertisements
Similar presentations
Business Development Suit Presented by Thomas Mathews.
Advertisements

July 2010 D2.1 Upgrading strategy Javier Soto Catalog Release 3. Communities.
Easy Website Creation Using WordPress Welcome and Thank You to our Sponsors.
WELCOME TO THE AHIA CONNECTED COMMUNITY! HEALTHCARE INTERNAL AUDIT'S PROFESSIONAL THOUGHT LEADERSHIP COMMUNITY.
Sage User Network Sage Auditing Presentation September 17 th
Drupal and the CMS Project. Lesson Learned #1 Keep your modules updated, especially when there are security concerns in the update notes 2010 | The Sky’s.
A detailed guide on how to set-up your printing storefront. Please Note: Storefronts are compatible with all browsers, however for optimal use of the admin.
League Easy Web LWVNYS Convention May, Who uses it? 211 Leagues in 34 states (plus DC) have created Web sites using LEW (10 since 1/1/2011) New.
Business Savvy Web Workshop Ken Barrett MSc. - Director.
CaDSR Software Development Update Denise Warzel Semantic Infrastructure Operations Team Presented to caDSR Content team November 2012.
Administration Tab CiviCRM. Data Organization in CiviCRM: "Building Blocks" Contacts Reports Mail Tags Activities Contribe Member Events and Event Attendences.
Planned Giving Design Center. What is the Planned Giving Design Center? National network of websites dedicated to advancing philanthropy.
Welcome message. The background image would be an image of Electronic Circuit And have a flash action script to animate 0 and 1. This site would be for.
Content Management Systems Drupal. Content Introduction Setting up Drupal Structure Features Core functions Comparison of Joomla and Drupal Total Cost.
Nonprofit? There's an App for That! Drupal Modules for Activism, Donations and other Nonprofit #NYCCamp Benjamin J. Kallos iMediaEDGE
PaySmart A compendium of the major features. [A multi-functional administrative, client management and sales solution]
Getting the Most Out of Interfase!.  This presentation will include: Faculty Database Mentor Database Activity Log Mass Templates Record Merge.
Drupal Commerce Better than Uber Andrew Root: druroot.
DIY Site Review + Summer Cleaning Keeping Your System Running Smoothly Rachel & Kevin.
Training Role Module 8 – User Admin Ver. 10 Oct 2009.
Nickelodeon – Blogs User Guide. 1. Introduction The admin tool allows you to create and publish blog posts easily and efficiently along with managing.
CMS Content Management Systems. What is a CMS? Creation and management system for websites Wikipedia.org definition: A content management system (CMS)
Is Your Business Ready For The Ultimate Business ERP Solution.
Guidelines for ENSCONET partners in the use of the e-forum.
Drupal for client Maria Sherskova skype: sherskova.
A compendium of the major features. A multi-functional administrative, patient management and sales solution for health organisations.
Lindsey Velez, Director of Instructional Technology Single Sign-On One Click.
Design a School/Class Google Website Eilis Stokes.
INFM 700 Project 3 (Aqua) - Akashdeep Ray - Arnaud Lawson - Neha AR - Vidisha Vedvyas.
Together we can build something great FORWARD | 2016 Role Centers and Charting Joanna Broszeit, Dawn Stenbol, Tracie Folscroft Education Track | Boston.
How to use Drupal Awdhesh Kumar (Team Leader) Presentation Topic.
Building communities using Userpoints Khalid Baheyeldin Open Craft Tech Seminar Cairo, Egypt August 25, 2007
Drupal for Fun and Profit Making a career out of Open Source Khalid Baheyeldin DrupalCon Boston March 3, 2008
Khalid Baheyeldin, Toronto, Mar 13, 2007 Building Drupal sites using CCK, Views and Panels Khalid Baheyeldin Drupal Users Group, Toronto.
TREVOR BOARDMAN, TRISTAN HUMMEL, JOSEPH KADRICH, ERIC ROBY.
Building Drupal sites using CCK, Views and Panels Khalid Baheyeldin Drupal Camp, Toronto May 11-12, 2007
SQL Database Management
THE PRESENT AND FUTURE nopCommerce  .
REDCap General Overview
AUU Website Solution Purpose built for the AUU
Project Management: Messages
New Features and Functions
Agenda Learn about the new TJ Ministry Application & Registration System Mixture of PowerPoint Slides, Demo’s and Hands-on Goals: Learn Concepts Play.
MARKETING STRATEGY PROJECT “SwapzK”.
Overview Blogs and wikis are two Web 2.0 tools that allow users to publish content online Blogs function as online journals Wikis are collections of searchable,
TOPSpro Special Topics
SubAnywhere: Setup and Configuration
SCEC Drupal Website Development Overview and Status
Single Sample Registration
ASHRAE Authoring Portal
KW Agent Website Training
Table of Contents Tips for Success Send s
Drupal Web page management system Jonathan Millis
Checkout and Electronic Payment Processing
RFPMonkey.com External Review
Better Living through Extensions
Setting Up and Supporting Clients Using Employee Development in ADP Workforce Now [Developer: Use this slide if you are not using audio. You can add.
FAST Administration Training
Manage your Interest Group
Superior Drupal Integration for CiviCRM with a focus on Events
Easy Website Creation Using WordPress
2017 Features Released Marsha Sapino AAP, BSACS
Memberplanet Update Palos Verdes PTA – May 7, 2018.
Cyber Recruiter: Sneak Peak
Samer Koda IEEE-SEM – Section Student Representative IEEE-SEM-SA – Webmaster 12/7/2018.
Advanced Features Webinar: Consequences, Triggers, Text Notifications
CHIPS® Fund Based Payroll Designed for Microsoft Windows
Is a Content Management System in Your Future?
Professional Services Tools Library (PSTL)
Effective Communication
Presentation transcript:

Building communities using Userpoints Khalid Baheyeldin Drupal Camp, Toronto May 11-12, 2007 http://2bits.com

Agenda Introduction Userpoints Module Features Usage Userpoints API Hands on Conclusion Questions, discussion

About 2bits Based in Waterloo, Ontario Active member of the Drupal community since 2003 Member of security and infrastructure teams 24+ modules on drupal.org Listed on Drupal.org's service providers section Maintain modules that run on drupal.org (donations, feature, lists) Google Summer of Code mentoring (2005, 2006, 2007)

2bits Services Clients mainly in USA and Canada Subcontracting development projects Customization of existing modules Development of new modules Installation, upgrades Automated backups Performance tuning and optimization

About Khalid Contributed modules Adsense Userpoints Nodevote Job search Favorite nodes Flag content Stock API and module Custom Error Currency Image watermark Site menu Email logging and alerts Second Life Technorati Click thru Referral Developing for computers for way too long (22 years), Drupal since 2003 Core contributions Site maintenance feature Logging and alerts in Drupal 6 Several patches Member of Drupal security team webmasters team infrastructure team Co-founder of 2bits Blog at http://baheyeldin.com

History Commissioned by a photography and art site As an incentive for promoting participation Released to the community

Features and Benefits Psychological factor Mimics “gaming” Provides instant gratification Users often strive for more recognition, as well as competition. Users can be sort of tiered within the site

Functionality Basic package has two modules userpoints Just an API, and management module. userpoints_basic Basic core Drupal functionality (posting nodes, comments, ...etc.), as well as invite module

Configuration Point moderation Whether points are to be added/subtracted in real time, or delayed until approval. Prevents abuse on sites that use points as a means for getting gifts and such. Under Administer -> User management -> Points Allows adding of points manually by the admin

Configuration (cont'd) Branding of points Allows calling them something else, for example “brownies”, or some site specific jargon.

Configuration (cont'd) Basic events Posting a node Each type (blog, page, story, ...etc.) can have a different value. Posting a comment Moderating a comment No fractional points please!

Contributions Mini ecosystem, like views Written by various people for various things Reset Resets all points for all users Destructive One time operation Retroactive Only for node types and comments

Contributions (cont'd) Ecommerce Users earn points for purchasing from the ecommerce store. Points can also be used as a payment form Node limit Allows limiting of node creation depending on how many points a user has. Can be used for subscriptions

Contributions (cont'd) Referral Users earn points for referring a user. Users earn points for actions performed by users they referred. A multiplier is used for the calculation. Invite Interface for invite module Points for inviting, and registering

Unreleased Role Users join/leave roles as they gain/lose points Can be used to allow access to other areas of the site, or more privileges Role exempt Certain roles are exempted from points, e.g. admins or moderators, so they do not “compete” with regular users.

Unreleased (cont'd) Email notify Users are notified by email when they reach a certain level of points Inactive expiry Inactive users lose a certain number of points every preset period (can you think of banks?)

Unreleased (cont'd) Period expire All points for all users are expired every certain period. Good for contests and the like.

Userpoints API Simple API for modules to use Documented in the README.txt Module decides to award points at certain events. Modules can act on other modules awarding points Examples abound in the contrib directory

Userpoints hook hook_userpoints($op, $points, $uid, $event) $op is operation type $points is number of points to add (or subtract, if negative) $uid is the Drupal user id of the user $event is an event identifier

$op 'setting' Build your configuration form, and return it, and they will automatically appear in userpoints settings. 'points before' Calls your modules (and other modules) before the points are awarded. Returning FALSE prevents points from being awarded.

$op (cont'd) 'points after' Points have been awarded, your module can take actions on that event

API function call userpoints_userpointsapi('points', $points, $uid, $event, $description) Modules call this function explicitly to add/subtract points to a user. Points are added (if positive) or subtracted (if negative)

API call (cont'd) $event An identifier of the event the points is being awarded for, this Gets recorded in the transaction table (allows auditing, recalculating, ...etc). May require events to be registered in the future.

How many? userpoints_get_current_points($uid) You can call this function to know how much points a use has. Returns the current number of points for that user. Use in themes or other modules for displaying points (e.g. below the avatar). Some examples on http://2bits.com

Real Life Example 7 am Thursday someone send me an email asking for an unreleased module, and two other custom ones to be developed. Replied around noon. Got this reply by 2pm: Thanks to your API, it turned out much easier than expected. I was able to code all 3 by the time you responded to this email and will post them on drupal.org for you to review. Great module! :)

The future? Maximum ever points earned field in the database already, but not presented Points from one user to another Barter or site currency More than one point “pools”. Time dimension How many points for a user in the last month

The future (cont'd) Integration with votingAPI fivestar, ...etc. Event registry More structure and discipline for the data Better UI for managing points (AJAX?)

Sites Performancing – Tools for bloggers http://performancing.com Altiris users site – Community for Altiris users http://juice.altiris.com/points MEPIS Linux distro, Debian derived http://www.mepis.org/userpoints Poop Report – an intellectual scatology site http://www.poopreport.com Ruby Baboon http://www.rubybaboon.com/

Let us see it all in action ... Hands On Let us see it all in action ...

Conclusion Questions? Comments? Discussions?