Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 1,876 through 1,900 (of 6,813 total)
  • Author
    Search Results
  • #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

    #171786
    fca0secretary
    Participant

    What I want to change is “Oh bother! No search results were found here!” , not “Oh bother! No topics were found here!” which is what your plug-in changes. This is what I want to edit:
    bbpress/templates/default/bbpress/feedback-no-search.php (inactive)

    but it’s marked as “inactive” so what does that mean?

    #171779
    fca0secretary
    Participant

    I am trying to edit the phrase “Oh bother! etc,” but when I get to the Plugin Editor it’s saying that the default template is inactive, like this –
    bbpress/templates/default/bbpress/feedback-no-replies.php (inactive)
    I am using WordPress 4.4.2 running Twenty Sixteen theme. and bbPress is Version 2.5.8
    My site is http://www.fagleyforum.site
    How can I find the right place to edit this phrase?

    #171739
    _az_
    Participant

    There is a function: bbp_get_super_stickies() which is used inside the function bbp_has_topics(). This function basically returns a list of Post IDs from the wp_options table from a row with the key: “_bbp_super_sticky_topics” or “_bbp_sticky_topics”

    So one approach could be: override default args

    bbp_has_topics(array('show_stickies' => false);

    Extra loop for stickys (not tested, just a sketch)

    $query = new WP_Query(array('inlucde' => bbp_get_super_stickies());

    Though i recommend looking into the function bbp_has_topics to be aware of all possible cases.

    #171661
    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

    #171660
    Robin W
    Moderator

    All I want to do is have my website show other users’ basic info when I click their name in a forum post.

    That’s what it is supposed to do – click my name here and you’ll go to my profile !

    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

    #171658
    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

    #171656

    In reply to: Logins

    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

    #171646
    Robin W
    Moderator

    before you do that, lets just eliminate theme and plugin.

    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

    #171628
    Pascal Casier
    Moderator

    Hi,
    So you have bbPress translated into CZ if I understand correctly ?
    If so, would you mind helping with the translation for the whole CZ community ? https://translate.wordpress.org/locale/cs/default/wp-plugins/bbpress

    If you are interested, I can guide you on becoming PTE for bbPress, let me know. Then you can import you .po file and everybody can have bbPress in CZ then !

    Thanks,
    Pascal.

    luisthegeek
    Participant

    Just went to log into my site which uses the bbp-login shortcode and it just shows me a blank page. logged in using the wp-login, checked the login page with the shortcode, the shortcode is still there.

    Also, the forums page is all blank as well. no forums are showing. Go to forums > all forums, they are listed there.

    Tried Chrome and IE. Same issue on both.

    #171414
    Adri Oosterwijk
    Participant

    @robin-w: thank you for your reply. I’m sure it could work. However using this solution forces me to create a function for every language I add.

    @casiepa: Goeiemorgen, daar zijn we weer! Thanks for helping out. I have achieved a lot of what I want but the breadcrumbs remains. (for reference, see this topic on WPML: https://wpml.org/forums/topic/multiple-site-languages-but-just-a-bbpress-forum-in-english/).

    As a result of this thread I have an English forum AND a Dutch page displaying the forum with a shortcode with only one set of topics. Exactly what I want.

    For the breadcrumbs I tried to create a solution with an onclick event and then navigate back in the history but that is not reliable. When a user is entering a topic from, let’s say a google search result page and then clicking the breadcrumb link they are send back to the google page.

    I imagine something like this:

    The English page for the forum has the slug: supportforum (for example)
    The Dutch page for the forum has the slug: helpforum (for example)

    On the forum index page no breadcrumbs are needed.
    On the topics page I only want a link back to the forum index for the appropriate language.
    So the ‘solution’ must not link back to the forum slug but to the page where the index lives.
    I have absolutely no idea how to achieve this.

    The outputted link has to be something like this:

    http://www.my-site.com/forumpage-slug/

    For the other languages:
    http://www.my-site.com/language-code/localized-forumpage-slug

    In my case English is the default language and Dutch is the translation.
    The urls should be:

    http://www.my-site.com/supportforum/ -> for the default English language.
    and
    http://www.my-site.com/nl/helpforum -> for the Dutch language forum page.
    and
    same way for every other language added.

    I hope this description make sense.

    HTH

    Regards,

    Adri

    #171373
    mgsolidus
    Participant

    Update: creating a page with the [bbp-forum-index] shortcode works, no idea why it’s broken on the default forum root.

    #171367

    In reply to: Freshness all wrong

    Robin W
    Moderator

    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 twentytwelve, and see if this fixes.

    Then come back

    #171353
    Robin W
    Moderator

    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 twentytwelve, and see if this fixes.

    #171346

    In reply to: Forum Page not created

    Robin W
    Moderator

    sorry someone has edited that page and made it less helpful.

    Try

    Now we have some forums, we need to have somewhere to display them.
    There are two ways to do this. Most themes support method 1, and this can (can not will) produce tighter theme integration on style [Note this was true for v 2.2 not sure if it still is !]. However Method 2 allows you to have some introductory words. Your choice…!
    Method 1
    This requires a couple of checks first
    a. In Dashboard>settings>forums look for what is set in the forum root under the forum root slug heading. The default is ‘forums’ but you can set this to anything
    b. In Dashboard>settings>permalinks check that the common settings check is set to ‘postname’ If it isn’t and you don’t want to change it, then use method 2.
    Now just create a wordpress page that has the heading that was found in a. above eg if the root slug is ‘forums’ create a page with the title ‘forums’, and save.
    Once the permalink has been created, you can rename the page to whatever you wish eg ‘mysite forums’ (as the permalink will stay the same, and it is this permalink that bbpress looks for)
    Save this page, add it to a menu if you are using custom menus, or decide its order if you have automatic menus. Then publish it to your site.
    Job done!
    Method 2
    If either your theme doesn’t work with method 1, you don’t want permalinks with postname, or you want to use some introductory text (eg “welcome to our forums…”, then method 2 is for you.
    In dashboard>pages
    go to add new page
    Call this ‘Forums’ or whatever you want your menu item to be.
    Then in the content section, you may want to have some introductory words “welcome to the forum” etc. then add the following bbpress shortcode
    [bbp-forum-index]
    Save this page, add it to a menu if you are using custom menus, or decide its order if you have automatic menus. Then publish it to your site.
    You will now have a forum page, and a forum to display.

    #171344
    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 twentytwelve, and see if this fixes.

Viewing 25 results - 1,876 through 1,900 (of 6,813 total)
Skip to toolbar