gjwarez (@gjwarez)

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • In reply to: Delete Topic Function

    gjwarez
    Participant

    @gjwarez

    Hey Robin,

    The Role Editor let you change all the roles but can also create new roles.
    I tried both options to upgrade participant with delete_topic an i tried to make a new role with delete_topic and assign it to the members.
    Besides this i deactivated the plugin and i put the delete_topic manually (like previous post)
    all of this did not work.

    I also noticed that the other delete functions like delete_reply are also not working.
    but again when i add delete_others_reply it will work fine for all users replies.

    I will try turning of the plugins and themes but i don’t think that is the answer.

    Thank u and ill let u know.

    In reply to: Delete Topic Function

    gjwarez
    Participant

    @gjwarez

    Hey Robin,

    I add the line in this php file location
    wp-content/plugins/bbpress/includes/core/capabilities.php

    
    		// 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,
    				'delete_topics'         => true,
    				'edit_topics'           => true, 
    				
    				// Reply caps
    				'publish_replies'       => true,
    				'edit_replies'          => true,
    				
    				// Topic tag caps
    				'assign_topic_tags'     => true,
    			);
    
    			break;
    	}
    
    

    In this case the delete_topic does not work,
    if i put delete_others_topics there it will work for all users.

    In reply to: Delete Topic Function

    gjwarez
    Participant

    @gjwarez

    Hey Robin,

    Thanks for your reply,
    I tried some other things but it’s still not working,

    First i disabled the role plugin and then i add the “delete_topic true line”
    to the participant role in capabilities.php but nothing happened.
    But When i add the “delete_others_topics true line” there it will work fine
    (but again for all users and topics)

    So the plugin and the by hand modification are the same in this case.

    U have any idea?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)