By copyhold on
he||o all
I need to show to unregistered users only the teasers and forbid to view full node.
I might do this by checking permissions in node.tpl.php and present teaser or full node/ but the problem is that in this case information si saved in history. - user A visited node B.
So how can i allow show teaser only without logging a visit in history.
Comments
...
So delete the record from the history. Save the NID somewhere and delete it in hook_footer(). (it probably isn't called hook_footer; check the docs.) Or run a cron to do delete all unwanted records.
A possible newbie explanation for this?
I realize this is an old thread (and I have searched for the answer) but I would really like to understand how to do this using Drupal 5:
1) Have a "teaser" that is publicly visible
2) Have the body private so that you must register in order to read it
Bonus: Have the body private so that you must purchase (if using ubercart, for example) to read the rest
Is there a howto by chance that might help with this?
Thank you in advance for any guidance or pointing me in the right direction.