Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 1,276 through 1,300 (of 6,788 total)
  • Author
    Search Results
  • eedrees
    Participant

    Hi team. These are my three most pressing questions. Thanks.

    Problem on My website is at homepage: https://www.teamakoka.com

    1. I really want to change only the default bbpress topic colour in the topic index to black (which was set navy blue by the theme because of it’s default link colour)
    2. How can I change background colour of the first post in a topic content as it is on your support forum.
    3. How can I add the login fields to the topic content for users that are not logged in (as it is on your support forum)

    Thank You 🙂

    Robin W
    Moderator

    users get the ‘participant’ role when they first log in (if that is the default role set for them)

    so if you set them up, then you will only see subscriber until they have logged in for the first time.

    I just registered on your site and got access to the forum fine

    #188112
    richard.miller
    Participant

    Just installed BBPress, and see that the editor is barebones html.

    I’ve learned from this codex page that the visual editor is disabled by default – so I added the code snippet to my functions file, but no effect at all. Added TinyMCE Advance plugin, no effect at all.

    What could be wrong?

    (note: I see all sorts of references to “enable fancy WP editor” in older posts here, but can’t find that setting)

    WP 4.8.3
    BBpress: 2.5.14

    #188088
    dominikb
    Participant

    Hi folks, after accidently creating a log an struggeling to get it out of the database again, i wondered, how i can make the checkbox for the revision log unchecked by default.

    Thanks in advance
    Dominik

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

    Otherwise/additionally talk to your hosting provider

    #187934
    Robin W
    Moderator

    you don’t; move, you duplicate and then change

    so the original file sits in

    /yorkregiontutoring/wp-content/plugins/bbpress/templates/default/bbpress/content-archive-forum.php

    and you copy this to

    wp-content/themes/[your-theme]/bbpress/content-archive-forum.php

    and then make changes

    bbpress will look at this new file as being the active one

    #187931
    PrancingHorse
    Participant

    Hello,

    Is this still a valid solution? I noticed that the location of this file has since moved

    from: wp-content/plugins/bbpress/templates/default/content-archive-forum.php

    to: /yorkregiontutoring/wp-content/plugins/bbpress/templates/default/bbpress/content-archive-forum.php

    Where would I move the file now? And is it a permanent move and not just a copy?

    Thank you.

    aravoth
    Participant

    Make a child theme for your wordpress theme, copy the folder content\plugins\bbpress\templates\default\bbpress into your child theme, edit the contents of that file as much as you need without affecting the actual plugin files.

    it’s not a plugin, it becomes part of your actual theme, making your changes immune to updates for the most part.

    #187868

    In reply to: Search by user

    sbmar
    Participant

    I think I almost have this working on my site but I cannot get the form value for some reason:

    $username = $_GET['bbp_search_by_user'];

    If I type the value into the URL (/?bbp_search_by_user=someuser), then it works 100%… should be something silly, right?

    I also added a member drop-down so when someone is searching they can choose from a listing of members that have already created at least one reply:

    global $wpdb;
    
    $sql = "SELECT DISTINCT
    $wpdb->posts.post_author as id,
    $wpdb->users.display_name as name
    FROM
    $wpdb->posts
    INNER JOIN $wpdb->users ON $wpdb->posts.post_author = $wpdb->users.ID
    WHERE
    $wpdb->posts.post_type = 'reply' AND $wpdb->users.display_name <> ''
    ORDER BY
    $wpdb->users.display_name ASC";
    
    $result = $wpdb->get_results($sql, OBJECT);
    			
    echo "<select name=\"bbp_search_by_user\">";
    echo "<option value='ALL'>All Users</option>";
    echo "<option value='ALL'></option>";
    foreach ($result as $key => $value) {			  
       echo "<option value='" . $value->id . "'>" . $value->name . "</option>";
    }
    echo "</select>";

    Anyone know how to get the $_GET[‘bbp_search_by_user’]; to work?

    Here’s the code in my functions.php:

    /* ADD SEARCH BY USER FUNCTION */
    
    add_filter ( 'bbp_before_has_search_results_parse_args', 'ha_custom_search_by_username' );
     
    function ha_custom_search_by_username() {
    	//Get username from input on search page
    	$username = $_GET['bbp_search_by_user'];
    
    	$default_post_type = array( bbp_get_forum_post_type(), bbp_get_topic_post_type(), bbp_get_reply_post_type() );
    	//check if empty
    	if(!empty($username) && $username != "ALL"){
    		//Make ID from username
    		$user = get_user_by('slug', $username);
    		$user_id = $user->ID;
    	$args['author'] = $user_id;	
    	}
    	$args['post_type'] = $default_post_type;
    	$args['orderby'] = 'date';
    	$args['posts_per_page'] = '5';
    	$args['ignore_sticky_posts'] = 'true';
    	$args['order'] = 'DESC';
    
    	return $args;
    }
    #187867

    In reply to: Installation

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

    Then come back

    jack_tyler
    Participant

    Hi Guys,

    Anyone knows how to modify the content-archive-forum.php located in wp-content\plugins\bbpress\templates\default\bbpress using a custom plugin(not in the theme)? Is it possible?

    #187719
    atomanas
    Participant

    Hi can someone help me a have custom login in my forum page a want create custom pages for register and lost password a don’t want redirect user to default wordpress register page.

    #187671
    tmazawi
    Participant

    Hi
    I have a weird problem with bbpress
    most of the words in bbpress is not translated but some is
    like: Freshness is in english but the no topics is translated to arabic
    i have the latest version of bbpress
    i have configured wp_config.php to arabic
    and my default wordpress language is arabic
    also i double checked all the translation files in this directory
    –/wp-content/languages/bbpress
    and
    —/wp-content/languages/plugins/bbpress
    and still a lot of sentences is completely in english even though when i use the loco translation plugin and search for this words they show up translated just fine

    #187654
    tmazawi
    Participant

    Hi
    I have a weird problem with bbpress
    most of the words in bbpress is not translated but some is
    like: Freshness is in english but the no topics is translated to arabic
    i have the latest version of bbpress
    i have configured wp_config.php to arabic
    and my default wordpress language is arabic
    also i double checked all the translation files in this directory
    –/wp-content/languages/bbpress
    and
    —/wp-content/languages/plugins/bbpress
    and still a lot of sentences is completely in english even though when i use the loco translation plugin and search for this words they show up translated just fine

    #187579

    In reply to: Reply Styling

    mithrandir
    Participant

    This is not very difficult to achieve, and does not require any plugins. A similar look is possible with modifying the bbPress template files, and some custom CSS styling. Although it depends on your experience with HTML,CSS and a bit of knowledge about PHP and how WordPress templates work.

    To find the location of the bbPress template files navigate to:
    ‘wp-content/plugins/bbpress/templates/default/bppress/’
    Here you will find various template files which serve various purposes.
    for eg. loop-topics.php is the template file for the topics ( like in the kleo theme ).

    You should not modify the original files.
    Instead create a folder named bbPress in your theme root folder (or child theme root folder)
    ie. ‘wp-content/themes/YOUR-THEME/bbpress/’
    Any changes you make in this newly created folder will be given priority over the originals.

    Copy any files you wish to modify from the original location into this folder.
    This way updates to bbPress wont overwrite any files you have modified and your changes wont be lost.

    The avatars you see, can be selected as an option in the WordPress dashboard.
    Navigate to Dashboard> Settings > Discussion –> Default Avatar
    Here you will have the option to choose from:

    • Mystery Person
    • Blank
    • Gravatar Logo
    • Identicon (Generated)
    • Wavatar (Generated)
    • MonsterID (Generated)
    • Retro (Generated)

    The (Generated) avatars are the ones to choose from.

    If you are willing to invest some time ( since without fluency in the aforementioned skills, it could take a little bit of trial and error), I could help you in achieving this.

    It is a little late in the night at the moment(in my country), ill post back tomorrow to get the gears rolling with some examples.

    #187525
    mithrandir
    Participant

    If you could provide more information regarding which WordPress theme you are using and any more specific areas in detail that are causing issues I could try my best to help out.

    Many themes include there own styling which can interfere with bbPress styling, so it is best to take that into consideration before modifying the CSS.

    As far as my experience goes, bbPress provides bare minimal styling, Personally I find this to be advantageous, in the case of adding your own styles to match your theme, one does not have to override too many complex styling rules. yet, I agree there is still room for improvement with default bbPress responsive styling.

    #187481
    mithrandir
    Participant

    Sounds like permalink issues. Have you tried to refresh permalinks? Are you using apache or a microsoft IIS web server on your hosting? I have noticed other people with similar problem are on IIS servers.I would look into htaccess if apache or web.config if on IIS or ‘URL Rewrite’ module settings in IIS.

    In wordpress Dashboard>settings>permalinks try setting to default. And click save changes.

    In Dashboard>tools>forums have you tried to repair forums?

    I am not familiar with IIS but the htaccess file should be writable with correct permissions.

    #187467
    mithrandir
    Participant

    In the WordPress dashboard under settings>forums –> under the Forum User Settings, you will see the option:

    Disallow editing after x number of minutes

    You could try increasing the limit, however it does not explain why the keymaster or administrator can not edit a reply or topic.

    It might help in finding the problem by changing the theme to the default wordpress themes and disabling all plugins except bbPress.

    If you could provide more information, regarding the bbPress/wordpress version, themes and plugins, I could try my best to help.

    #187466
    mithrandir
    Participant

    To find the location of the template files navigate to:
    ‘wp-content/plugins/bbpress/templates/default/bppress/’

    You will find all the template parts in this folder. It is recommended to not modify the files directly, instead create a folder named bbPress in the ‘generatepress’ theme root folder. ie. ‘wp-content/themes/generatepress/bbpress/’ copy any files you wish to modify into this folder. This way updates to bbPress wont overwrite any files you have modified and your changes wont be lost.

    Test this by copying the content-archive-forum.php to the newly created bbpress folder and begin to modify the file.

    a simple php echo command will confirm it is working by printing a message at the top of the content-forum-archive template.

    <?php echo "Hello world!"; ?>

    The Example provided in the previous reply can be pasted on top, or wherever you would like to display the topics. Some formatting is required, by adding appropriate div classes and styling with css as necessary. Would be happy to help with any of the html, php or wordpress functions if there is any difficulty.

    *my apologies if this a duplicate reply, previous reply did not get submitted properly,spam protection may have blocked it, since it included links to screenshots on imgur.

    #187428
    sysix
    Participant

    Hello Guys,

    I think I have found a bug. But at first some Info from the System:

    WP version 4.8.2
    PHP version 7.0.22-0ubuntu0.16.04.1
    bbPress version 2.5.14-6684

    I want the hide the Tag-Input for all “normal” Users. So only the Keymaster and the mods can assign tags. I found, that I can hook into the capatiblities with bbp_get_caps_for_role and set the settings to false:

    `
    add_filter(‘bbp_get_caps_for_role’, function ($caps, $role) {
    // only the admin can delete and manage topic tags
    if (!in_array($role, [‘bbp_keymaster’])) {
    $caps[‘manage_topic_tags’] = false;
    $caps[‘delete_topic_tags’] = false;
    }

    // only mods and admin can edit or assign tags
    if (!in_array($role, [‘bbp_keymaster’, ‘bbp_moderator’])) {
    $caps[‘edit_topic_tags’] = false;
    $caps[‘assign_topic_tags’] = false;
    }

    return $caps;
    }, 10, 2);

    But the problem is, that in template\defaults\bbpress\form-reply.php we check with:

    <?php if ( bbp_allow_topic_tags() && current_user_can( 'assign_topic_tags' ) ) : ?>

    current_user_can calls WP_User->has_cap and there is $capabilities['assign_topic_tags'] = true.

    —–

    Workaround:

    `
    add_filter(‘user_has_cap’, function($caps, $metaCaps, $args) {
    $forumCaps = bbp_get_caps_for_role($args[0]);

    return array_merge($caps, $forumCaps);
    }, 10, 4);
    `

    #187420

    In reply to: Remove sidebar?

    mithrandir
    Participant

    The theme you are using is most likely overriding the bbpress default template, any template files you modify in the plugin folder are most likely being bypassed by theme or child theme. It would help to visit the bbpress codex which explains the template hierarchy in detail.

    Getting Started in Modifying the Main bbPress Template

    Step-by-Step Guide to Creating a Custom bbPress Theme

    I could try my best to help out if you could provide more information regarding which theme you are using, folder structure, child theme etc.

    #187334
    sbarkin
    Participant

    I created a custom page for the forum “home page”. bbPress has clickable breadcrumbs and “Forum” will load the default bbPress forum home, as such I added the following to my .htaccess to redirect the user to my custom page:

    RewriteEngine On
    RewriteRule /forums$ /the-forum

    This redirects the user:
    from: http://ok.thissiteworks.com/forums/ (bbPress forum home)
    to: http://ok.thissiteworks.com/the-forum/ (custom forum home)

    That works – but only for logged in users. When a user is not logged in the redirect does not work.

    1. Can someone advise why this would not work for not logged in users?
    2. Is there perhaps a better way to redirect the users to the custom page?
    #187285
    nanpress1
    Participant

    WP 4.8.2
    Site is not yet live to public
    Paid theme

    Hi- I’m trying to create a bbpress sidebar template on the forum page. The sidebar works on the default page but it’s not optimal to have a bbpress sidebar on every page of the site. Therefore, I’d like a template just for bbpress.

    I’ve searched the forums and have consulted used the bbpress documentation.
    Here’s what I’ve done. Any input is appreciated.

    I’ve created a bbpress specific sidebar using css and php in my child theme (using bbpress instructions)

    I’ve populated the sidebar with widgets and saved it. However, when I go to page>templates there is no bbpress sidebar template to choose from.

    To fix this, I went to the theme root page templates and copied ‘template-sidebar-left.php.’

    Per the bbpress instructions, I renamed it bbpress.php and moved it the file to the theme folder. Now it’s wp-content/themes/%mytheme%/bbpress.php

    This didn’t add a bbpress sidebar template. So I went into bbpress.php and changed
    <div id=”primary” class=”container”>
    to
    <div id=”primary2″ class=”container2″>

    No luck.

    Also, I checked and there are no inactive sidebar widgets.

    Still no luck. What am I doing wrong? What else can I try to get a bbpress template sidebar to appear?

    Again, any insight is appreciated.
    Thanks

    #187264
    clearscope
    Participant

    Not sure what you mean – are you suggesting that this is a conflict with the site itself?

    This issue is occurring with the default Twenty Seventeen theme, the most recent version of WordPress, the most recent version of bbPress, and with no other plugins installed.

    It seems that this is an issue with bbPress itself, not any sort of conflict with a site.

    #187242

    In reply to: Forums & Sub Forums

    rogerlridge
    Participant

    First, thank you for your speedy reply, really appreciate it. Second, although it’s not built in by default do you know how I would go about achieving this result by any chance?

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