Skip to:
Content
Pages
Categories
Search
Top
Bottom

Is there any way to let only topic owner to edit topic tags?

Published on January 10th, 2017 by Sadegh Hosseini

Hi,
Is there any way to let only topic owner to edit topic tags?
Right now every users can edit topic tags.

Trouble migrating large Drupal 6 forum

Published on January 10th, 2017 by soundboy

Hi, I’ve been working on migrating my large Drupal site to WordPress. I’ve managed to do the majority of the site but now I’m stuck on the forum.

I’m using Drupal 6 and Advanced Forum, I have 26K topics and 700K replies.

I’ve tried running the script on a couple of different local machines, and on my VPS server where I’ve had the most success; the script does the 26K topics smoothly but then hangs pretty early in the replies, around the 700th row. Locally, it gets stuck before. Weird thing is that a couple of times I’ve left it running for longer, eventually it manages to go past that sticking point and just continues extremely slowly.

Also: I’ve read the troubleshooting instructions, which make sense but I don’t understand how to pinpoint the line numbers within the database, specifically these points:

  • “Now drop all the rows in the database that are not in the range of rows that failed during import”
  • “Once you have your list of offenders and the import has finished delete these rows from the database and test again to make sure it completes without hanging

So question #1: if I look at my database in phpMyAdmin for example, and I know the problem is in rows 700-799 of my replies, how do I locate these rows?

Question #2: Is there a way to know for sure if the problem is performance/memory related or if it’s an encoding issue in a specific row? I don’t know if I should be directing my efforts to solving performance issues or pinpointing problem rows.

And finally question #3: Does anybody here have experience with these issues and would be willing to be hired to do this migration? Contact me if you do please!

Thank you very much for any help you can provide 🙂

How to create categories to structure

Published on January 10th, 2017 by RenaiSens

Hi,

I would like to structure my forum.
I would like to organize my forum with different themes.
For example :
– General Discussions.
– Discussions about Module 1.
– Discussions about Module 2.
– And so on

And then users can open several topics within each category.

Because I have the impression that at the root of my forum I can only start subjects. Or if I create a topic “General Discussions”, for example, everything inside is not sub-topics but replies.

How can I do that ?

Thanks
Pending to your replies
Regards
Ludovic

help with searching – resuts needed on one page

Published on January 10th, 2017 by coldy1993

Hello everyone, so first of all i am completely new to this stuff
My problem is when im looking for something in a forum ( after i type the search item ) , i find threads with so many pages ( up to a 100 page ) , and what im looking for is somewhere there,
so my question is , how to show all the pages in one page and than i can search there without changing to each page for every single search.
Like i said i am very new to this so an explnation would very much appreciated.
Thanks in advance.

Background Color

Published on January 9th, 2017 by scottwiggins17

I’ve searched and tried everything I can find to change the background colors and font colors of my bbpress forum. Right now it is copying the dark format of my X theme settings, and it has a black background with black font color and nothing is visible.

I installed the bbpress style pack but nothing changes when I mess with color schemes inside the style pack. There has to be an easy way to change background colors with out complicated css. I’m not at all familiar with css, so please dumb it down for me if this is what I need to do.

Please help!
thanks,
Scott

Count voice issued . Please help

Published on January 9th, 2017 by TheDream18

Hello,

I used this code for clear Topic info. To show topic is not supported yet, only creater topic voices in current. I checked code was correct, but it did not work, anyone can help please?

function none_people_discuss() {
$voice_count = bbp_get_topic_voice_count();

if ( $voice_count = 1 )
echo ‘<span class=”no_support”>[No support]</span>’;
}

add_action( ‘bbp_theme_before_topic_title’, ‘ none_people_discuss’ );

Custom Roles resetting: “— No role for these forums —”

Published on January 9th, 2017 by kajzh

Hello,

I am running bbPress v2.5.12 on WordPress 4.7 with a child theme I’ve developed based on Imaginem Themes’ Sentric Theme.

The problem:
In my child theme’s functions, I have added the following code to make two custom roles, Professional and Member, for my Q&A/”Ask the Expert”-style forum called “Ask a Professional.” Essentially, Members can make threads asking questions, but only screened Professionals have the ability to reply and provide answers.

I want everyone to automatically be assigned the Member role upon registration. Then I can manually “upgrade” their roles to Professional once they’ve been successfully screened. However, when a user registers and logs in, they inherit Member capabilities, but are not assigned the Member role. Manually selecting the user and assigning them the Member role doesn’t work; their role immediately reverts back to “— No role for these forums —”
screenshot

When I select the user and manually assign the Participant role, the role “sticks” — meaning, it doesn’t revert back to “No Role.” However, the “Member” capabilities remain.

screenshot

Does anyone know why this problem persists and how to fix it? This is the final thing that needs to be ironed out before my site goes live. 🙂 Thank you!

//code to add custom roles 
 
function add_new_roles( $bbp_roles )
{
    /* Add a role called professional */
    $bbp_roles['bbp_professional'] = array(
        'name' => 'Professional',
        'capabilities' => custom_capabilities( 'bbp_professional' )
        );
 
    /* Add a role called member */
    $bbp_roles['bbp_member'] = array(
        'name' => 'Member',
        'capabilities' => custom_capabilities( 'bbp_member' )
        );
 
    return $bbp_roles;
}
 
