Active
Project:
Node Option Premium
Version:
7.x-1.1
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Nov 2011 at 05:01 UTC
Updated:
12 Mar 2012 at 03:25 UTC
For people who want to record users against premium content:
Record premium status: http://drupal.org/node/1354324
Comments
Comment #1
anrikun commentedCould you please describe more this feature?
Comment #2
peterx commentedThe visitors module records statistics about visitors by day, hour, page, and produces reports. I need to report the premium status of the page when viewed so I created a module, visitors_nopremium, to add the premium field to the Visitors table and to record the premium status in the visitors record. The current module requires a small change to the Visitors module to write the extra field. Hopefully one day there will be a better connection.
The visitors_nopremium module places the premium status in the session. The change to the Visitors module retrieves the status from the session and saves it in the visitors table. I know it could be a separate table but the visitors recording is high volume and I do not want to add another database access.
I added Views to the Visitors module so we can make up our own reports including the premium status.
Comment #3
peterx commentedThe code is now a module in http://drupal.org/sandbox/peter/1477892.