I've set up my site so "bonus content", which is made up of three different CCK content types, is marked as premium content. In permissions, only "hosts" and "subscribers" are allowed to see the premium content. For registered users to move to "subscribers" status, I'm using the LM PayPal module. However, when I log out of my site, I can still see content in the categories marked as premium. I thought this might have been a CCK issue, so I made my blog and pages "premium" and they remained visible.
It's almost like the controls for the module are all in place, but they don't actually do anything to the site. I'm running the latest updates of everything. Other modules that are installed and enabled are emfield, fbconnect, feedburner, ffpc, filefield, getid3, link, mollom, pathauto, scheduler, simplemenu, swftools, taxonomycloud, token, views, and wysiwyg. Any suggestions?
Comments
Comment #1
jvieille commentedHave you got your module working?
Mine does not do anything
http://drupal.org/node/456010
Comment #2
joeburnham commentedNope, I walked away from it.
Comment #3
allie mickaFrom the module description:
"Premium nodes appear in listings with full title and teaser available to anyone. If a user does not have adequate privileges, the body is replaced with an administrator-defined message (for example, an invitation to join the site)."
And:
"Because this module does not use the node access system, it does not hide items that are unavailable to a user and is more efficient for large sites."
Is this the behavior you're experiencing?
Comment #4
liquidcms commentedI think i have same issue and perhaps this screen shows obvious point: http://screencast.com/t/NjNmNTQx
this node for this teaser is marked as premium and the text in the red box is the text that the Premium module adds in to "replace" the body. But others fields are still there and the full node is still reachable including being able to d/l the attachment.
i had TAC enabled but it isn't now and there are no other access modules enabled.
although reading Allie's post above: "Premium nodes appear in listings with full title and teaser available to anyone. If a user does not have adequate privileges, the body is replaced with an administrator-defined message (for example, an invitation to join the site)."
i guess the other fields and the attachment are part of the teaser? - and maybe this module ONLY hides the BODY field (which isn't enabled for this node type) and does nothing about preventing a user from going to the node itself?
hmm.. this would make sense - not sure i get the use case for this module then; but certainly not of much help here.
Comment #5
liquidcms commentedcheck out my patch: http://drupal.org/node/642392
i suspect it fixes most/all of what you were looking for.
Comment #6
miklYou should be able to access the $node->premium_access attribute in the node template, and then provide your own display logic there.
Doing separate rendering modes for Premium in CCK would be awesome, though.