| User | Post |
|
11:27 am 26 September, 2009
| bcarter
| | | |
| New Member | posts 2 |
|
|
Right now when a subscriber logs into my site to view or update their profile, they can see the "Sermons" button on the left navigation menu along with the help submenu. Is it possible to change the permissions so that this button does NOT show to subscribers?
If you can give me the code to change, I can edit the php file. Thanks.
|
|
|
12:47 am 29 September, 2009
| Mark Barnes
| | | |
| Admin
| posts 321 |
|
|
The code you need is in the sb_add_pages function in sermon.php (around line 291).
The fourth parameter of add_submenu_page describes the level of permissions required to show the menu. You'll see the help menu is set to 'read'. It would perhaps be more logical for it to be 'edit_posts', which is essentially 'Contributor'.
|
|
|
2:57 pm 10 November, 2009
| markp
| | | |
| Member | posts 6 |
|
|
Hi Mark
Is this really resolved? I see in the current version that it is set to edit_posts but a contributor and subscriber can still see the button and delete sermons.
Thanks
Mark
|
|
|
2:49 pm 20 November, 2009
| markp
| | | |
| Member | posts 6 |
|
|
Anyone else still see this problem?
|
|