Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '+.+default+.+'

Viewing 25 results - 1,851 through 1,875 (of 6,788 total)
  • Author
    Search Results
  • #172160
    Robin W
    Moderator

    if it isn’t still a caching issue, it could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    #172153
    Shane Skwarek
    Participant

    Follow up:

    I copied the folder bbpress from:
    wp-content/plugins/bbpress/templates/default

    Into my theme’s directory and made the necessary changes there and it seemed to resolve the problem.

    Hopefully this helps out other developers in the future!

    #172150
    Shane Skwarek
    Participant

    Hi All–

    I know this issue has been covered a dozen times, but I can’t seem to find an appropriate answer as it’s always been resolved by running an update.

    Whenever a reply is posted on our site, it fails to appear. We ARE using a custom theme, so I suspect that this is likely the root of the problem. However, if someone can help point more towards WHAT we should be including in our themes to make sure that the replies display, I’d be grateful.

    Here’s a link to a topic page where the replies do not show:
    https://www.mta.org/forums/topic/cmt-level-1-exam-ethics/

    Thus far, I’ve already:
    – Updated to the latest WordPress
    – Updated to the latest BuddyPress
    – Ran a repair on the tables
    – Changed to a default theme to confirm it’s a theme issue

    Any advice is greatly appreciated.

    #172105

    In reply to: Hiding Sub-parents

    Robin W
    Moderator

    Ok, you need to amend some templates and put these into your child theme

    https://codex.bbpress.org/functions-files-and-child-themes-explained/

    Sub-forum removal

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your theme

    find
    wp-content/plugins/bbpress/templates/default/bbpress/loop-single-forum.php
    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/loop-single-forum.php
    bbPress will now use this template instead of the original
    and you can amend this to remove the sub forums

    line 44 says <?php bbp_list_forums(); ?>

    delete this line and the sub forums will go !

    forum posts

    do the same as above, but for content-single-forum

    and then take out line 26 that says

    <?php bbp_single_forum_description(); ?>
    
    
    #172091
    cbsyph
    Participant

    1) I’m trying to figure out how to reduce the size of the Heading/Title bar of the forums/topic etc.

    The default is about a 1 1/2 inch thick solid bar. However; the text Forum/topic/post and freshness is about a third of that width. I’d like the title box to be more stream lined rather than bulky as it is…

    I’ve been trying to locate the appropriate CSS file and lines to update but have had no luck.

    2) I assume this is kind of the same formatting issue and can be resolved the same way. Each topic in the forum is allocated about 1 1/2 inches of space to show the topic titel, and its corresponding counts. Again I only need that space to be about 1/2 inch at most.

    I’m aware that its probably most appropriate to use padding and margins to explain what i’m seeing and trying to change. But I’m a novice and figured i used jargon more familiar to me.

    #172087
    _az_
    Participant

    Thanks for pointing that out. I think i should make more use of bbp_parse_args().

    bbp_create_initial_content() seems to be a good idea for deploying initial content, but i needed something more flexible, which can be used in the Dashboard. E.g. for deploying a default structure, given in said JSON File to a newly created Forum.

    #172061
    selenii
    Participant

    But why have I to participant group, default from wordpress and other from bbpress. Is it rigth?

    #172059
    Robin W
    Moderator

    it’s not the default behaviour.

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    #172056
    Robin W
    Moderator

    ok, so you need to amend form-topic.php

    Presumimg you can use FTP and use an editor

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your theme

    find
    wp-content/plugins/bbpress/templates/default/bbpress/form-topic.php

    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/form-topic.php

    bbPress will now use this template instead of the original
    and you can amend this

    So in form-topic.php you need to amend line 28 from

    <?php if ( bbp_current_user_can_access_create_topic_form() ) : ?>
    

    to

    <?php if ( bbp_current_user_can_access_create_topic_form() && (bbp_get_forum_title() == 'other'  ) : ?>
    

    This should then only allow new topics if the user can create a topic and the cforum title is ‘other’ forum

    This is untested, but should work !

    #172054

    In reply to: bbPress and s2Member

    Robin W
    Moderator

    not quite sure what your questions is.

    bbpress will assign the default role on first user login – that’s the way it does it – in effect if there is no role it gives the user then default. So when s2member creates the account, you may not see a bbpress role until they have logged in.

    if that isn’t your question, then I’m not sure what you mean by

    However, they still cannot access the forums because a subscription has not been created in s2Member

    Isn’t that exactly what a membership plugin should do??

    bit confused, but please come back and explain some more !

    #172051

    In reply to: Forum images

    celsocos
    Participant

    Hello Mr. Pascal, all. I changed my theme to default Twenty Sixteen and the forum worked as expected.
    I was able to find the root cause of my issue in a incompatibility between Be Theme and bbp Style Pack.
    Once I removed the template files, the style worded as expected. However I lost theme customization, so I need someone to tweak the template files for me.
    – There is no major bug in bbPress Toolkit
    – There is no major bug in bbp Style Pack
    – There is no major bug in Be Theme

    I have a incompatibility, maybe related with !important I can see back and forth.

    To solve this issue, I have removed the template files from Theme Directory and started to recreate a new one, step-by-step, until I find the issue. (I also have a bug with verbal tense here!!)
    Thanks for you attention reading this.

    If you find a similar issue, please consider incompatibility with your theme.

    Regards,
    Celso.

    #172048
    Robin W
    Moderator

    ok – can only suggest it could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    #172035
    Robin W
    Moderator

    It’s because you haven’t set the moderate primary cap 3rd one down in the list below.

    The full default mod caps are

    // Moderator
    		case bbp_get_moderator_role() :
    			$caps = array(
    
    				// Primary caps
    				'spectate'              => true,
    				'participate'           => true,
    				'moderate'              => true,
    				'throttle'              => true,
    				'view_trash'            => true,
    
    				// Forum caps
    				'publish_forums'        => true,
    				'edit_forums'           => true,
    				'read_private_forums'   => true,
    				'read_hidden_forums'    => true,
    
    				// Topic caps
    				'publish_topics'        => true,
    				'edit_topics'           => true,
    				'edit_others_topics'    => true,
    				'delete_topics'         => true,
    				'delete_others_topics'  => true,
    				'read_private_topics'   => true,
    
    				// Reply caps
    				'publish_replies'       => true,
    				'edit_replies'          => true,
    				'edit_others_replies'   => true,
    				'delete_replies'        => true,
    				'delete_others_replies' => true,
    				'read_private_replies'  => true,
    
    				// Topic tag caps
    				'manage_topic_tags'     => true,
    				'edit_topic_tags'       => true,
    				'delete_topic_tags'     => true,
    				'assign_topic_tags'     => true,
    			);

    you are missing

    'moderate'              => true,
    

    from yours !

    #172028
    Pascal Casier
    Moderator

    Did you also try to switch to a default theme ? (It’s my last idea 🙁 )

    Pascal.

    kodacollider
    Participant

    Hello. I’m trying to fix the structure with the forums and topics, which is really odd by default.

    So viewing forums, the breadcrumbs and url looks something like:

    /forums/forum-category-name/forum-name/

    Which seems well and good. But as soon as I go to a topic, the URL changes to:

    /topics/post-name/

    and the breadcrumbs change to:

    /topics/forum-category-name/forum-name/post-name/

    This seems really strange. Is there a way that I can fix it so that it just continues with a more logical parent/child nesting structure in the url and breadcrumbs?

    Ideally I’d like the url for viewing a topic to be:

    /forums/forum-category-name/forum-name/post-name/

    And the breadcrumbs to also be:

    /forums/forum-category-name/forum-name/post-name/

    It just makes a lot more sense and is easier to navigate. By default as soon as I click on a post to view it, I can no longer go back to the forum root from the breadcrumbs because the link is replaced with “topics” instead. It’s just a headache to get around this way.

    Can anyone help?

    Thanks.

    #172017
    awal16
    Participant

    I have a problem with custom capalities. I have this code in my functions.php in the child-theme:

    // Nieuwe forumrolnaam toevoegen
    function add_new_roles($bbp_roles){
    	$bbp_roles['bbp_global_moderator'] = array(
    		'name' => 'Globale moderator',
    		'capabilities' => custom_capabilities( 'bbp_global_moderator' )
    	);
    	return $bbp_roles;
    }
    
    // Nieuwe forumregels toevoegen
    add_filter('bbp_get_dynamic_roles', 'add_new_roles', 1);
    
    function add_role_caps_filter($caps, $role) {
    	// Only filter for roles we are interested in!
    	if ($role == 'bbp_global_moderator')
    		$caps = custom_capabilities($role);
    	
    	return $caps;
    }
    
    add_filter('bbp_get_caps_for_role', 'add_role_caps_filter', 10, 2);
    
    function custom_capabilities($role) {
    	switch($role) {
    		// Capabilities for 'global_moderator' role
    		case 'bbp_global_moderator';
    			return array(
    				// Primary caps
    				'spectate'				=> true,
    				'participate'			=> true,
    				'view_trash'			=> true,
    				
    				// Forum caps
    				'publish_forums'		=> false,
    				'edit_forums'			=> false,
    				'edit_others_forums'	=> false,
    				'delete_forums'			=> false,
    				'delete_others_forums'	=> false,
    				'read_private_forums'	=> true,
    				'read_hidden_forums'	=> false,
    				
    				// Topic caps
    				'publish_topics'		=> true,
    				'edit_topics'			=> true,
    				'edit_others_topics'	=> false,
    				'delete_topics'			=> true,
    				'delete_others_topics'	=> false,
    				'read_private_topics'	=> true,
    				
    				// Reply caps
    				'publish_replies'		=> true,
    				'edit_replies'			=> true,
    				'edit_others_replies'	=> false,
    				'delete_replies'		=> true,
    				'delete_others_replies'	=> false,
    				'read_private_replies'	=> true,
    				
    				// Topic tag caps
    				'manage_topic_tags'		=> false,
    				'edit_topic_tags'		=> false,
    				'delete_topic_tags'		=> false,
    				'assign_topic_tags'		=> false,
    			);
    			break;
    		default :
    			return $role;
    	}
    }

    When I set a user to the specific role, he/she can’t read the closed forum or topic. I get the 404 error: oops, can’t find that page. When I set the user to a standard role, like moderator, it’s fine. So, I copied the same rules capabilities (true/false part) of the moderator, to my functions.php in the child, but that doesn’t seem to help. What is going wrong?

    #171921
    Pascal Casier
    Moderator

    Hi,
    That seems like a pure WordPress question, not really for bbPress.
    But have a look at this: http://wordpress.stackexchange.com/questions/15304/how-to-change-the-default-registration-email-plugin-and-or-non-plugin

    Pascal.

    #171916
    stewmills
    Participant

    Facts:
    – WordPress 4.2.2
    – bbPress 2.5.8
    – Theme – Karma 3.0.3

    How do I change who gets notified when there is a new user registration request? The default email address that is in my WP profile is not necessarily who I want to get the new user requests as the persons managing the forum are separate from those managing the general site, etc.

    Thanks

    #171914
    awal16
    Participant

    I added the custom capabilities to my functions.php in the child-theme. When I go to Users, in the back-end of WordPress, there are warning texts like, Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘add_new_roles’ not found or invalid function name in C:\xampp\htdocs\mnddb_nieuw\wp-includes\plugin.php on line 235.

    What did I do wrong?

    My code in the function.php looks like:

    <?php
    // Exit if accessed directly
    if ( !defined( 'ABSPATH' ) ) exit;
    
    // BEGIN ENQUEUE PARENT ACTION
    // AUTO GENERATED - Do not modify or remove comment markers above or below:
    
            
    if ( !function_exists( 'chld_thm_cfg_parent_css' ) ):
        function chld_thm_cfg_parent_css() {
            wp_enqueue_style( 'chld_thm_cfg_parent', trailingslashit( get_template_directory_uri() ) . 'style.css' );
        }
    endif;
    add_action( 'wp_enqueue_scripts', 'chld_thm_cfg_parent_css' );
    
    // END ENQUEUE PARENT ACTION
    
    // Nieuwe forumrolnaam toevoegen
    function add_custum_role($bbp_roles){
    	$bbp_roles['bbp_global_moderator'] = array(
    		'name' => 'Globale moderator',
    		'capabilities' => custom_capabilities( 'bbp_global_moderator' )
    	);
    	return $bbp_roles;
    }
    
    // Nieuwe forumregels toevoegen
    add_filter('bbp_get_dynamic_roles', 'add_new_roles', 1);
    
    function add_role_caps_filter($caps, $role) {
    	// Only filter for roles we are interested in!
    	if ($role == 'bbp_global_moderator')
    		$caps = custom_capabilities($role);
    	
    	return $caps;
    }
    
    add_filter('bbp_get_caps_for_role', 'add_role_caps_filter', 10, 2);
    
    function custom_capabilities($role) {
    	switch($role) {
    		// Capabilities for 'global_moderator' role
    		case 'bbp_global_moderator';
    			return array(
    				// Primary caps
    				'spectate'				=> true,
    				'participate'			=> true,
    				'moderator'				=> false,
    				'throttle'				=> false,
    				'view_trash'			=> true,
    				
    				// Forum caps
    				'publish_forums'		=> false,
    				'edit_forums'			=> false,
    				'edit_others_forums'	=> false,
    				'delete_forums'			=> false,
    				'delete_others_forums'	=> false,
    				'read_private_forums'	=> true,
    				'read_hidden_forums'	=> false,
    				
    				// Topic caps
    				'publish_topics'		=> true,
    				'edit_topics'			=> true,
    				'edit_others_topics'	=> false,
    				'delete_topics'			=> true,
    				'delete_others_topics'	=> false,
    				'read_private_topics'	=> true,
    				
    				// Reply caps
    				'publish_replies'		=> true,
    				'edit_replies'			=> true,
    				'edit_others_replies'	=> false,
    				'delete_replies'		=> true,
    				'delete_others_replies'	=> false,
    				'read_private_replies'	=> true,
    				
    				// Topic tag caps
    				'manage_topic_tags'		=> false,
    				'edit_topic_tags'		=> false,
    				'delete_topic_tags'		=> false,
    				'assign_topic_tags'		=> false,
    			);
    			break;
    		default :
    			return $role;
    	}
    }
    
    #171874
    awal16
    Participant

    Thanks a lot! I read it, but they only talk about the directory files in de bbpress/templates/default. I also made changes in bbpress/includes/core/capabilities. Do I put these files in the same folder in my child-theme (bbpress)?

    #171868
    Robin W
    Moderator

    From the docs

    The “css” directory contains style sheets that work with the default markup. Copy any you want to modify into a directory named “css” in your theme’s root. eg. /wp-content/themes/%your-theme%/css/

    #171834
    Pascal Casier
    Moderator

    Hi,
    I suppose you mean that you want to change the default page that you get when going on /forums ?
    If so, just create a page in WordPress and change the slug to ‘forums’, then put anything you want in that page.

    The standard page shown when going on /forums is content-archive-forum.php.

    You can customize all templates if you want, just read some pages of the bbPress Codex: https://codex.bbpress.org/themes/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/

    Pascal.

    #171825
    pazzaglia
    Participant

    How can I vary this code to include a default image for topics? I post new forum topics to facebook and at the moment they’re showing a TERRIBLE giant picture – when there are no profile pics or attachments to display. I don’t even know where it’s being pulled from.

    http://www.hippressurecooking.com/forum/

    pressure cooker forums

    Thanks!
    L

    #171792
    fca0secretary
    Participant

    It’s no good, I can’t find anything like what you’re talking about. The only thing I can find is this: bbpress/templates/default/bbpress/feedback-no-search.php (inactive) which is clearly the thing I want to edit but it’s marked as “inactive” so editing it doesn’t have any effect.
    I’m going to have to find a different plug-in, I haven’t time for this. But thanks anyway and have a cup of coffee on me!

    #171789
    Robin W
    Moderator

    bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

Viewing 25 results - 1,851 through 1,875 (of 6,788 total)
Skip to toolbar