add_filter( 'bbp_get_dynamic_roles', 'add_new_roles', 1 );
 
function add_role_caps_filter( $caps, $role )
{
    /* Only filter for roles we are interested in! */
    if( $role == 'bbp_professional' )
        $caps = custom_capabilities( $role );
 
    if( $role == 'bbp_member' )
        $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 'professional' role */
        case 'bbp_professional':
            return array(
                 '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'    => true,
 
                // Topic caps
                'publish_topics'        => true,
                'edit_topics'           => true,
                'edit_others_topics'    => false,
                'delete_topics'         => true,
                'delete_others_topics'  => true,
                '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'     => true,
                'edit_topic_tags'       => true,
                'delete_topic_tags'     => true,
                'assign_topic_tags'     => true,
            );
 
            /* Capabilities for 'member' role */
        case 'bbp_member':
            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'       => false,
                'edit_replies'          => false,
                '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'     => false,
            );
 
            break;
 
        default :
            return $role;
    }
}

Troubleshooting:

  1. I’ve tried to disable plugins and see if any of them are causing this issue. This hasn’t yielded any different results.
  2. I’ve checked with the Twenty Sixteen and Twenty Seventeen theme.

Changing a user’s post count?

Published on January 9th, 2017 by gulfwx

We are moving from a forum (that can’t be imported) to bbpress, and our 3000 members would like to keep their post counts. We are using bbp user ranking to show each user’s reply count. Is there a way to edit that number for individual users?

Package installation error bbpress.2.5.12.zip

Published on January 9th, 2017 by huwea49awj5ewjpatihc7

Installing Theme from uploaded file: bbpress.2.5.12.zip
Unpacking the package…

Installing the theme…

The package could not be installed. The theme is missing the style.css stylesheet.

Theme install failed.

Please provide an installer that resolved this issue.

Thank you.

PHP Warnings

Published on January 9th, 2017 by avalanche

I’m receiving a php warning when I go to http://scafra.org/
Warning: ksort() expects parameter 1 to be array, object given in /home/content/p3pnexwpnas01_data01/45/3635545/html/wp-content/plugins/bbpress/includes/core/template-functions.php on line 316

When I go to /wp-login.php I receive these warnings:
Warning: ksort() expects parameter 1 to be array, object given in /home/content/p3pnexwpnas01_data01/45/3635545/html/wp-content/plugins/bbpress/includes/core/template-functions.php on line 316

Warning: Cannot modify header information - headers already sent by (output started at /home/content/p3pnexwpnas01_data01/45/3635545/html/wp-content/plugins/bbpress/includes/core/template-functions.php:316) in /home/content/p3pnexwpnas01_data01/45/3635545/html/wp-login.php on line 394

Warning: Cannot modify header information - headers already sent by (output started at /home/content/p3pnexwpnas01_data01/45/3635545/html/wp-content/plugins/bbpress/includes/core/template-functions.php:316) in /home/content/p3pnexwpnas01_data01/45/3635545/html/wp-login.php on line 407

After I attempt to login, I receive an error that my password is incorrect, and then I receive these warnings:
Warning: ksort() expects parameter 1 to be array, object given in /home/content/p3pnexwpnas01_data01/45/3635545/html/wp-content/plugins/bbpress/includes/core/template-functions.php on line 316

Warning: Cannot modify header information - headers already sent by (output started at /home/content/p3pnexwpnas01_data01/45/3635545/html/wp-content/plugins/bbpress/includes/core/template-functions.php:316) in /home/content/p3pnexwpnas01_data01/45/3635545/html/wp-login.php on line 394

Warning: Cannot modify header information - headers already sent by (output started at /home/content/p3pnexwpnas01_data01/45/3635545/html/wp-content/plugins/bbpress/includes/core/template-functions.php:316) in /home/content/p3pnexwpnas01_data01/45/3635545/html/wp-login.php on line 407

Warning: Cannot modify header information - headers already sent by (output started at /home/content/p3pnexwpnas01_data01/45/3635545/html/wp-content/plugins/bbpress/includes/core/template-functions.php:316) in /home/content/p3pnexwpnas01_data01/45/3635545/html/wp-includes/pluggable.php on line 893

Warning: Cannot modify header information - headers already sent by (output started at /home/content/p3pnexwpnas01_data01/45/3635545/html/wp-content/plugins/bbpress/includes/core/template-functions.php:316) in /home/content/p3pnexwpnas01_data01/45/3635545/html/wp-includes/pluggable.php on line 894

Warning: Cannot modify header information - headers already sent by (output started at /home/content/p3pnexwpnas01_data01/45/3635545/html/wp-content/plugins/bbpress/includes/core/template-functions.php:316) in /home/content/p3pnexwpnas01_data01/45/3635545/html/wp-includes/pluggable.php on line 895

Although I can’t login via WordPress, I can FTP, but I’m not sure what to change.

Skip to toolbar