Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress'

Viewing 25 results - 1,351 through 1,375 (of 26,679 total)
  • Author
    Search Results
  • #223777
    TeqToo
    Participant

    I’m on bbPress 2.6.6, WordPress 5.8.1, and the site is http://bluebirdnut.com/forums/.
    I had another SPAM attack last night, this time in the main forum. Hundreds of posts were made, all filled with what looked like Chinese characters. After the last attack, I set flood control at 90 seconds. Whatever or whoever made this attack managed to make it by just waiting 90 seconds between posts. I only caught it because I woke up at 4AM and checked my email and found a new participant had signed up for the forum. I UNchecked the box to “Automatically give registered visitors the
    Participant forum role”, which the documentation says will force me to manually assign all user access to your forums. But the new user was able to post without my having approved his role as a participant. I’ve now installed a reCaptcha plugin, but I don’t understand why the settings I’ve specified are being ignored.
    Oh, and when I checked the user’s profile (before deleting it) it was able to assign itself the MODERATOR role in addition to participant! I had to disable the plugin in the middle of the night in order to stop the attack. And the IP address of both this attack and the previous one (which I reported in this forum, but didn’t receive a single reply) resolved to the West coast of the US, not China.

    #223770

    In reply to: Add Custom User Roles

    Robin W
    Moderator

    ok, I think it was just loading in the wrong place, try

    add_filter( 'bbp_get_dynamic_roles', 'add_new_roles', 1 );
    add_filter( 'bbp_get_caps_for_role', 'add_role_caps_filter', 10, 2 );
    
    function add_new_roles( $bbp_roles )
    {
    /* Add a role called naturopath */
    $bbp_roles['bbp_naturopath'] = array(
    'name' =>'Naturopath',
    'capabilities' =>custom_capabilities( 'bbp_naturopath' )
    );
    
    return $bbp_roles;
    }
    
    function add_role_caps_filter( $caps, $role )
    {
    /* Only filter for roles we are interested in! */
    if( $role == 'bbp_naturopath' )
    $caps = custom_capabilities( $role );
    
    return $caps;
    }
    
    function custom_capabilities( $role )
    {
    switch ( $role )
    {
    
    /* Capabilities for 'naturopath' role */
    case 'bbp_naturopath':
    return array(
    // Primary caps
    'spectate' => true,
    'participate' => true,
    'moderate' => false,
    'throttle' => false,
    'view_trash' =>false,
    
    // 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' => false,
    'delete_others_topics' => false,
    'read_private_topics' => true,
    
    // Reply caps
    'publish_replies' => true,
    'edit_replies' => true,
    'edit_others_replies' => false,
    'delete_replies' => false,
    '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' => true,
    );
    
    break;
    
    default :
    return $role;
    }
    }

    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

    #223727
    Robin W
    Moderator

    that is as designed, you are not allowed to change your own forum role, just as you can’t change your own wordpress role.

    #223721
    angelfire4xx
    Participant

    Hi, I had to restore this in phpmyadmin usermeta after a glitch that caused me to lose my admin privileges
    a:2:{s:13:”administrator”;b:1;s:13:”bbp_keymaster”;b:1;}

    Since then my WP profile page no longer shows the forum role drop-down. This happens just for my profile (I am Admin) and no-one else’s. In the forums my profile is still showing as Keymaster.

    It’s not a major issue but I was wondering if there is something else that got corrupted in the database, and how to track it down.

    Wordpress 5.8.1

    Chuckie
    Participant

    Hi @wendylady

    Thanks for trying the plugin! According to the TinyMCE documentation for autosave it simply states:

    This plugin gives the user a warning if they made modifications to the content within an editor instance but didn’t submit the changes.

    I notice there is an option autosave_interval:

    This option enables you to specify the time the editor should wait between taking snapshots of the current content and saving them to local storage. The syntax is to append the letter s to the end of a number value. For example, “30s” for 30 seconds.

    According to the documentation the default is 30 seconds. Since i do not specify this option in my plugin it must be using this default of 30 seconds.

    If you don’t mind, could you also re-produce your query in the support forum for the plugin:

    https://wordpress.org/support/plugin/add-autosave-fullscreen-to-tinymce/

    ?

    And I can add the same response there.

    Does this help?

    #223661

    In reply to: Forum Topics

    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

    #223620
    aygunoz
    Participant

    So how can I edit this code for [bbp-topic-index] shortcut and Implementation to my WordPress plugin? If you please, Can you explain more bc I didn’t understand exactly what to do :/ Sorry.
    Thank you for helping

    #223613
    Robin W
    Moderator

    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

    #223571

    In reply to: Forum Topics

    Robin W
    Moderator

    add

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Forum Display

    and near the bottom you will see the ability to set the number of forums

    #223560
    Robin W
    Moderator

    not sure how this related to bbpress

    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

    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

    #223534

    Topic: Forum Display

    in forum Installation
    cryptobeya
    Participant

    Hello, I have successfully installed BBpress and have it displayed on a forums page. I would like to have 2 different forums pages, one for investors and one for developers. I have created several forums, however, I would like to display certain ones on one page and certain forums on another. How do I accomplish this? Do I have to have have all forums display on the same page?

    Wordpress = 5.8.1
    BBpress = 2.6.6

    Site = http://www.cryptobeya.com

    #223522
    Robin W
    Moderator
    #223514

    In reply to: bbPress does not work

    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

    huetherb
    Participant

    I suppose this isn’t WordPress or BBPress specific, but trying to figure out if there is a WordPress way of doing this.

    I am using BBPress, and on some page, such as https://somesite.com/lesson/some-lesson/, I have a block with a link to a discussion topic. That link is of form

    <a href="javascript:void(0);" data-target="#myModal" data-href="somesite.com/forums/topic/required-discussion-1/" data-toggle="modal" class="openPopup"><h3 class="topictype-title">required discussion 1</h3></a>

    The modal popup is handled in bootstrap via

    
    <div class="modal fade" id="myModal" role="dialog">
       <div class="modal-dialog modal-xl">
          <div class="modal-content">
             <div class="modal-header"><button type="button" class="close" data-dismiss="modal">×</button><h4 class="modal-title">Class Discussion</h4>
             </div>
             <div class="modal-body"></div><div class="modal-footer"><button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
            </div>
          </div>
       </div>
    </div>
    

    And with jQuery

    
        $('body').on('click', '[data-toggle="modal"]', function(){
            $($(this).data("target")+' .modal-body').load($(this).data("href"));
        });
    

    What happens now, is after hitting submit, the modal goes away, and the forum topic page with the submitted reply is loaded: url https://somesite.com/forums/topic/required-discussion-1/#post-25847

    The thing is, after user submits from the modal, I want either

    **1) the refresh (so, going to https://somesite.com/forums/topic/required-discussion-1/#post-25847) to happen in the modal, or**

    **2) for the modal to simply close and user is returned to exactly as they were prior to modal popping up, that is, to https://somesite.com/lesson/some-lesson/**

    Ideas on how to ideally achieve these two behaviors? I have never worked with modals before, so curious what are some best practices here to get the desired behavior.

    Thanks!

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

    #223497
    Robin W
    Moderator

    And breadcrumb does not display on the forum.

    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

    #223473

    In reply to: Force Login

    Robin W
    Moderator

    there are several plugins that stop dashboard access for levels eg

    Remove Dashboard Access

    #223455
    Robin W
    Moderator

    ‘There are some settings that will basically let you “refresh” certain aspects’

    ok no idea where that is and without a clear ‘click this, press that’ not really able to help on that aspect, and may well be an additional plugin which may be the cause.

    so I’d suggest

    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

    Robin W
    Moderator

    if only your invited users have login, then just set the forums as ‘private’.

    If lots of users have login and you want only some to see the forums, then use bbpress and this additional plugin

    Private groups

    PrincessL
    Participant

    I already have a website up and running for 5 years.
    Now we want a Forum. It will be private by invite only.
    Can I add the plugin to my website?
    Or do I need to create a brand new/unique WordPress install in a different folder and install the plugin?

    #223451
    cranney
    Participant

    Hi, we are using BBPress on ccwbra.com with WordPress 5.5.6 running Total theme.
    Our users can reach the forum landing page(https://ccwbra.com/forums_test/), but get 404 Page could not be found error when accessing any Forum or Topic.

    #223450
    linguabuddy
    Participant

    Hi,

    I’m experiencing some really odd behaviour when trying to change the slug for my Buddypress group directory (under which all my BBpress forums are housed) and redirect traffic.

    My set-up is: BP 9.1.1; BBp 2.6.6, WP 5.8.1

    Short explanation:

    • traffic to a pre-change (/[old]/[groupname]) group url is being redirected to (/[new]/[groupname]/forum)
    • This happens regardless of whether:
      • There is a specific redirect in place
      • There is a regex redirect in place (/[old]/(.*) to /[new]/$1/)
      • There is no redirect at all
    • My redirect provider – Rank Math – can’t explain this.

    I’ve not modified my hta, and the only other redirect rules in page on the site relate to post-login behaviour. It seems there’s something deep within Buddypress, BBpress or WordPress which is driving this, but I have no idea what.

    Does anyone have any idea what might be causing this abd how to address it? I dare not make this change on my live site without resolving and having a clear idea what’s behind it.

    Appreciate any suggestions…

    #223427
    Robin W
    Moderator

    I’d start by working out why emails are not arriving.

    bbpress just uses the wordpress registration so start with

    Email Test – Check if your emails are being delivered

    and then look at

    WP Mail SMTP by WPForms

    TeqToo
    Participant

    I recently had an attack on my forum where almost 14,000 posts were made in rapid succession, all with oriental characters. This wasn’t my main forum, but a secondary forum, so the contents isn’t super-important, although I’d like to preserve it if possible.

    I’ve tried sending the offending topics to trash, but there are at this point 11,000 of them, and every time I try to delete even 100 using the Bulk actions, I get a Resource limit message with a 503 or 505 error. I can’t possibly delete the topics one at a time! I’ve tried sending the entire forum to trash, but I get the same thing.

    In addition, I don’t understand how there could be topics started by Anonymous, when in my forum settings I have that ability UNchecked. After the attack, I upped the flood control settings to 90 seconds, and closed that forum, but I still don’t understand how they got in to do all that!

    I’m on bbPress 2.6.6, WordPress 5.8.1, and the site is http://bluebirdnut.com/forums/. The forum where the bogus posts are located is the second one listed, Soup to Nuts forum.

Viewing 25 results - 1,351 through 1,375 (of 26,679 total)
Skip to toolbar