Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Add capibilities to a role

@ajd

Participant

I have tried the plugin that is supposed to do this, but it didn’t work. In frustration I edited the core file: includes/core/capabilities.php But sadly nothing has changed, participants still can not delete their own topics. Clearly I’m missing something.


		// Participant/Default
		case bbp_get_participant_role() :
		default :
			$caps = array(

				// Primary caps
				'spectate'              => true,
				'participate'           => true,

				// Forum caps
				'read_private_forums'   => true,

				// Topic caps
				'publish_topics'        => true,
				'edit_topics'           => true,
                                // manually added this
				'delete_topics'         => true,

				// Reply caps
				'publish_replies'       => true,
				'edit_replies'          => true,
                                // manually added this
				'delete_replies'        => true,

				// Topic tag caps
				'assign_topic_tags'     => true,
			);
Skip to toolbar