Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.00.00 - v2.02.00 Distro
Author Message
sbb
New Member
New Member



Joined: Jun 03, 2006
Posts: 5

PostPosted: Wed Jun 07, 2006 9:59 am Reply with quote

Hello, I have some custom pages made with the Content module

However, I want to allow access to only one page for registered users, and the rest should be allowed for anonymous users. At the moment it's all or nothing.

I was hoping you could advise on how I can change this!

Regards,
Ben
 
View user's profile Send private message
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6432

PostPosted: Wed Jun 07, 2006 10:08 am Reply with quote

I'm not positive, but I believe the CNB Contenudo module might enable specific content to be visible only to registered members.

If not, you'd need to modify the Content module. You'd want a flag on the content table to determine whether it is public or registered only, the ability to edit that flag in the content admin functions, and logic in the content index page to determine whether to display it. There should be a standard function to determine if the visitor is logged in (I think it's the is_user() function).

_________________
I search, therefore I exist...
nukeSEO - nukeFEED - nukePIE - nukeSPAM - nukeWYSIWYG
 
View user's profile Send private message
sbb







PostPosted: Wed Jun 07, 2006 10:23 am Reply with quote

Have you got a link for that module?
 
kguske







PostPosted: Wed Jun 07, 2006 1:00 pm Reply with quote

Sure. It's here.
 
sbb







PostPosted: Wed Jun 07, 2006 5:38 pm Reply with quote

Contenudo couldn't restrict access once the user had registered, so I just put all the pages that I wanted restricted to logged-in users onto the normal Content module, and all the unrestricted pages on Contenudo and it works great Smile

Thanks for the help!
 
kguske







PostPosted: Wed Jun 07, 2006 6:59 pm Reply with quote

That's a different approach, but I'm glad it worked!
 
zqmp987
New Member
New Member



Joined: Apr 04, 2006
Posts: 9

PostPosted: Mon Sep 11, 2006 2:47 pm Reply with quote

The CNB Contenudo module link is dead. I'd like to do the same thing.
Restrict certain pages to registered users and/or groups.

Any suggestions. Thanks.
 
View user's profile Send private message
kguske







PostPosted: Mon Sep 11, 2006 3:13 pm Reply with quote

Strange...it's not available for download on the homepage for the module. But you can get it here, although I'm not sure that's the latest version.
 
zqmp987







PostPosted: Mon Sep 11, 2006 5:09 pm Reply with quote

Got it. I'll give it a try. Thanks.
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.00.00 - v2.02.00 Distro

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©