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
5:10 pm
29 January, 2011
Offline11:16 pm
29 January, 2011
OfflineBased 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:
12 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:
Guest Posters: 7
Members: 2062
Moderators: 1
Admins: 1
Forum Stats:
Groups: 1
Forums: 2
Topics: 1071
Posts: 4042
Newest Members: richdorm, Aaron Velasquez, aaronv, dave5884, tomduckering, ccwebb
Moderators: Ben Miller (386)
Administrators: Mark Barnes (425)
Log In
Register
Home



