Questions tagged [userpoints]

Use it for questions on the module which allows users to earn and use points through various activities: the Userpoints module.

Filter by
Sorted by
Tagged with
2
votes
1answer
57 views

How to track user node views and quiz results

I am searching for the easiest way to track wether particular user has read particular group of nodes (training material) and did the quizes that are related to those nodes. In success case I would ...
0
votes
0answers
46 views

Purchase through points

For ex. person A introduce person B and B register in drupal commerce/ubercart site. Now I want give A 5 points that A can buy other products with him/her points. How Can I do this in drupal 8?
3
votes
1answer
56 views

How to use User Points to buy/sell a custom content type?

I'm currently working on an educational project as a sort of final keystone project for my major in undergrad. The project is a online artwork trading game, in which students take on the role of being ...
3
votes
1answer
92 views

How to stop negative user points?

I am using Drupal 7 and working on a rating site using Fivestar and Userpoints. What I want is for a certain amount of points to be deducted from a user when he makes a post, and also points deducted ...
2
votes
1answer
68 views

Is there way for create custom “add userpoints transaction” form

Good day to everyone! I have view which show user list, current userpoints, and email. I want set some link, which will lead to add transaction form where name will already fill. Is there way to add ...
1
vote
1answer
256 views

Why do my Commerce rules incorrectly award double userpoints?

I have 2 products and when user buy it I want award userpoints depend on quantity. For this task I use specific module (Rules array create and commerce rules extra) it let me create array base on ...
1
vote
1answer
85 views

How can I remove decimals when I award user points via commerce-order-total:amount

I want award users after completing the checkout process. For this task I use this modules (Commerce, UserPoints, Commerce Credits). I create a product with a price equal 15$ and create a rule which ...
1
vote
1answer
21 views

How to show a View with Rules

I want to add an action that shows a view whenever the user earns User Points. I checked it and there's no rules for Views so I'm wondering how could I do it. I'm using Drupal 7.
2
votes
1answer
147 views

How to create a rule that grants user points after a user passed a quiz?

I'm using Drupal 7 and the Quiz module (version 7.x.5.x). I'd like to grant User Points to a user whenever a user answers correctly. I have to use the Rules module and I wonder how I can create a ...
2
votes
1answer
105 views

How to grant User Points after Quiz questions are answered correctly?

I have the User Points module enabled and I want to use the Rules module to create a rule which lets a user win User Points whenever the user answers correctly my questions. I don't know what should ...
2
votes
1answer
244 views

How to count the number of checked Checkboxes with Rules?

I have a Drupal Commerce site which uses user points (= coins) for paying. I have a special case - the product, which the user should buy with his/her coins, needs some fields filled out by the user. ...
0
votes
1answer
43 views

How to recalculate the current User Points?

I manually deleted a couple of User Point transactions in my database's table userpoints_txn. This results in inaccurate current User Points in the table userpoints_total. Clearing caches or running ...
3
votes
1answer
123 views

How to pass a variable about sufficient User Points to a Rules condition in another rule?

I used this link to set up a UserPoints Store: Drupal 7 - How to Set up a Simple UserPoints Store. For some reason when I buy (flag) a node (store item) and for quantity I put more UserPoints, than ...
2
votes
1answer
77 views

Available approaches for moving userpoints from one user to another [closed]

Using the User Points module, I have this use case to design: "move user points from User A to User B" What are the possible approaches we have here?
2
votes
1answer
57 views

How to change the date of rewarded User Points?

When users publish a node on my website, they are rewarded some User Points with Rules. So when one publishes a new node on 25th June 2016, the User Points are stored with the exact same date. As an ...
3
votes
1answer
141 views

How to assign user ranks based on their userpoints?

I am using the User Points and User points Nodes and Comments modules to calculate user points when they publish an articles or comment on a node. On these points I want to assign some rank to the ...
1
vote
1answer
151 views

How to calculate margins based on JSON and ONIX (XML) input and calculate points based on them?

