Hello,

I want to add a functionality to my drupal site that I want to show a message after a particular no of visits(say 3) of Premium content (or of particular URL with /* as a wild card). Message may be for paid subscriptions.
Please help and tell if there is some useful module for that??

Thanks.

Comments

mcfilms’s picture

Maybe look at Userpoints and Rules. Add a userpoint each time the registered user visits a premium content page. When they hit the limit, display the message.

A list of some of the Drupal sites I have designed and/or developed can be viewed at motioncity.com

tonu110’s picture

Thanks mcfilms for Quick reply, I will try this and update.

tonu110’s picture

but how to add userpoints on a page visit, there is no solution in userpoints_contrib modules??

mcfilms’s picture

You're going to have to play around with Rules a bit. Perhaps test out the D7 version of this module: https://drupal.org/project/pathrules

A list of some of the Drupal sites I have designed and/or developed can be viewed at motioncity.com

tonu110’s picture

combination of rules, userpoints and path rules worked for me perfectly, thanks

mcfilms’s picture

Great! I'd also like to advocate for documenting how you solved it on this thread. It will help the next person searching for this same topic, so it is a great way to "pay it forward."

But it also can serve to remind you how you did it. More than once I have had to do something again from scratch. After a couple years I don't remember the exact steps, but I do remember I documented it. When I return to the thread it's like I left myself a digital post-it reminder. Additionally you get the bonus thanks of all the folks that use your recipe and take a second to say thanks.

So sharing it really is a win-win-win.

A list of some of the Drupal sites I have designed and/or developed can be viewed at motioncity.com