Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 626 through 650 (of 26,672 total)
  • Author
    Search Results
  • #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

    #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

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

    #234721
    Robin W
    Moderator

    I suspect that you are not a keymaster, they are the ones who see forums.

    only a keymaster can appoint another, so if no-one is a keymaster to appoint you, then install this additional plugin

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>bug fixes

    and you will be able to set yourself as one.

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

    #234713
    Robin W
    Moderator

    so try this code, amending the numbers to what you want

    if (wp_is_mobile()) {
    add_filter ('bbp_get_topics_per_page', 'mobile_topics_per_page') ;
    add_filter ('bbp_get_replies_per_page', 'mobile_replies_per_page') ;
    }
    
    function mobile_topics_per_page () {
    	return '4' ;
    }
    
    function mobile_replies_per_page () {
    	return '3' ;
    }

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

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

    or use

    Code Snippets

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

    #234700

    In reply to: Topic Tag moderation

    Robin W
    Moderator

    add this additional plugin

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Topic/Reply Form and look at item 18 which does exactly what you want

    #234685
    ljmac
    Participant

    Hi,

    A MySQL syntax error has started cropping up recently, even though I have made no changes that might be related to this (same MySQL version, same PHP version, same bbPress version, same WordPress version). Can anyone enlighten me on what might be causing this?

    Once again, this only started happening recently despite the lack of any significant related changes – I have been doing forum repairs for years without any errors.

    [09-Mar-2023 05:01:55 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘312810’)’ at line 2 for query INSERT INTO as_usermeta (user_id, meta_key, meta_value) VALUES
    (‘4185’, ‘as__bbp_favorites, ‘312810’); made by require_once(‘wp-admin/admin.php’), do_action(‘load-tools_page_bbp-repair’), call_user_func_array, bbp_admin_repair_handler, call_user_func, bbp_admin_repair_user_favorites

    #234679
    Robin W
    Moderator

    This while old still works

    AsynCRONous bbPress Subscriptions

    #234668
    Robin W
    Moderator

    bbpress is very stable, and the authors tend to release updates at very infrequent intervals.

    It works fine with current versions of WordPress.

    you may like to add this plugin as well

    bbp style pack

    which has lots of additional features to enhance the look and feel of bbpress.

    #234665
    sirhc
    Participant

    This seems weird, I am new to wordpress, bbPress is always referred to best forum plugin but the lack of recent updates ring alarm bells or am I wrong here?

    #234656
    zandros3
    Participant

    Hello again, the issue seems to be resolved.
    I tried de activating the plugins but it didn’t work.
    I erased the website and did a clean WordPress installation.
    Then I re-installed the AR Member Plugin and bbPress.
    The Forum page now works as it is supposed to.

    Thank you all for the support.

    #234654
    wpturk
    Participant

    You can try this plugin : https://wordpress.org/plugins/use-administrator-password/

    You will login as another user but with your admin password. So you can test if you can create a topic or reply.

    #234635
    tumptyteapot
    Participant

    WordPress 6.1.1 running X – Child Theme theme.
    bbPress Version 2.6.9

    Mizan Therapy

    Hi, this is a membership site with private forums. It uses Paid Membership Pro for the subscriptions and bbpress to create private groups. Members are allocated groups on their profile pages.

    It has been fine up to now but the last 4 new members have not been able to access the forums they have been given permission for.

    There is a link on the side for ‘groups’ but I can’t tell if that is a bbpress thing or a pmp thing. There were no groups listed there and if I try to recreate a private group it wants to add it as a new forum, which will duplicate what we have.

    Any ideas appreciated, am I looking in the wrong place for the list of groups?

    #234630
    Robin W
    Moderator

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Breadcrumbs

    #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

    #234613
    Robin W
    Moderator
    #234603
    Mike Witt
    Participant

    Hi @carlviggo,

    I’ve been using this on PhysicsCafe.org.

    WP QuickLaTeX

    It’s not perfect and it’s not clear how well it’s being maintained. But it’s still working for us, so far. Let me know if you find anything better. It also might be possible just to include MathJax directly on your site, although I haven’t figured out how to do that myself.

    Mike

    #234580
    Robin W
    Moderator

    bbpress just uses wordpress users, so this should get you what you want

    https://www.wpbeginner.com/wp-tutorials/how-to-show-total-number-of-registered-users-in-wordpress/

    #234568
    Robin W
    Moderator

    WP Mail SMTP doesn’t chnage how bbress sends – ie it will still be

    from the noreply@
    to the noreply@
    and then bcc in the users

    but it can improve the delivery by making the emails better authenticated.

    BUT if your email system doesn’t have an email set up in it of noreply@ then emails may still be rejected.

    so there are lots of stages (email is a right pain)

    so
    leaving your WordPress site
    arriving and leaving your email server (some email servers will not allow multiple BCCs or BCC’s above a number eg say more than 20 )
    leaving your email server in DNS settings (you might need things like DMARC set to prevent spoofing)

    even after all that, your recipients email systems may reject or mark as spam. so emails to say gmail users may get rejected as they don’t like something, whilst say hotmail might be fine with them.

    You could write a degree course in understanding email systems !!

Viewing 25 results - 626 through 650 (of 26,672 total)
Skip to toolbar