Topic RSS
12:26 pm
7 June, 2010
OfflineHi!
I have the following question – when you have several registered users on your blog, then you might not necessarily want each of those entitled to post comments to be able to delete the sermons on the go.
Is there a way of disbling the "Delete/Edit sermons" option form the options displayed to contributors of the blog.
Thank you,
Mark
Based on another post that I found this is what I did to help resolve the issue that I and Mark explained.
This may not be a fix for everyone, but it worked for me. This is in the sermon.php file around the 290 line.
/**
* Add Sermons menu and sub-menus in admin
*/
function sb_add_pages() {
global $sermon_domain;
add_menu_page(__('Sermons', $sermon_domain), __('Sermons', $sermon_domain), 'publish_posts', __FILE__, 'sb_manage_sermons', SB_PLUGIN_URL.'/sb-includes/sb-icon.png');
I changed the bolded section to publish_posts instead of edit_posts. This enabled an Author or above to work with the sermon plug-in but not the contributor or subscriber.
I hope this helps and doesn't mess up anything for others.
Nick
Most Users Ever Online: 40
Currently Online: 0be1
18 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
malpan - 2453
jogen - 2440
VanWatterson - 652
GeraldSebring - 364
LucasWoltman - 362
RandellFeenstra - 362
Member Stats:
There have been 7 guest posters
There are 1937 members
There are 1 moderators
There are 1 admins
Forum Stats:
Groups: 1
Forums: 2
Topics: 973
Posts: 3782
Newest Members: damianv, twinton, ellison13579, Daigh, mchunful, jesua
Moderators: Ben Miller (383 )
Administrators: Mark Barnes (425)
Log In
Register
Home



