I need to show each user different daily education posts depending on how many points they have.
Every day they submit information using content-type "Daily Submission" and with each submission, their point_count field count on thair Profile grows by 1 point. As an example, a person gets 14 points after 14 days of successive submissions.
I have created a text post for each day in the program. I assigned point_count value for each post. Now I want to show a post with a poin_count value X to all users who have accumulated X points.
So a user on the first day (day 1) of the program sees a message "Welcome to the program!".
The user on day 10 of the program he sees a message "10 days! Time flies!" And so on.
Different users see different messages depending on post_count field value.
I added point_count field to content type "Daily Submission" and to User Profile.
I am using views and panels to render other values on the page.
Please advise how to achieve this.
Comments
It's not clear do you want to
One way is using the 'Rules' module.
For instance, you can create for your posts the following alises: day-1, day-2 .. day-10
Then you can use the rule like this:
Export of the rule
It is a good solution. But I
It is a good solution. But I want the user to have access to posts not on redirect only. I will try the panel's argument.
But I want the user to have
It seems I didn't understand the goal.
What do you mean by the 'post' term?
Maybe you need just to display a message instead of the redirection?
posts are text content I post
posts are text content I post. nodes.
Do you mean that initially a
Do you mean that initially a user don't have permission to see these nodes?
And after redirection you want to give to him this permission?
I am afraid it is too
I am afraid it is too confusing. I don't have the skills to explain what I need. Sorry.
Ok, but if you still need
Ok, but if you still need help on this, then you can create images to illustrate the goal.
Thank you for no giving up.
Thank you for no giving up. Here is an image of what I need. I hope it is clear enough. Not sure how to upload images here so here is from imgur: https://imgur.com/qu9nSXL
You can just to add a variant
You can just to add a variant for each day.
See the screenshots of the example:
1. https://cdn1.imggmi.com/uploads/2019/12/7/4ed6923ede45b356a4662c3c4a6d91...
2. https://cdn1.imggmi.com/uploads/2019/12/7/51630508ad17ab1ea61beb5573f9c1...
3. https://cdn1.imggmi.com/uploads/2019/12/7/a73cb3c1795b4432f0e354a27d16b8...
4. https://cdn1.imggmi.com/uploads/2019/12/7/253910d37906a87e29178984edbd9f...
5. https://cdn1.imggmi.com/uploads/2019/12/7/36373ac14e21b5b52e96a8a9bc441b...
6. https://cdn1.imggmi.com/uploads/2019/12/7/833dc455f5d33a76ccf28058ef0fc4...
7. https://cdn1.imggmi.com/uploads/2019/12/7/512dcb769c81953d77138f2ffea10e...
8. https://cdn1.imggmi.com/uploads/2019/12/7/215ad9ca3a0bf375f44bffb681965a...
9. https://cdn1.imggmi.com/uploads/2019/12/7/cee8affc01c5878e5794c7fc43c7af...
10. https://cdn1.imggmi.com/uploads/2019/12/7/35fc6c30483fd690cb3c2c7cc81a2e...
11. https://cdn1.imggmi.com/uploads/2019/12/7/df42bbd18301933894369d470c5db0...
12. https://cdn1.imggmi.com/uploads/2019/12/7/f70ac46e6de720642207774acfe7ca...
13. https://cdn1.imggmi.com/uploads/2019/12/7/d670f9927449cfcb71db1369db835d...
14. https://cdn1.imggmi.com/uploads/2019/12/7/5a472bcbec0103f4bbe30c48705d39...
It worked like a charm. Even
It worked like a charm. Even better: the same works without creating many variants. I can do it in the same variant and use Visibility rules for the content panels. Here is the image: http://tinyurl.com/yxxb98m3
Thank you so much. I would never know where to look.