Author |
Message |
sbb
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Jun 03, 2006
Posts: 5
|
Posted:
Wed Jun 07, 2006 9:59 am |
|
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 |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
Site Admin
![](modules/Forums/images/avatars/41f0b40a419280935f3a0.gif)
Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Wed Jun 07, 2006 10:08 am |
|
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...
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
sbb
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Jun 07, 2006 10:23 am |
|
Have you got a link for that module? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Jun 07, 2006 1:00 pm |
|
Sure. It's Only registered users can see links on this board! Get registered or login!. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
sbb
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Jun 07, 2006 5:38 pm |
|
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
Thanks for the help! |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Jun 07, 2006 6:59 pm |
|
That's a different approach, but I'm glad it worked! |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
zqmp987
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Apr 04, 2006
Posts: 9
|
Posted:
Mon Sep 11, 2006 2:47 pm |
|
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. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
kguske
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Sep 11, 2006 3:13 pm |
|
Strange...it's not available for download on the Only registered users can see links on this board! Get registered or login! for the module. But you can get it Only registered users can see links on this board! Get registered or login!, although I'm not sure that's the latest version. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
zqmp987
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Sep 11, 2006 5:09 pm |
|
Got it. I'll give it a try. Thanks. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|