Dear experts,
I am having difficulty setting the permission for the Unregistered members. I want to set a permission which only allow registered members to enter the games module. Can you should me how to do that?
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- craigh responded to »Using PageUtil::addVar() to load script code« 03:29 PM
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Permission Set...?
-
**unknown user**
- Rank: Softmore
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 451
theunknown
Dear experts,
I am having difficulty setting the permission for the Unregistered members. I want to set a permission which only allow registered members to enter the games module. Can you should me how to do that?
Restricting access to modules very from module to module. I have collected a list of permission primers from past posts and other resources that may be useful. Please take a look, try a few things, then post your questions. I'll be happy to help :D
Forum Posts:
http://forums.postnuke.com/index.php?name=PNphpBB2&file=viewtopic&t=6614 (Setting up a group to allow special users to post news to admin panel [Add Story])
http://forums.postnuke.com/index.php?name=PNphpBB2&file=viewtopic&t=6130 (More on users posting news to admin panel [Add Story])
http://forums.postnuke.com/index.php?name=PNphpBB2&file=viewtopic&t=6695 (Setting up permissions for Downloads)
http://forums.postnuke.com/index.php?name=PNphpBB2&file=viewtopic&t=6687 (posting comments for unregistered users)
Here's a short document explaining why some permission rules don't work as one might expect them to: http://sourceforge.net/docman/display_doc.php?docid=13645&group_id=27927
More Permission Documentation:
http://forums.postnuke.com/pnGuide/permissions.html
http://www.syriatourism.org/new/manual/permissions.html
http://news.postnuke.com/modules.php?op=modload&name=News&file=article&sid=1648
http://news.postnuke.com/modules.php?op=modload&name=News&file=article&sid=1650
http://centre.ics.uci.edu/~grape/modules.php?op=modload&name=Wiki&file=index&pagename=Permission%20Samples -
**unknown user**
- Rank: Softmore
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 451
theunknown
I set it
Unregistered| Modules::| Games: |None
Doesnt work. Could you helP?
Did you place the permission in the right order? Can post a screen shot or print the order of your other permissions? Also please provide a download link to the games module so I can install it and check it out. -
**unknown user**
- Rank: Freshman
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 66
Hi,
This is the permission in order
Admins .* .* Admin
All groups Menublock:: Main Menu:Administration: None
Users .* .* Comment Edit | Delete
Unregistered Menublock:: Main Menu:(My Account|Logout|Submit News): None
Unregistered .* .* Read
Unregistered Modules:: Games: None
========
Game link:http://js.troysservices.com/ -
**unknown user**
- Rank: Softmore
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 451
theunknown
Hi,
This is the permission in order
Admins .* .* Admin
All groups Menublock:: Main Menu:Administration: None
Users .* .* Comment Edit | Delete
Unregistered Menublock:: Main Menu:(My Account|Logout|Submit News): None
Unregistered .* .* Read
Unregistered Modules:: Games: None
========
Game link:http://js.troysservices.com/
Try moving the permission up one like so:
Unregistered Modules:: Games: None
Unregistered .* .* Read -
**unknown user**
- Rank: Softmore
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 451
theunknown
I still can see the game page. I logged out as admin, and I still can see it
Sorry. The syntax is incorrect for the permisson. Try this.
| Unregistered | Games:: | .* | None |
| Unregistered | .* | .* | Read | -
**unknown user**
- Rank: Softmore
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 451
theunknown
Unregistered Games:: .* None
No. that still does nto do. *sighs..
Can I have a download link to the games module so I can install and test it? Perhaps I can figure out what's wrong then. -
**unknown user**
- Rank: Softmore
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 451
theunknown
I've already posted in the earlier post. hehehe
Game link:http://js.troysservices.com/
Whoa... this is a huge module :shock:
I am not a programmer but judging from from what I can see this module is not pnAPI compliant and is not configured for the permissions system using the PostNuke Security Authorization Schema.
Example: pnSecAddSchema('Games::' , 'name:Category: ID');
"This was a phpnuke module. I ported it over to postnuke and changed the layout. If you need help installing drop by the forum."
In order to get this module to respond to permissions you have to include files to enable it to be configured for PN Module Authorization.
http://pnapi.com/index.php?module=ContentExpress&func=display&ceid=9&bid=22&btitle=documentation&meid=28 -
**unknown user**
- Rank: Freshman
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 66
ahhh.. I'm clueless of what you sent me. Anyways, I guess I'll leave it the way it is then.
Are u familiar with the htmlpages module? Is there anyway you can set the permission for only a particular page ID? -
**unknown user**
- Rank: Softmore
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 451
theunknown
ahhh.. I'm clueless of what you sent me. Anyways, I guess I'll leave it the way it is then.
Are u familiar with the htmlpages module? Is there anyway you can set the permission for only a particular page ID?
No, I need to check that one out when I have more time. If the htmlpages module is pnAPI compliant or uses the PN authorisation scheme then it should work with permissions :D
- Moderated by:
- Support
Users on-line
- 0 users
This list is based on users active over the last 60 minutes.