In a Drupal Commerce distribution based on Drupal 7 we sell books. First I want to calculate a margin price based on several given data. The JSON is imported or can be manually added. The ONIX (in ...
5
votes
3answers
790 views

How to use the Rules module to award userpoints to referring users?

I am creating a referral program on Drupal. I have almost everything working right except awarding userpoints to users. I want to award userpoints to users after the person they refer to the site ...
2
votes
1answer
80 views

User points category = taxonomy term

Im using user points (module) to reward users whenever they create content on my site. Now, I`d like to start rewarding thise points within categories (Points categories). The categories I want in my ...
1
vote
0answers
33 views

How to configure Userpoints settings? [closed]

How can I configure the User Points module so that if I open a forum that you can deduct 50 points? And if you can give a comment for 25 points.
1
vote
1answer
124 views

How is the module Userpoints Donation intended to work?

I enabled the Userpoints Donation module (part of Userpoints Contrib). Then I put a check in the settings for the type of material - (Choose which content types should show a donate points link). ...
2
votes
2answers
91 views

How to prevent users with negative balance of user points from viewing nodes?

I have a rule that deducts 1 point from users viewing a node, however the problem is that users with a negative balance can still view a node. So I would want to prevent this. I'm using Drupal 7 with ...
1
vote
2answers
127 views

How to show the number of user points within the user who posted a comment?

I use the User Points module. Despite of my searches, I didn't find answer to this question: In the user profile of a comment, how to show the number of user points? For example to show the number ...
1
vote
1answer
214 views

Recover content from a deleted user and assign ownership to other user [duplicate]

There is a user that needs to be deleted but I need to keep his content. I want to know if there's a way to transfer the ownership of all of his content (nodes, userpoints, etc.) to another user? I ...
1
vote
0answers
35 views

How to display User Points Top 5 Contributors with the users profile image?

I'm trying to display the user's profile image/avatar next to the userpoints top 5 contributors block. The profile image is a field created from Profiles 2 module - field_profile_image.
1
vote
0answers
109 views

Approve userpoints programmatically

I grant my users userpoints with pending status, for some actions on my site. I want to automatically approve the points after 2 weeks. Is there a function to change the status of the points? Also I ...
1
vote
1answer
159 views

userpoints reset for drupal 7

I need to reset userpoints for all users to zero now that the site is live. how can I do that? there used to be a userpoints_reset module for drupal 6, but it's not yet ported to drupal 7 thanks.
1
vote
1answer
65 views

How to implement a transaction process between users using the Privatemsg module?

I am trying to develop a transaction process between two users who can do transaction using a form with two fields: a text message to communicate back and forth a virtual point to trade the product ...
0
votes
2answers
63 views

What is the best way to add user points to existing users

I have a dev and prod versions of my D7 site. On dev I developed some functionality based on User Points module and plan to roll out it on prod. But it requires some initial number of user points for ...
0
votes
2answers
64 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 ...
1
vote
2answers
83 views

How to grant userpoints only for modifying nodes last changed at least 20 days ago?

I am not sure how to go about this. I use the Userpoints module in Drupal 7 to attribute points to users who create nodes ('reviews'). I also want to allow them to gain some points if they supersede ...
1
vote
2answers
89 views

How to check a user's current userpoints balance with Rules?

I am interested in creating a rule that checks a user's userpoints and then the rule performs an action. Currently the Rules module doesn't have such condition. I read that this is possible to do ...
2
votes
3answers
157 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
3answers
210 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 ...
3
votes
1answer
197 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
22 views

Edit the Userpoint Total Section

I have 3 userpoint categories: Points, Fines and Bonus. I'd like the Total category to only track the Points and Fines category, while the other Bonus category is tracked separately. I know the ...
3
votes
1answer
81 views

How to periodically deduct user points for flagged nodes?

I have a node which is published. And I have a global flag, which users have to mark to make nodes visible in Views. This is easy to do. But then I need to charge 40 user points for every day that ...
1
vote
1answer
37 views

How to limit flagging of articles to users with sufficient userpoints using Rules?

I am using User Points and Rules. Users earn points for publishing and commenting but are deducted points for flagging their articles for announcement on the front page (a kind of a fee). The fee per ...
1
vote
1answer
51 views

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

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
1answer
149 views

How to add a user rank in their profile?

I want to have rank for every user. A simple -> amin rank is 18 with 300 points. Any suggestions?
1
vote
1answer
218 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 ...
2
votes
1answer
145 views

How to access current amount of earned userpoints in a Rules Condition?

I have no access from Rules to [points] field or any userpoints field (User points module). I have enabled: Rules, Rules scheduled, Rules_ui, Userpoints, Userponints_rules_integration, ...
1
vote
0answers
146 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
155 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
1answer
116 views

How to award User Points after checkout using Rules?

I'm trying to award some User Points to users who select a certain plan during his checkout process. Here is the explanation of my website functionality. When a user register with a role, the user ...
2
votes
1answer
427 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
39 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
2answers
69 views

How to grant 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 User Points module and the "Userpoints ...
1
vote
0answers
43 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
82 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 ...