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
10 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 ...
0
votes
0answers
5 views

points for the order was

How to make $ 1 = 1 point, not including shipping or vat? Points will be awarded when the status is complete Rules work but including shipping :/
0
votes
0answers
22 views

How to give points to user based on number of characters on post description in Drupal 7?

I have installed the User points, rules and related modules. How to give points to user based on number of characters on post description? Example:- A user will get only 0 point for posting / replying ...
0
votes
0answers
14 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 ...
0
votes
0answers
15 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 ...
0
votes
0answers
18 views

How to prevent negative userpoints transactions and checkout?

Some remarks on this issue were found at 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 to prevent checkout ...
0
votes
1answer
15 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 ...
0
votes
1answer
30 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 ...
0
votes
0answers
26 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 ...
0
votes
0answers
34 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 ...
0
votes
0answers
57 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 ...
1
vote
0answers
44 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 ...
0
votes
0answers
27 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 ...
0
votes
1answer
49 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 ...
0
votes
2answers
325 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, ...
0
votes
1answer
47 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, ...
0
votes
0answers
37 views

Buying store credits with ubercart

I'm searching for a solution to setup a credit-products with Ubercart for my SaaS hosted on Drupal7+ Ubercart. User can buy credits/points through Ubercart that can be use in the SaaS. I was thinking ...
0
votes
0answers
54 views

Display userpoints in currency format (with 2 decimals) using views - Drupal 7

I have a field in views which displays total userpoints for each user. How do i enable views to display this field in currency format (with decimals)? currently i can display points like $500, but i ...
0
votes
1answer
56 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 = ...
0
votes
0answers
30 views

Send userpoints to a user referenced in a commerce order

I want to give userpoints to a user referenced in a particular order with the amount of that order while deducting same userpoints from the user who purchased the order. Basically i want to user ...
1
vote
1answer
60 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 ...
1
vote
1answer
64 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 ...
0
votes
0answers
56 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 ...
0
votes
0answers
27 views

Access to create a Node with userpoints

how i can add the feature that a user have to "pay" some userpoints to get access to create a Node X. I tried it with the module Userpoints Node Access but that adds only the function to have access ...
2
votes
0answers
77 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?
0
votes
1answer
57 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 ...
0
votes
1answer
29 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' ...
0
votes
0answers
189 views

How to display field collection items in a chart?

My users have a field collection with 2 items: 'Points' (integer) and 'Date' (text). I'd like to create a line graph of the 'Points' with the Charts module and use 'Date' as labels. I thought this ...
1
vote
2answers
65 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 ...
1
vote
2answers
68 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 ...
0
votes
1answer
24 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. :)
0
votes
2answers
98 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 ...
2
votes
1answer
130 views

How to change user badge when 'total points' increase?

I am building a community site, in Drupal 7, and using the User Points module and the user badges module. My goal is that every user will always have only one badge, that will be presented near his ...
1
vote
1answer
220 views

How to create a pie chart of user points and taxonomy terms?

I have 3 terms in Taxonomy > User Points: Articles, Comments and Favorites. I created some rules to grant user points of one of these categories, based upon the users' actions. So far, everything ...
1
vote
0answers
33 views

User Points by OG

I activiated the quiz module. Then users can earn points after answering some questions in the quiz. Now I want to have a view to show a list of all group members with their profile attributes and ...
2
votes
3answers
326 views

How to create a line graph of the total user points on a profile page?

I'd like to have a line graph of my users' total user points in time on their profile page. Users shouldn't be able to modify the graph: it should simply graph the user points from the day the user ...
1
vote
1answer
74 views

Rule to Send email to Admin when user points category reaches a certain value

I want to create a rule that sends an email when a user has points for a particular category that reaches a certain value, e.g., 100. Having problems with the condition. I have a User Points category ...
1
vote
1answer
102 views

How to run the Flags module after the Rules module?

As a sequence on this question, I'd like to deduct 2 User Points when a user's first reaction on an Article is deleted (I mentioned my flag 'First reaction' there). I created a Rule 'Reaction removed' ...
1
vote
2answers
192 views

How can I check whether one's current User Points are negative with the Rules module?

My question is pretty straightforward: how can I check whether a user's current amount of User Points is negative with the Rules module? I'd like to create an action that should be activated when the ...
0
votes
2answers
432 views

How to grant user User Points after adding comment once?

I created a rule to grant users User Points when they add a comment on an Article node. However, I'd like to grant them these points only once per node: every comment added to a node after the first ...
0
votes
2answers
89 views

How to save current User Points as field at moment of adding a node?

The registered users on my website can create nodes from a content type called 'Stuff'. I'd now like to display the author's User Points he/she had when he/she created the node. That means: the value ...
1
vote
1answer
86 views

Subtract UserPoints from all taxonomy terms upon purchase?

OK So i was wondering if someone could point me in the right direction. Currently I'm running User Points Module with UberCart in order to purchase items with currency or use points for purchases. Now ...
2
votes
0answers
32 views

Auto Apply credits at checkout

I am using commerce_userpoints which allows the use of credit to discount the amount at checkout of a product. Right now the user needs to do this manually however I would like to automate this. ...
0
votes
1answer
56 views

How to limit the amount of User Points users get?

I've a content type 'Content' with the field 'Value' (an integer) and a flag called 'Publish Content and grant points to user'. Every time a Content is flagged with this flag, I'd like to grant the ...
0
votes
1answer
35 views

How to grant user User Points after publishing content, while content's default is unpublished?

I'd like to grant users User Points when their added content of the content type 'Content', which is unpublished by default, is published. I tried this with the Rules module: - Event: After saving new ...
0
votes
2answers
299 views

How to grant user User Points equal to certain field's value / calculated value?

I've a content type 'Content' with the field 'Value' (an integer). Every time a Content has been published, I'd like to grant the Content's author some User Points, equal to the value in the 'Value' ...
2
votes
0answers
54 views

How to add condition for voting?

I want to put condition when userpoints>=30, then user is able to vote. For this, i did following steps- ON event- "User votes on a node" the condition selected is "Compare current Userpoints" and ...
2
votes
1answer
72 views

Calculate bonuses for users

I'm trying to implement bonus calculation system to my website. It should calculate bonuses for users. This is how it should work: User1 can get 2% bonus User2 has for example 100 points The bonus ...
0
votes
1answer
235 views

Service Userpoins : Missing required argument points

My environment : Drupal 7 & service 3.x I use userpoints and service-userpoints. I want to CRUD userpoints. So i create a xmlrpc server and test it by Postman from Chrome store. The xml code is ...
1
vote
1answer
134 views

How to add new badge after getting certain no. of points?

I'm using the User Badges and User Points modules. I want that when a user gets a certain no. of points, the user's old badge is replaced by a new one. For this, I have already created a rule with the ...