View Single Post
  #5  
Old 01-12-2007, 08:05 AM
vicki's Avatar
vicki (Offline)
Pencil pusher
Official Member
 
Join Date: Oct 2006
Posts: 23
Thanks: 0
Thanks 3
Default

I am surprised that "user's privacy" is involved here. Programmatically, you don't have to read user's name when you redirect him from url to url. All you have to do is identify whether the user is older than 18 and whether or not he belongs to an adult group:
if((user.isOlderThan18())&&(!user.belongsToAdultGroup())){
displayMessage("To view this you have to register with adult group");
} //or something like this
You have a mechanism like this when you redirect a user who is not logged in to the adult content page. It's just a matter of utilizing this mechanism in a new logic block. Now when an adult user gets to the page he sees: "There are no posts in this category."
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote
The Following User Says Thank You to vicki For This Useful Post:
linming0303 (11-04-2017)