Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 2,601 through 2,625 (of 11,605 total)
  • Author
    Search Results
  • #177594
    Robin W
    Moderator

    ok, thanks for confirming.

    Without spending considerable time testing, why not just take out that entire section for bbpress (and if needed juts put back the bits you want) eg

    //* Hook social icons and click here widget areas
     add_action( ‘genesis_after_header’, ‘the_411_extras’, ‘genesis_after_sidebar_widget_area’ );
    
     function the_411_extras() {
    if (!is_bbpress {
    if ( is_active_sidebar( ‘social-icons’ ) || is_active_sidebar( ‘click-here’ ) || is_active_sidebar( ‘split-sidebar-left’ ) || is_active_sidebar( ‘split-sidebar-right’ )) {
    
    echo ‘<div class=”site-extras”>’;
    
    genesis_widget_area( ‘social-icons’, array(
     ‘before’ => ‘<div class=”social-icons”>’,
     ‘after’ => ‘</div>’
     ) );
    
    genesis_widget_area( ‘click-here’, array(
     ‘before’ => ‘<div class=”click-here”>’,
     ‘after’ => ‘</div>’
     ) );
     genesis_widget_area( ‘split-sidebar-left’, array(
     ‘before’ => ‘<div class=”split-sidebar-left”>’,
     ‘after’ => ‘</div>’,
     ) );
     genesis_widget_area( ‘split-sidebar-right’, array(
     ‘before’ => ‘<div class=”split-sidebar-right”>’,
     ‘after’ => ‘</div>’,
     ) );
    
    echo ‘</div>’;
    
    }
     
    
    }
    
    }

    I’m also not sure why your add action has two functions

    add_action( ‘genesis_after_header’, ‘the_411_extras’, ‘genesis_after_sidebar_widget_area’ );

    all the coding I have ever done has one, and then maybe some arguments on priority etc.

    #177562
    Robin W
    Moderator

    we’re probably both insane !

    It worked on my test site, but then I do have a lot cooking on there.

    back to my code above, can you try

    case bbp_get_participant_role() :

    in place of the line

    case 'bbp_participant':

    #177543
    Robin W
    Moderator

    untested, but this should in theory let you play with the capabilities of the participant role

    function add_role_caps_filter( $caps, $role )
    {
        /* Only filter for roles we are interested in! */
        if( $role == 'bbp_participant' )
            $caps = custom_capabilities( $role );
         return $caps;
    }
     
    add_filter( 'bbp_get_caps_for_role', 'add_role_caps_filter', 10, 2 );
     
    function custom_capabilities( $role )  {
        switch ( $role )
        { 
            /* Capabilities for 'participant' role */
            case 'bbp_participant':
                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;
        }
    }
    #177523
    evanevans333
    Participant

    Any progress on this? I am having this problem, and I am using the latest version of bbPress. Also at this point, bbPress Advanced Capabilities, nor Capability manager Enhanced, nor Members, nor any other Role Editor, will allow me to edit the Participant role.

    #177512
    senatorman
    Participant

    i’ve update phpbb to 3.1.9 and use BBpress 2.6 alpha

    I’ve downloaded te latest version of the phpbb.php importfilefrom:
    https://bbpress.trac.wordpress.org/browser/trunk/src/includes/admin/converters/phpBB.php?rev=5795

    When i run the converting i get this error:

    Repair any missing information: Continue
    WordPress databasefout: [Unknown column ‘forums.forum_topics_real’ in ‘field list’]
    SELECT convert(forums.forum_id USING “utf8mb4”) AS forum_id,convert(forums.parent_id USING “utf8mb4”) AS parent_id,convert(forums.forum_topics_approved USING “utf8mb4”) AS forum_topics_approved,convert(forums.forum_posts_approved USING “utf8mb4”) AS forum_posts_approved,convert(forums.forum_topics_real USING “utf8mb4”) AS forum_topics_real,convert(forums.forum_posts USING “utf8mb4”) AS forum_posts,convert(forums.forum_name USING “utf8mb4”) AS forum_name,convert(forums.forum_desc USING “utf8mb4”) AS forum_desc,convert(forums.left_id USING “utf8mb4”) AS left_id,convert(forums.forum_type USING “utf8mb4”) AS forum_type,convert(forums.forum_status USING “utf8mb4”) AS forum_status FROM phpbb_forums AS forums LIMIT 0, 100
    Geen forums te converteren
    Verwijder standaard wachtwoorden van WordPress gebruikers (500 – 599)
    Verwijder standaard wachtwoorden van WordPress gebruikers (400 – 499)
    Verwijder standaard wachtwoorden van WordPress gebruikers (300 – 399)
    Verwijder standaard wachtwoorden van WordPress gebruikers (200 – 299)
    Verwijder standaard wachtwoorden van WordPress gebruikers (100 – 199)
    Verwijder standaard wachtwoorden van WordPress gebruikers (0 – 99)
    Gebruikers aan het converteren (500 – 599)
    Gebruikers aan het converteren (400 – 499)
    Gebruikers aan het converteren (300 – 399)
    Gebruikers aan het converteren (200 – 299)
    Gebruikers aan het converteren (100 – 199)
    Gebruikers aan het converteren (0 – 99)
    Geen gegevens om op te schonen
    Conversie starten

    #177470

    In reply to: meta-single-topic

    Robin W
    Moderator

    I’m not sure that this is in bbpress – it may be that it is in your theme, or your theme is amending bbpress.

    Try the following to see if it disappears and to work out what is creating this

    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

    #177468
    rateyourway
    Participant

    Hi there!

    I need to find where this file is located: meta-single-topic.php

    My problem is that when someone opens a topic there’s a link to go back to the discussions:

    ← Back to discussions

    I need to translate this to spanish, but i can’t find where the php file is so i can manually translate that… any idea?

    http://www.rateyourway.com/foro/tema/test-transporte-acuatico/

    Thanks in advance!

    #177456
    Thakksy
    Participant

    Hi folks,

    I’m having some trouble trying to remove the “by” part in the bbpress latest topics widget. I’ve inspected the css and html and can’t figure it out. Any help would be great.

    #177455
    smartIt
    Participant

    Hi,
    I created a forum, his id is 3569159-2 and it contains one topic.

    in this page of my website http://radiotounsi.com/?page_id=4862
    I tried to display this forum by using the shortcode [bbp-single-forum id=$3569159-2] but nothing is displayed, but other bbpress shortcodes work just fine like [bbp-forum-index] and [bbp-login]
    I switched the theme to twenty sixteen for testing purpose, same problem

    Robin W
    Moderator

    suspect it is 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

    #177424
    thegarnet
    Participant

    Robkk,

    I am already using
    * WordPress 4.6
    * bbPress 2.5.10
    * BuddyPress 2.6.2

    It seems all these are the latest at this time.

    #177384

    In reply to: SMF to bbpress

    Stephen Edgar
    Keymaster

    Strange, I’ll try to take a look at this next week @moedan9

    When I do look at it though I’ll be using SMF 2.0.11 as it is the latest release.

    #177377
    Robkk
    Moderator

    So you are trying to configure BuddyPress with its own inbuilt bbPress v1 forums? I think the bbPress v1 in BuddyPress (BP Forums) has issues in the last few major version of BuddyPress.

    Why not look into just using the latest version of bbPress v2 and BuddyPress and use BuddyPress’ groups feature with bbPress.

    https://codex.buddypress.org/getting-started/installing-group-and-sitewide-forums/

    #177329
    senatorman
    Participant

    I understand that there is no support for older versions phpbb 3.0.x and that this feature only have to work with the latest versions. But iám not happy with that.

    I have a huge (+1000K posts) phpbb 3.0.x forum with a lot of extra custom contributions and will stop with phpbb becausse phpbb is not populair anymore. support is bad and there is no evolution.

    To update a huge forum to phpbb3.1 it is a lot of strugling and not easy to do.
    Now i’ve to do it, and hope there are not data lost.

    Is there a old plugin available to import pbp3.0.x with is working fine with huge database?
    The last version of the import has problems and lost the relation between post and owner.

    #177315
    Stephen Edgar
    Keymaster

    Try also having the user flush/clean their browser cache.

    You can also test things by creating a test user yourself and making sure everything works as expected

    #177276
    Robin W
    Moderator

    The two ‘test’ items below are easier, as they just use blockquote so you can add this to your css

    #bbpress-forums blockquote {
      color: green;
    }

    I presume that you don’t want to change the class in the other plugin?

    #177275
    mmirlach
    Participant

    Hi, I’m using bbpress on my upcoming videogame website:
    http://20160719.gaming-universe.de/guf/topic/testtest/#post-6864

    As you can see, the template uses information from the WP theme style.css.
    This is overall a good thing but the blockquote function looks off.
    I’m also using a couple of plugins so I feel that I might be able to change that via a CSS function but don’t understand CSS very well.

    When looking at the code, the blockquote seems to use a specific class from one of my plugins:
    blockquote class=”d4pbbc-quote”

    Can anyone point me to where I can change the CSS for the blockquote attribute?

    Thanks, Matthias

    #177274
    Robin W
    Moderator

    ok, can as a test you try disabling Askimet and seeing if that fixes – I am trying to work out where the problem is occurring.

    Robin W
    Moderator

    ok, I can’t see why it isn’t working, although I still have the top menu as well as the side one in my test site.

    How did you turn off the top menu in your setup? I can’t instantly see how to do that

    auludag
    Participant

    and more info: i am using the latest version of WordPress and bbpress.

    forum link (turkish) http://kadinlarkosku.com/kadinlarkosku-forum/

    Robin W
    Moderator

    Just tested, and it works fine on twentyfourteen on my test site.

    Any chance of a link to your site?

    mlwilkerson
    Participant

    I’m seeing the same thing as originally reported by @mfiguerasma.

    I first noticed it when my non-admin user (TestUser) *suddenly* could no longer see a topic that he had formerly been able to see. In my case, I am using sub-forums. (See: https://bbpress.trac.wordpress.org/ticket/2191#comment:17 )

    I have a BP Group called GroupH.
    The group forum root is a type=category group called “Group Forums”
    Subforum1-GroupH is under the forum “GroupH”.

    GroupH is the group forum, i.e the one you see in a the drop-down in the settings where you select which forum is associated with the BP Group.

    So, it’s:

    Group Forums
    GroupH
    Subforum1-GroupH
    Topic1-Subforum1-GroupH

    All of the forums and subforums have a Visibility setting of Private (in the admin settings screens).

    So Topic1-Subforum1-GroupH was accessible by my TestUser one minute and then wasn’t the next minute. I knew that I hadn’t changed the visibility settings on my forums or anything else, but I realized that what I had done (thinking it was merely “for good measure”) was to run:
    Tools->bbPress->Recalculate private and hidden forums

    I recreated my original scenario, verified that TestUser could access Topic1-Subforum1-GroupH, and then used Updraft to take snapshots of my database before running “Recalculate private and hidden forums” calculate again. Sure enough, after that “repair”, it was broken again.

    So I debugged it. This repair tool kicks off bbp_repair_forum_visibility() which updates two options in the options table:
    _bbp_private_forums
    _bbp_hidden_forums

    These are pre-calculated, cached, lists of forums.

    If the forum_id for GroupH appears in _bbp_hidden_forums, then TestUser won’t be able to access Topic1-Subforum1-GroupH. Before running this “repair”, the forum_id for GroupH does not appear in that list. After the repair it does.

    So, how is the forum_id for GroupH getting into this list of hidden forums when the post_status on the forum is most definitely private? (Verified by looking at its row in the posts table)

    It’s getting there precisely by the means @mfiguerasma showed.

    When the query is being run to get a list of all “hidden” forums, in order to create _bbp_hidden_forums, it invokes the pre_get_posts filter. bbPress uses that filter bbp_pre_get_posts_normalize_forum_visibility() to change the query_vars.

    Notice what’s happening here:

    (1) The WP_Query is saying “I am trying to find a list of *hidden* forums” (I have my own reasons for why I want a list of hidden forums.)

    (2) But bbp_pre_get_posts_normalize_forum_visibility() seems to be second-guessing. I receives query_vars with post_type=hidden, but then the way its logic works is to say: “What are various post statuses that this user has permission to see. Ah, this user can see both hidden and private ones, so I’ll update the query_vars to include post_types of both hidden and private.”

    I think the logic of bbp_pre_get_posts_normalize_forum_visibility() is exactly backwards. It’s trying to include all of the post_types that the user can access. But that’s not why it has been invoked. It’s been invoked in the process of simply creating a list of hidden forums for _bbp_hidden_forums and its messing that up by including the private post_status.

    (3) So what the WP_Query gets back is a list of forum_ids for all hidden *and private* groups. And that’s the list that ultimately gets stored in _bbp_hidden_forums.

    So this “repair” actually breaks my forums.

    If you simply remove this bbPress filter before doing the repair, it seems to produce the correct result. My TestUser can access Topic1-Subforum1-GroupH both before and after the repair when we remove the filter:
    remove_action(‘pre_get_posts’,’bbp_pre_get_posts_normalize_forum_visibility’,4);

    #177189

    In reply to: Errors creating forum

    Robin W
    Moderator

    The second fatal error is related to your plugin social-networks-auto-poster-facebook-twitter-g

    suggest you deactivate this as a test and see if all the errors go away

    then come back

    #177180

    In reply to: return to index

    flashwolf
    Participant

    yes i go back to my theme

    i can’t post a link here for a lot of reason
    first, this web site is adult ( elegant but adult) ( perhaps in private but i prefer to say you before)
    and second to use the forum you must be member and i have block the invitation

    perhaps you can give me an other plug of forum who work with buddypress to do the test
    thx

    #177177

    In reply to: return to index

    Robin W
    Moderator

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and buddypress 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

Viewing 25 results - 2,601 through 2,625 (of 11,605 total)
Skip to toolbar