• Is there a way to block administrative (edit/modify/create/delte) rights to all users expect for Administrators on a single plug-in?

    I am using the “Gigs Calendar 0.4.1” plug-in in my site. I found out while testing that the plug-in can be modified even by the registered users with no administrator rights at all. I don’t want to have user start deleting events that they did not create either by malice or by mistake. Is there a way to have ONLY administrator have the permissions to create venues, events and edit them also. The only thing I want registered user is to be able to look at the event information.

    Is there a way to do it in the php code? Or maybe on the MySQL tables? What should I be looking for?

    The forums posts on the plug-in’s site make reference to the fact that the plug-in is not design to have different permission levels. ON this plug-in, EVERYBODY is administrator.

    Any help will be greatly appreciated.

Viewing 1 replies (of 1 total)
  • Thread Starter xchido

    (@xchido)

    Found the answer here:

    http://wordpress.org/support/topic/211185

    To fix the Bug you gotta change Line 43 in gigs-calendar.php
    from
    (isset($options[‘user_level’]) ? (int) $options[‘user_level’] : ‘level_7’),

    to

    (isset($options[‘user_level’]) ? $options[‘user_level’] : ‘level_7’), “
    (do not put the quotes ” ” )

Viewing 1 replies (of 1 total)

The topic ‘Admin vs Registered User edit rights PROBLEM!!!’ is closed to new replies.