Userpoints is a module which allows users to earn and use points through various activities on the site.

learn more… | top users | synonyms

0
votes
0answers
20 views

develop new module with drupal [duplicate]

I'm working with drupal userpoints and I want to developp a new module which can display to me all users with their points so, I have two table (users and userpoints_total) so I developpe this ...
1
vote
2answers
20 views

Assign User Points in existing website which already contains content

Question specific to "User Points" module, backcopy of question from here due to no response: https://www.drupal.org/node/2492933 Drupal 7 - I have a website which is already running for more than ...
0
votes
1answer
15 views

Userpoints only for node revision if previous revision is old enough

I am not sure how to go about this. I use the Userpoints module in Drupal 7 to atribute points to users who create nodes ('reviews'). I also want to allow them to gain some points if they supercede or ...
0
votes
1answer
12 views

Compare a user's userpoints with rules

I am interested in creating a rule that checks a user's userpoints and then the rule performs an action.Currently rules doesn't have such condition.I read that this is possible to do with a Rules ...
1
vote
2answers
36 views

Points-based tasks: pledging and tracking

I am a member of a social organization and run its Drupal 7 website. We will be starting a campaign in a couple of weeks to challenge members to pledge to accomplish certain points-based tasks (not ...
2
votes
2answers
57 views

How to grant user points to the product creator after the product is sold?

I would like to grant user points to a product owner in amount of 70% of product price after product is sold. I have a rule and part of component Rule Events: Completing the checkout process ...
2
votes
0answers
23 views

Check if certain line item type exists

I am using Commerce Userpoints to award points based on purchases and then customers can use those rewards on future purchases for a discount. I'd like to customize the checkout pane if the user has ...
1
vote
0answers
18 views

customise userpoint module to add extra features for give points to user

I want to add different actions for userpoints module for my site.Like Points Consumer Points - 3 for adding a coupon Consumer Points - 2 points for using a coupon Consumer Points - 1 points for ...
1
vote
0answers
9 views

Edit the Userpoint Total Section

Is there anyway to edit what Factors into the "Total (all categories)" section on User points? I have 3 categories "Points" "Fines" and "Bonus" and I would like the "Total" category to only track the ...
1
vote
0answers
20 views

Userpoints deducting for nodes which are marked with flag

I have a node which is published. I have a global flag, which user suppose to mark to make his nodes visible in Views. This is easy to do. But then I need to charge 40 points every day since node is ...
1
vote
0answers
14 views

Add user points to author for every up vote received to content using Rate module (D7)

I saw the post Add user points for every upvote But that was for rewarding the voter, I want to reward the author like Reddit karma. Does anyone know how to do this with Rules? Vote integration for ...
1
vote
0answers
27 views

How would I add a user rank in their profile in drupal 7

hi i'm very tired for search this (How would I add a user rank in their profile in drupal 7). you know i want to have rank every user . a simple -> amin rank is 18 with 300 point . if you know that is ...
1
vote
0answers
32 views

User Points Rules: Remove points (based on content type)

I currently am using the User Points Rules module to grant points (both moderated and unmoderated) to users for signing up for content using the Signup module. However, for cases where the user ...
1
vote
0answers
22 views

how to access user:userponits field in rules

I have no access from Rules to [points] field or any userpoints field (userpoints module), I have enabled: Rules, Rules scheduled, Rules_ui, Userpoints, Userponints_rules_integration, Userpoints_role ...
1
vote
0answers
51 views

Decimal Points in User Point Module

My client requirement is to assign user points in decimal format. Later on when user wants to credit those points in dollar at that it might go in decimal again. I Installed User Point module in ...
1
vote
0answers
48 views

commerce userpoints discount is not working

I'm using drupal commerce userpoints module for discount using userpoints on checkout page but that is not working when I click on 'Apply Credits'. Can you please guide me in this, how to configure ...
1
vote
0answers
26 views

Award userpoints on checkout using rules

I'm trying to award some user points to users who selects a certain plan during his checkout process (in Drupal 7). Here is the explanation of my website functionality. When a user register with a ...
2
votes
1answer
75 views

How do I alter the Price Component Title in Commerce Userpoints Discount without altering the module?

It seems that when a user adds a Userpoints Discount line item to their shopping cart it appears in the footer as 'Royalty', which will be totally confusing to users. On line #382 of ...
1
vote
1answer
23 views

Menu items with Userpoints total

Is it possible to show the current total userpoints a user have next to menu item? example menu: Home | Downloads | My Points (24) | Logout if it's possible, how would one do this (beginner)
1
vote
1answer
23 views

how to add user points to viewing user when user has viewed content

Can anyone provide me with a simple rule that adds 1 user point to a user when this user has viewed an entity of "article" (for example)? I have enabled the userpoints module and the userpoints rules ...
1
vote
0answers
31 views

Hide/Show certain fields with rules based on userpoints

Is there a way to show/hide certain fields using rules and only show those fields by spending userpoints?
1
vote
0answers
68 views

Deducting a userpoint from the author of a quiz for each question answered correctly by another user

My site uses the quiz and userpoints modules so that users take quizzes and receive a userpoint for each correct answer. That part works fine. What I want to achieve is to have the same number of ...
1
vote
0answers
15 views

How To Add Entity_ID Column (Entity ID) To Userpoints List Transactions in Admin?

/admin/config/people/userpoints/transaction This report is generated in the Userpoints module. It does -everything- we need, but it doesn't display the entity_id field (the ID of the source which ...
1
vote
1answer
26 views

Modify Userpoints List FormTo Show Entity ID?

How does one modify the List used to display userpoints? eg. http://example.com/user/123/points I'd like to be able to modify that (table) to display the Entity ID (the source transaction id). ...
1
vote
0answers
35 views

(current-user:points] token showing points of the full category

The token [current-user:points] showing points of the full category. Example, the token value displays the points of all articles in the article section and I had added the token in every article and ...
1
vote
0answers
19 views

How can I refer to a table to make a level system in Drupal?

I'm working on a RPG website. Users are awarded userpoints (named XP for the need of the "game") depending on their actions. I want to make a level system based on these userpoints. I already made a ...
1
vote
0answers
27 views

userpoints module, what's the difference between `userpoints` and `userpoints_total`?

I'm writing a SQL script to modify userpoint totals. Best I can tell the module has three tables: userpoints, userpoints_total and userpoints_txn. userpoints_txn is straightforward enough, it's a ...
1
vote
0answers
37 views

How to prevent negative userpoints transactions and checkout?

Some remarks on this issue were found in the question about How to prevent userpoint totals from going below a threshold for a given user in D7? and related topics. But there is also a question how ...
1
vote
1answer
29 views

Update remaining points in different site once purchase through points method

I am using userpoints module. What I need to do is once the purchase is done through points methos, update the remaining points in different drupal site. I have tried for webservices. I have created ...
1
vote
1answer
103 views

quiz and userpoints

After a quiz take, the points gained. But if the quiz taken more than 1, the points are gained more than 1. For example; point: 0 after quiz, point: 10 take the same quiz again point: 10+10=20 I ...
1
vote
0answers
36 views

Class name must be a valid object or a string error while voting advance poll

We have some features where we are awarding X points to user on action ex: like a story. For like functionality we are using rate module and to award points to user using userpoints module. By using ...
1
vote
0answers
55 views

Access user points in different drupal site

We have 2 drupal sites, one as CMS and another one is SHOP. In CMS site we are using userpoints module to award points to user on certain actions. Now my question is, How to use these points in SHOP ...
1
vote
0answers
123 views

db_merge : Making a query slow

I am using userpoints module to provide points for different actions that they do on my site. mysql> desc userpoints; +-------------+---------+------+-----+---------+----------------+ | Field ...
2
votes
0answers
73 views

How to set points in userpoints moduel [closed]

I am using the User Points module to award points to user after performing below actions : submit story - give 10 points submit design like design like story I have created rules to grant points ...
1
vote
0answers
41 views

rules php condition not working

I have been trying to use the following php condition to achieve a specific rule required for my project, but I keep failing to match the condition, please help. <?php $sql = "SELECT `mid` FROM ...
1
vote
1answer
147 views

Removing user points using rules module?

I've made a rule to add userpoints by Add user points rule Events 1.A node has been flagged, under "MyFlag" Actions 1.flagged-node:author 2.Value 1 3.Point Category General How do you remove ...
1
vote
2answers
898 views

How to use variables in a PHP evaluation in a rule?

I created a rule with the actions "Provide a variable: mynumber" and "Grant points to a user". I'd like to evaluate the points with PHP, using "mynumber". For some reason, I can't use $mynumber, ...
1
vote
1answer
78 views

How to use the data from a deleted Field Collection item in a Rule?

My 'Article' nodes have a Field Collection, called 'Amounts', that contains an integer field. After deleting a Field Collection item, I'd like to substract some Userpoints from the node's author, ...
1
vote
1answer
73 views

Charging UserPoints for flagging a node with Rules in PHP

I am trying to charge points for flagging a node with Rules in PHP, an I am using the following code. //Get variables and load user. $uid = [userpoints-transaction:user:uid]; $account = ...
2
votes
1answer
95 views

Deduct 10% transaction fee when user donates userpoints to another user using rules - Drupal 7

I want to use rules to deduct 10% of the transaction amount from a donor each time he donates userpoints to another user using the userpoints_donate contrib module. Currently there are no rules events ...
2
votes
1answer
111 views

How to add html to the “My user points” page (user points module)

I am building a Drupal 7 site using the User Points module. I have some issues that I am not able to solve, you can see the issue here. I can go around these issues if I will be able to edit the HTML ...
1
vote
0answers
109 views

Search API module - doesn't have author picture field and userpoints field

I am building a drupal site using Views, search API module and user-points module. I created the "database server", and indexed many fields of nodes. I created a search page using views and the ...
3
votes
1answer
222 views

Buying userpoints?

I am using Drupal Commerce, Userpoints, and Commerce Userpoints. How can I add the possibility for a user to buy some userpoints with different payment methods?
1
vote
1answer
84 views

'Userpoints Transactions: Description' doesn't appear in Views

I am building a site using Drupal 7 and the User Points module. I have an original user points page. There I have table with the column "reason". The HTML code for the "Reason" field (same as ...
1
vote
1answer
55 views

How can I schedule adding a new field collection item for all users?

My users have a field collection, called 'Score', with two fields: 'Date' and 'Points'. I'd like to add a new field collection item for all users at the end of the day, with the current date in 'Date' ...
1
vote
1answer
275 views

How to display field collection items in a chart?

My users have a field collection with 2 fields: 'Points' (integer) and 'Date' (date). I'd like to create a line graph of the 'Points' with the Charts module and use 'Date' as labels. I thought this ...
2
votes
2answers
134 views

If points equal value: reset to zero

I use the User Points module. I've set a rule that add 10 points per content viewed. This was easy. THEN I want to check if user points is greater than 100 and, if it is, send an email to admin, AND ...
2
votes
2answers
127 views

How to prevent userpoint totals from going below a threshold for a given user in D7?

I'd like to set an absolute floor for an individual userpoints, specifically, to make it impossible to have a total number of points below 1. In Drupal 6 there was userpoints_no_negative module in ...
1
vote
1answer
36 views

Awarding points with Rules for uploading a user picture

Does anyone know how to create a rule that awards points to a user for uploading an image? (D7) Thanks. :)
1
vote
2answers
153 views

(How) can I implement a points system to track club member attendance/participation?

I run a Drupal 7 site for one of my clubs at school. My eventual goal is to create a system where club officers can manage all sorts of information about our members through this site (such as contact ...