Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 1,376 through 1,400 (of 64,423 total)
  • Author
    Search Results
  • #234806
    valarcher
    Participant

    Hi Robin – yes, if I do a ctrl-U on the forum page in bbpress, I see it. Oh I just clicked edit on each forum in wordpress and found it there and deleted it, so now they display correctly. I have *no* idea why astra adds all that junk html after title & descr, another bug!

    #234799
    Robin W
    Moderator

    that is the wordpress profile.

    so you will fix that part by

    Profile & Dashboard fields [Modify/Disable/Remove]

    There is also a bbpress profile, but you are using the astra theme, and there is a bug which astra know about which stops it working – it just goes to a page with a permanent loop

    https://wordpress.org/support/topic/bbpress-user-profile-broken-on-latest-update/

    you get to a bbpress profile by clicking the username in the forums.

    You can turn this off using

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Profile

    #234797
    valarcher
    Participant

    >wordpress profile or bbpress profile ?? There’s a bbpress profile? When I installed bbpress into astra wordpress theme, it displays the normal wordpress profile page when a person clicks on their name in the upper right, e.g. I added you as a forum participant:

    login at: https://greensmoothie.com/forums

    It’s that email I’d like to prevent users from changing.

    Where’s the bbpress profile?

    #234796
    Robin W
    Moderator
    #234795
    Robin W
    Moderator

    so is this wordpress profile or bbpress profile- in essence give me the url of your profile page

    #234792
    valarcher
    Participant

    Problem is I need it to display like this:

    Challenge Question — Private
    What’s your number one challenge related to eating high-raw plant-strong?
    Edit | Close | Trash | View

    High-Raw Plant-Strong Life — Private
    Ask questions, share your knowledge of the high-raw plant-strong lifestyle
    Edit | Close | Trash | View

    And instead its displaying like this:

    Challenge Question — Private
    What’s your number one challenge related to eating high-raw plant-strong? <div id=”highlighter–hover-tools” style=”display: none;”> <div id=”highlighter–hover-tools–container”> <div class=”highlighter–icon highlighter–icon-copy” title=”Copy”></div> <div class=”highlighter–icon highlighter–icon-change-color” title=”Change Color”></div> <div class=”highlighter–icon highlighter–icon-delete” title=”Delete”></div> </div> </div> <div id=”highlighter–hover-tools” style=”display: none;”> <div id=”highlighter–hover-tools–container”> <div class=”highlighter–icon highlighter–icon-copy” title=”Copy”></div> <div class=”highlighter–icon highlighter–icon-change-color” title=”Change Color”></div> <div class=”highlighter–icon highlighter–icon-delete” title=”Delete”></div> </div> </div> <div id=”highlighter–hover-tools” style=”display: none;”> <div id=”highlighter–hover-tools–container”> <div class=”highlighter–icon highlighter–icon-copy” title=”Copy”></div> <div class=”highlighter–icon highlighter–icon-change-color” title=”Change Color”></div> <div class=”highlighter–icon highlighter–icon-delete” title=”Delete”></div> </div> </div>
    Edit | Close | Trash | View

    How do I tell bbpress to NOT display all that html?

    #234790
    Robin W
    Moderator
    #234787
    valarcher
    Participant

    Hi – I’m getting a ton of unwanted html on the Forums page between each forum title. I need it to display *only* the title and description — same way only title is displayed on Posts and Pages — not all that junk html. Astra says it’s not coming from their theme.

    Does anyone know why bbpress does this, and how to solve it? Thanks!

    Here’s the image: https://imgbox.com/WYiTWGnW

    #234784
    valarcher
    Participant

    Hi Robin – thanks million for renaming title. That php works perfectly. Sadly the other problem of 1/3-col doesn’t work addressing #bbpress-forums. It works if I target the entire page, then every forum title like this:
    #post-9486,#bbp-forum-9475,#bbp-forum-9473,etc {width:100%;}
    but the moderator doesn’t have access to css so won’t be able to add every forum to css when she creates it.

    I’ll carry on hounding astra for solution. Otherwise worst case scenario I just set blog archives to 1 column.

    While I have you… your code here:
    /** bbPress: add description under forum titles
    https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/ */

    function rw_singleforum_description() {
      echo '<div class="bbp-forumpage-content">';
      echo bbp_forum_content();
      echo '</div>';
    }
    add_action( 'bbp_template_before_single_forum' , 'rw_singleforum_description');

    You have the first echo as “bbp-forum-content” but by changing it to “forumpage-content”, we’re able to target the description on index page and description on forum page separately in css, eg. on forum pages I have it red bold and centered, whereas on index page I have it in regular left-aligned text.

    Thanks million for all the work you put into the codex! I’m not keen on installing plugins such as your style pack, so codex is really helpful finding just the php I need.

    Do you perhaps have any solution to this code? I’m trying to grey out the user’s email on their profile page so they can’t update it. But I need users to update other info like website and bio. However with code below, if I test writing words in bio (as a logged in participator, not as keymaster) and try saving it, I get “Error: Please enter an email address.” I can see the email greyed out there.

    Do you know a way to fix it so ONLY the email and role can NOT be changed (although role does not even display on a participant user’s page) and everything else can be edited? (except for username of course)

    /** bbPress/WP: prevents subscriber from changing email (greyed out)
    https://www.role-editor.com/hide-disable-wordpress-user-profile-fields/ */

    add_action('admin_init', 'user_profile_fields_disable');
    function user_profile_fields_disable() {
    global $pagenow;
    // apply only to user profile or user edit pages
    if ($pagenow!=='profile.php' && $pagenow!=='user-edit.php') {
    return;
    }
    // do not change anything for the administrator
    if (current_user_can('administrator')) {
    return;
    }
    add_action( 'admin_footer', 'user_profile_fields_disable_js' );
    }
    /**
    * Disables selected fields in WP Admin user profile (profile.php, user-edit.php)
    */
    function user_profile_fields_disable_js() {
    ?>
    <script>
    jQuery(document).ready( function($) {
    var fields_to_disable = ['email', 'role'];
    for(i=0; i<fields_to_disable.length; i++) {
    if ( $('#'+ fields_to_disable[i]).length ) {
    $('#'+ fields_to_disable[i]).attr("disabled", "disabled");
    }
    }
    });
    </script>
    <?php
    }

    I know nothing about php – other than simple stuff like seeing I can change forum-content to forumpage-content!

    #234761
    Robin W
    Moderator

    This is one of the new FSE themes, so you need a fix to work with bbpress.
    install

    bbp style pack

    once activated, navigate to

    dashboard>settings>bbp style pack, and you should see the first tab called ‘Theme Support’ – if you don’t see this, come back.

    In that tab, select

    Enable Theme Support

    and save

    The forums should then display

    beabudai
    Participant

    Hi,

    bbpress showing blank pages and multiplying fields on our websites when we are using de themes Astra, the WordPress themes Twenty Twenty-Two and Twenty Twenty-three. It works only with Twenty Twenty-one.

    I made a staging website to be able to test it: https://staging.armanl.eu/test/

    The bbpress pages with has a fields multiplying problems with Asstra theme are : https://staging.armanl.eu/test/forums/users/beabudai/

    With the other themes they show a blank page except with Twenty Twenty-one.

    I am using the latest version of WordPress and bbpress version Version 2.6.9

    All the other plugin are deactivated for testing purposes.

    Please can someone help with this problem?

    Thank you, Bea

    #234759
    Robin W
    Moderator

    so for your first, try this

    add_filter( 'get_the_archive_title', 'rew_amend_forums' , 10 , 3) ;
    
    function rew_amend_forums ($title, $original_title, $prefix ) {
    	if ($title == 'Forums') $title = 'Private Forums' ;
    return $title ;
    }

    for your second, this is really one for Astra – I could spend many hours looking for an answer is their code.

    but based on your previous post you could try

    #bbpress-forums {width:100%;}

    #234748
    Tim Wilson
    Participant

    I have made some progress (sort of) I purchased Miresa – WordPress Rich Text Editor plugin for BuddyPress and disabled bbPress. Unfortunately the Miresa Editor is not working properly but may only require some custom CSS to fix it. I have contacted the author egemenerd. We will see what transpires.

    Plugin GD bbPress Attachments, suggested by some for attaching files to BuddyPress forums doesn’t work for me. I cant access the settings. It gives me an error message

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

    #234743
    Robin W
    Moderator

    Tim,

    I freely confess that I have had little to do with buddypress as I have never had the need of it.

    But my understanding is that buddypress simply uses bbpress, so creation/deletion/edit in the buddypress area will also change if you access the forum directly. If you are not seeing this, then I might suspect caching software not updating.

    so when you say

    BuddyPress has its own forum which is bland and limited and bbPress is the “nice” functional forum

    I’m not sure what you are seeing in one that is not in the other – can you give an example to help.

    I haven;t checked, but have you also posted this in the buddypress support page ?

    #234742
    valarcher
    Participant

    Hi – I’m trying to change the title of my forum index page. I tried item 3 method 2 at:

    Step by step guide to setting up a bbPress forum – Part 1


    — saving my index page as /members (not /forums) as per WP settings, and then tried to give members page in wordpress the title “Private Forums” (instead of title Members). It displays as “Private Forums” (not “Members”) in the breadcrumb. But still on main index page, it displays only the title “Forums.”

    I’m using the shortcode [bbp-forum-index] on /members page as I have text above and below it.

    What can I add to functions.php that will force that index page to display the title “Private Forums”?

    Thank you!

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

    #234734
    Mike Witt
    Participant

    Holy cow, I can’t believe I didn’t think of that!

    Yes, you’re right. When I post anything as a regular user I get the notice. And changing that line in bbpress/includes/common/functions.php does appear to make it go away. I commented on the ticket just to say that I tried it.

    Thanks!

    #234730
    Robin W
    Moderator

    waiting for an email from someone else, so playing with this – this should work

    #bbpress-forums li.bbp-header {
    	background-color: blue;
    }
    #bbpress-forums li.bbp-footer {
    	background-color: green;
    }

    if you put this in

    dashboard>settings>bbp style pack>custom css

    then it will exceute at the right point

    let me know if it doesn’t work

    #234722
    Mike Witt
    Participant

    That’s what I was planning to do, but I can’t replicate the problem. When I just make a couple of posts and replies, I don’t get the php notice. That’s why I was thinking maybe it wasn’t bbPress. There must be something special I need to do, to invoke the “blacklist” thing? It happens every once in a while. But I can’t find an action that causes it to happen. I gather that you don’t see it happening, right?

    [10-Mar-2023 04:55:26 UTC] PHP Deprecated: Function get_option was called with an argument that is <strong>deprecated</strong> since version 5.5.0! The "blacklist_keys" option key has been renamed to "disallowed_keys". in .../public_html/wp-includes/functions.php on line 5667

    #234720
    Tim Wilson
    Participant

    I am using WordPress Version 6.1.1 and bbPress 2.6.9
    I have tested with all plugins except bbPress deactivated and test themes such as Twenty Twelve and Twenty Seventeen.
    with admin account under Dashboard >> Settings there is no forum option.

    I acknowledge that bbPress has not been tested with this version of WordPress but rolling back to an earlier version of WordPress doesn’t seem like a smart idea from a security point of view.

    #234719
    Robin W
    Moderator

    I was sure it had a ticket, but can’t find, so I’ve created a new one.

    https://bbpress.trac.wordpress.org/ticket/3538

    Given that you are seeing this, can you change the wording in the bbpress file and see if the error goes away – it should cause no issues, it would just get overwritten by an update. Given that a new version is unlikely to be released anytime soon, it should stop them appearing for you, and would confirm that this is the fix.

    #234716

    In reply to: Forum Issues

    Robin W
    Moderator
    #234711

    Topic: Forum Issues

    in forum Troubleshooting
    sbsensory
    Participant

    Hi I have created a forum with bbpress, however i am having problems creating the pages in order for it to be visible. What plugin should i be using for pages. Currently have Yoast SEO but this looks different to the videos that i am following on youtube. Thanks

    #234707
    ljmac
    Participant

    So no one can help me with this? I know that the Jetpack mobile theme restricts the blog posts to 5 per page (even though it is set to 10 in the WordPress settings, which is what I want for my desktop theme), so I assume there must be some kind of hook I can use to do the same with bbPress posts.

Viewing 25 results - 1,376 through 1,400 (of 64,423 total)
Skip to toolbar