Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 201 through 225 (of 6,794 total)
  • Author
    Search Results
  • #235243

    In reply to: Close topic label

    enkoes
    Participant

    Thank you so much, Robin!

    Two more things to make it perfect:
    1) to disable the default font highlight & grey-out effect;
    2) to change font colour [Closed] to red to make it stands out the rest.

    Regards.

    #235232
    enkoes
    Participant

    Hi, can we add a label something like “[Closed]” BESIDE the topic title in the topic list if the topic is closed for discussion?

    Currently those closed topics will be highlighted pink by default by bbp Style Pack plugin (Topic/Reply Display > item 4). I wonder how can we disable this highlight effect using CSS. “[Closed]” label just looks nice & neat for me.

    Regards.

    #235177
    Philippe Roussel
    Participant

    Hi,

    I use the Post Comments as bbPress Topics plugin, which gives by default an excerpt of the concerned post. None of the other options seem to work but none of them suit me either. Expanding on the php code you gave earlier in this thread, would it be possible to simply delete all content in the topic other than “[See the full post at: …]” and, of course, my own [TEXT]?

    Thank you

    #235154
    Mrskt
    Participant

    One possible solution is to use a plugin called BBP Improvements for Yoast which is a helpful tool to make Yoast wordpress seo support bbpress better. You can install and activate this plugin from your WordPress dashboard and see if that helps.

    Another possible solution is to use the excerpt variable in the Admin > SEO > Search Appearance > Content Types (tab) section. There you will have a ‘Topics (topic)’ section where you can add a default meta description using the excerpt variable. This will automatically output the first part of every topic as the meta description.

    #235141
    Robin W
    Moderator

    ok, I cannot replicate that issue.

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentytwenty, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

    #235138
    emmanuelle64
    Participant

    There it is:

    for the user:
    dashboard>users>all users, and then select ‘les abonnements’ (the subscriptions) for the chosen user then select option ‘subscribe selected forums’ and apply

    and for the subject:
    dashboard>subjects>all subjects, and then select ‘les abonnements’ (the subscriptions) for the chosen subject then select option ‘subscribe selected users’ and apply

    and for the setting by default I followed your instructions. I selected the folder “gestion de l’abonnement’ (subscription management), then I selected ‘activate’ and chose the forums to be subscribed by default. Then I ‘registered’ the modifications

    Sadly none of the 3 actions worked. It only worked with the setting of forum subscription for several users

    #235124
    emmanuelle64
    Participant

    Yes, they are enabled.

    I found the way to enable the subscription to a chosen forum for all users by going to forums>all forums, and then select ‘les abonnements’ (the subscriptions) in the chosen forum then using ‘subscribe selected users’ and apply for each page listing the users (by the way, there are 29 pages in my site, it would be nice to be able to select them all at once…).
    It is great! I am glad I could do it.

    I tried to do the same by choosing several forums for one user. But it didn’t work. The subscription is not applied.
    It also doesn’t work with a subject for one user.
    And as far as I have seen, the setting I chose by default for the new users is not effectiv. The users do not have any subscription preselected.

    Can you help me with this ?
    Thanks

    #235075
    Robin W
    Moderator

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentytwenty, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

    #235033

    In reply to: Customizing lead topic

    Robin W
    Moderator

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

    transfer this to your pc and edit
    that will let you remove the header and footer, and change the date function

    and save

    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

    Then transfer the file you saved above and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/content-single-topic-lead.php

    bbPress will now use this template instead of the original

    #234953
    Robin W
    Moderator

    You would need to amend

    bbpress\templates\default\bbpress\loop-topics.php
    bbpress\templates\default\bbpress\loop-single-topic.php

    so for loop topics find
    wp-content/plugins/bbpress/templates/default/bbpress/loop-topics.php

    transfer this to your pc and edit as required

    and save

    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

    Then transfer the file you saved above 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-topics.php
    bbPress will now use this template instead of the original

    repeat for loop-single-topic.php

    you would then need to change the style css to amend width.

    Sorry beyond free help to actually do the answer, if you’d like me to do this as a paid job, then contact me via

    Contact me

    #234929
    #234914

    In reply to: Dashboard users

    Robin W
    Moderator

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentytwenty, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

    #234910

    In reply to: This topic is empty

    Robin W
    Moderator

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentytwenty, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

    #234903

    In reply to: SEO friendly theme

    elsoar
    Participant

    @robin-w

    Very cool, excellent, very useful.

    But I wanted two things that I couldn’t find:
    1. There is no option to modify the number of characters in the title (default is 80 characters only).
    2. I didn’t find an option to remove these large spaces around the “see green” username.

    2023

    photo

    #234811
    Robin W
    Moderator

    Apologies for the delay is responding to this.

    Assuming you are ok with FTP, then

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

    transfer this to your pc and edit to remove

    <p>
    			<label for="bbp_anonymous_email"><?php esc_html_e( 'Mail (will not be published) (required):', 'bbpress' ); ?></label><br />
    			<input type="text" id="bbp_anonymous_email"   value="<?php bbp_author_email(); ?>" size="40" maxlength="100" name="bbp_anonymous_email" />
    		</p>
    
    		<p>
    			<label for="bbp_anonymous_website"><?php esc_html_e( 'Website:', 'bbpress' ); ?></label><br />
    			<input type="text" id="bbp_anonymous_website" value="<?php bbp_author_url(); ?>" size="40" maxlength="200" name="bbp_anonymous_website" />
    		</p>

    and save

    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

    Then transfer the file you saved above 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-anonymous.php

    bbPress will now use this template instead of the original

    Alternately if this all confuses you, I can do this as a plugin, but it would be a paid bit of work (but not expensive) – contact me via http://www.rewweb.co.uk/contact-me/

    #234745
    Tim Wilson
    Participant

    Hi Robin
    creation/deletion/edit is reflected in BuddyPress if I post something in the bbPress forum directly but it does not work the other way around.
    I added a plug in called BuddyPress Forum Editor which gave me WSIWYG editing on the bbPress forum but nothing on BuddyPress. BuddyPress is just enter/delete nothing else. bbPress has a title field, topic tags, topic type, topic status, notify by email box (important) and Attachment facility (important)

    See screen images

    BuddyPress forum image

    bbPress Forum Image

    I have posted this request for help in the BuddyPress support page but no response as yet.

    Perhaps there is a plug in for BuddyPress that provides these things to the default BuddyPress forum but I haven’t been able to find one as yet.

    #234736
    Tim Wilson
    Participant

    I have set up a new WordPress blogging website with a BuddyPress members only community back end consisting of 10 groups.

    Each group has it own separate bbPress forum. This all works OK except BuddyPress has its own forum which is bland and limited and bbPress is the “nice” functional forum which I want to use. Both these forums appear to be linked i.e a post to the bpPress forum also appears in the BuddyPress forum space although it seems that either can be independently deleted.

    As it stands I find having the the two forums confusing and messy from a user perspective.

    What I want to do is replace the BuddyPress forum with the bpPress forum so that you only see the bpPress forum on the home page of each group and do away with the group Forum tab which currently links to the bbPress forum. I don’t really need each group to do anything else rather than host the bpPress forum. Perhaps a single message on the group home page that a group moderator could change/edit would be a nice addition but it is not essential.

    I have done a lot of Googling and while this problem has been mentioned a few times the solutions suggested seem very old and/or irrelevant.

    I am comfortable with PHP etc but have very limited experience with BuddyPress and bpPress. Of course there may be a plugin which will do all this but I haven’t found one yet.

    I am using WordPress 6.1.1. Buddy Press 11.1.0 bb_press 2.6.9, Theme Blocksy. The url of the website is https://PinkPantherActivists.au

    If anyone can point me in the right direction it would be appreciated.

    Thank you.

    #234614
    Robin W
    Moderator

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentytwenty, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

    #234608
    webcreations907
    Participant

    Try adding the below code to your theme’s functions.php file, should make the userpages full width with no sidebar.

    
    
    if( !function_exists('enkoes_magbook_userpage_css_class') ){
    	function enkoes_magbook_userpage_css_class( $classes ){
    		if( function_exists('bbp_is_single_user') &&  bbp_is_single_user()){
    			$classes[] = 'magbook-no-sidebar';
    		}
    		return $classes;
    	}
    }
    add_filter('body_class', 'enkoes_magbook_userpage_css_class');
    
    if( !function_exists('enkoes_magbook_userpage_options') ){
    	function enkoes_magbook_userpage_options( $options = array() ){
    		
    		if( function_exists('bbp_is_single_user') &&  bbp_is_single_user()){
    			$options['magbook_sidebar_layout_options'] = 'nosidebar';
    			$options['magbook_blog_layout'] = '';
    		}
    		return $options;
    
    	}
    }
    add_filter('magbook_get_option_defaults_values', 'enkoes_magbook_userpage_options',100);
    
    

    You may have to get rid of that bbpress.php file you added.

    I haven’t used Magbook theme before, so let me know if that works out for you.

    😉

    #234562
    bgunning
    Participant

    I successfully have all new users added as Participants when they create a profile. However I have 17,000 previous users who all have the default ‘No Role for these Forums’. When I try to bulk update them under Tools/Forums ‘Remap all users to default forum roles’ I receive an error of ‘This page isn’t working’. Perhaps it is too big of a request for so many users? How else can I update all my users to Participant so that they can post topics and replies.
    Thank you

    #234556
    valarcher
    Participant

    Hi – I’m using Astra theme with a 3-col grid layout for blog archives, see:
    https://greensmoothie.com/category/blend

    But for the forum archives I need full-width, see:
    https://greensmoothie.com/members

    Right now I’ve fixed it by targeting the post and each forum in the css, like this:
    #post-9486,#bbp-forum-9475{width:100%;}

    I’ve intentionally left the second forum (Newcomers – #bbp-forum-9473) out of the css — so you can see how it displays only in the first column – same as /category/blend above.

    Moderators need to set up forums that will display by default as full-width. They don’t have access to the css.

    Is there a higher-level I can target in the css that will automatically force ALL forums to display full-width?

    thanks for your help!

    Robin W
    Moderator

    in effect they are one and the same thing.

    bbpress just uses the wordpress user with an additional role.

    If you want to prevent users from accessing the forum but still have site access you can use the ‘blocked’ role or set ‘no role’ and/or not set a default role in dashboard>settings>forums

    #234485
    valarcher
    Participant

    Hi – the quicktags toolbar is not displaying above the edit box for a topic so a person can’t link any text (or bold, or italic etc). “Add toolbar & buttons to textareas to help with HTML formatting” was switched to On by default, I tried switching it to off / save / then back to on again / save — but that did not work.

    See https://greensmoothie.com/members/forum/plantstrong

    Be grateful for help – thanks!

    #234456
    crsikes01
    Participant

    Certainly. This is the code to generate the new shortcode in functions.php or wherever your custom code is located:

    add_shortcode( 'custom_bbp-search', 'custom_bbp_search_shortcode' );
    function custom_bbp_search_shortcode( $atts ) {
    	$search_string = str_replace("-", " ", sanitize_title($_GET['bbp_search']));
            return do_shortcode( '[bbp-search search="'. $search_string .'"]' );
    }

    For the new page, just set up a new page (I called mine Forum Search with a url of /forum-search/) with the shortcode [custom_bbp-search] added.

    Finally, for the search form template, just copy wp-content/plugins/bbpress/templates/default/bbpress/form-search.php into wp-content/themes/[mythemename]/bbpress/form-search.php and replace the opening <form> line with the following:

    <form role="search" method="get" id="bbp-search-form" action="/forum-search/">

    #234454
    erich199
    Participant

    Re-posting this. For some reason my original post got marked as spam. So, this time I took out the screenshot link.

    I wanted to share some code I cooked up for one of my sites. I want to disclaimer that I’m not a professional coder but through lots of trail, error, and zero hair left I’ve found this code works very well for my website.

    There are two functions. The first one creates a “New Topic” button and uses a template hook to display it above the forum list. The second function does the same thing, but just uses a hook to display the button over the single topic display to create a “New Reply” button. The second function is basically the first function but renamed and uses a different template hook.

    These buttons, when clicked, open a modal that has the shortcode for a new topic/new reply. The code also passes the current forum id into the shortcode, so there is no need for the user to select a forum from the drop down menu. In my screenshot, I’ve enabled the WYSWYG TinyMCE editor and all buttons on it work properly. In addition, I’ve fixed it so that the user can’t accidentally close the modal. They have to physically click on the “Close” button in order to close it. I decided to do this for simplicity sake and so my users won’t accidentally click off the screen and close the modal.

    I made it because I was tired of users getting confused about the new topic/new reply topic area of bbpress. So, in order to bring it more in line with other forum software I made this code (through many trial and errors). I hope that it can help anyone in the community who’s using bbpress for their forums. Oh, I also made sure it displays nicely in mobile size screens. I added a screenshot to show people what it looks like.

    Modal Example

    
    /*
    This function adds the New Topic button to bbpress above the forum list template
    */
    
    function add_new_topic_button() {
        $forum_id = bbp_get_forum_id();
        ?>
        <button id="new-topic-button">New Topic</button>
        <div id="new-topic-modal">
            <button id="close-modal-button">Close</button>
            <div class="modal-content">
                <?php echo do_shortcode('[bbp-topic-form forum_id=' . $forum_id . ']'); ?>
            </div>
        </div>
        <script>
        jQuery(document).ready(function($) {
            var newTopicButton = $('#new-topic-button');
            var modal = $('#new-topic-modal');
            var close = $('#close-modal-button');
            newTopicButton.click(function() {
                modal.show();
                setTimeout(function() {
                    if (typeof bp !== 'undefined' && typeof bp.mentions !== 'undefined') {
                        bp.mentions.tinyMCEinit();
                    }
                }, 1000);
            });
            close.click(function() {
                modal.hide();
            });
            $('textarea#bbp_topic_content').addClass('bbp_topic_content');
        });
        </script>
        <style>
        #new-topic-modal {
            display: none;
            position: fixed;
            z-index: 999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0,0,0,0.6);
        }
        .modal-content {
            background-color: #fefefe;
            margin: auto;
            padding: 20px;
            border: 1px solid #888;
            width: 50%;
            max-width: 600px;
            border-radius: 5px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        #close-modal-button {
            color: #aaaaaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
            margin-right: 10px;
            margin-top: 40px;
        }
        #close-modal-button:hover,
        #close-modal-button:focus {
            color: #000;
            text-decoration: none;
            cursor: pointer;
        }
        @media only screen and (max-width: 600px) {
            .modal-content {
                width: 90%;
                max-width: 90%;
            }
        }
        </style>
        <?php
    }
    add_action('bbp_template_before_single_forum', 'add_new_topic_button');
    
    
    /*
    This function adds the New Reply button to bbpress above the single topic template
    */
    
    function add_new_reply_button() {
        $forum_id = bbp_get_forum_id();
        ?>
        <button id="new-topic-button">New Topic</button>
        <div id="new-topic-modal">
            <button id="close-modal-button">Close</button>
            <div class="modal-content">
                <?php echo do_shortcode('[bbp-reply-form forum_id=' . $forum_id . ']'); ?>
            </div>
        </div>
        <script>
        jQuery(document).ready(function($) {
            var newTopicButton = $('#new-topic-button');
            var modal = $('#new-topic-modal');
            var close = $('#close-modal-button');
            newTopicButton.click(function() {
                modal.show();
                setTimeout(function() {
                    if (typeof bp !== 'undefined' && typeof bp.mentions !== 'undefined') {
                        bp.mentions.tinyMCEinit();
                    }
                }, 1000);
            });
            close.click(function() {
                modal.hide();
            });
            $('textarea#bbp_topic_content').addClass('bbp_topic_content');
        });
        </script>
        <style>
        #new-topic-modal {
            display: none;
            position: fixed;
            z-index: 999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0,0,0,0.6);
        }
        .modal-content {
            background-color: #fefefe;
            margin: auto;
            padding: 20px;
            border: 1px solid #888;
            width: 50%;
            max-width: 600px;
            border-radius: 5px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        #close-modal-button {
            color: #aaaaaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
            margin-right: 10px;
            margin-top: 40px;
        }
        #close-modal-button:hover,
        #close-modal-button:focus {
            color: #000;
            text-decoration: none;
            cursor: pointer;
        }
        @media only screen and (max-width: 600px) {
            .modal-content {
                width: 90%;
                max-width: 90%;
            }
        }
        </style>
        <?php
    }
    add_action('bbp_template_before_single_topic', 'add_new_reply_button');
    
    
    /*
    This function calls the Buddypress js file to bbpress pages only so that @mentions can work in the modal
    */
    
    function enqueue_buddypress_js() {
        if ( function_exists( 'bp_is_active' ) && bp_is_active( 'mentions' ) ) {
            wp_enqueue_script( 'bp-mentions-js' );
        }
    }
    add_action( 'wp_enqueue_scripts', 'enqueue_buddypress_js' );
    
    
    /* Additional Custom Forum Modal CSS This will hide the default new topic/reply form boxes but shouldn't hide the ones inside of the modal */ 
    
    .modal-content .bbp-topic-form, .modal-content .bbp-reply-form {
    	padding-top: 5px;
    	padding-bottom: 5px;
    	margin-top: 5px;
    	margin-bottom: 5px;
    }
    
    .bbpress-wrapper > .bbp-topic-form {
      display: none;
    }
    
    .modal-content .bbp-topic-form legend {
    	display: none;
    }
    
    #new-topic-button {
      float: right;
      margin-right: 10px;
    }
    
    #bbpress-forums > .bbp-reply-form {
    	display: none;
    }
    
Viewing 25 results - 201 through 225 (of 6,794 total)
Skip to toolbar