to set it up so that only registered users can post a
petition
to your postnuke .703 website:
1. login to postnuke as the administrator
2. go to the Administration Menu (admin.php)
3. click on Permissions
4. View Group permissions
5. Add Group permission
6. Save new permission after entering the following:
Realm = All realms
Group = Unregistered
Component = SimPetition::
Instance = .*
Permissions Level = Read
7. Also, save another new permission with this:
Realm = All realms
Group = Users
Component = SimPetition::
Instance = .*
Permissions Level = Add
8.
Now, make sure that when you go to View group permissions,
any lines in which Component is "SimPetition::" are ABOVE
any lines in which Group "Users" or Group is "Unregistered"
AND Component is ".*" AND Instance is ".*"
9.
You need to update two files to make sure you have the right
version. These two files are authority_initiatepetition.php
and authority_component_name.php
Place those two files in your
/html/modules/NS-SimPetition/fundefs/ directory (overwriting
old versions of any files you already have) once you get
them.
The authority_initiatepermission.php file should contain the
line:
return
authorised(0,$authority_component_name,".*",ACCESS_ADD);
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=293178
hi,
to set it up so that only registered users can post a
petition
to your postnuke .703 website:
1. login to postnuke as the administrator
2. go to the Administration Menu (admin.php)
3. click on Permissions
4. View Group permissions
5. Add Group permission
6. Save new permission after entering the following:
Realm = All realms
Group = Unregistered
Component = SimPetition::
Instance = .*
Permissions Level = Read
7. Also, save another new permission with this:
Realm = All realms
Group = Users
Component = SimPetition::
Instance = .*
Permissions Level = Add
8.
Now, make sure that when you go to View group permissions,
any lines in which Component is "SimPetition::" are ABOVE
any lines in which Group "Users" or Group is "Unregistered"
AND Component is ".*" AND Instance is ".*"
9.
You need to update two files to make sure you have the right
version. These two files are authority_initiatepetition.php
and authority_component_name.php
Place those two files in your
/html/modules/NS-SimPetition/fundefs/ directory (overwriting
old versions of any files you already have) once you get
them.
The authority_initiatepermission.php file should contain the
line:
return
authorised(0,$authority_component_name,".*",ACCESS_ADD);
authority_component_name.php
authority_initiatepetition.php