Skip to:
Content
Pages
Categories
Search
Top
Bottom

Statistics & Private Forums

Published on January 20th, 2021 by andyt1980

Hi,
I’ve noticed when displaying the statistics with a shortcode or widget that private forums don’t get listed, is there anyway to change that so they are included?

Preview

Published on January 20th, 2021 by Gunivortus

There are forums where, after having written something to contribute, before definitely saving it, a preview can be viewed, in which the post is presented as it would be after saving it.
Is this also possible in bbpress? (If yes, how / where?)

Login, Register and Lost Password Redirects

Published on January 19th, 2021 by cristilupchian

Hi guys, so the login, register, and lost password are redirecting to the default WordPress login page.
Is there a way to have them redirected to a custom page where I am adding my own custom login, register, lost password form?

Thank you in advance for any suggestions ๐Ÿ™‚

More link on body

Published on January 19th, 2021 by giacomo016

Hi, I can’t post a reply or create a new topic with more external links.

Like this:

Test 1
Test 2
Test 3

If I’m an admin works. If I’m a partecipant not.

Can someone help me?
Thanks milion,
regards
Giacomo.

How to close or open topic by the author ?

Published on January 18th, 2021 by Julia

Addding close topic select box in the reply page

Only the moderate can set up open/close on topic status now.
I have plan to change the author in topic to set open/close status by yourself.

The code ongoing


function my_bbp_theme_before_topic_form_submit_wrapper() {
    
    if (!current_user_can('moderate', $topic_id)) {   //  The all visitor can see open/close box
        echo '<label for="bbp_topic_status">'.esc_html_e('Topic Status:', 'bbpress').'</label><br />';
        bbp_form_topic_status_dropdown();
    }
}
add_action('bbp_theme_before_topic_form_submit_wrapper', 'my_bbp_theme_before_topic_form_submit_wrapper');

function my_bbp_get_topic_statuses($topic_statuses, $topic_id) {

    //  The all visitor may be possible to chang the topic status,if the select box works.
    if (!current_user_can('moderate', $topic_id)) {
        $topic_statuses = array(
            bbp_get_public_status_id() => _x('Open', 'Open the topic', 'bbpress'),
            bbp_get_closed_status_id() => _x('Closed', 'Close the topic', 'bbpress')
        );
    }
    return $topic_statuses;
}
add_filter('bbp_get_topic_statuses', 'my_bbp_get_topic_statuses', 10, 2);

Two questions

1st
The topic open/close select box is shown all visitor except for author.
So this code need to change all vistor to topic author.
But I don’t know.


if (!current_user_can('moderate', $topic_id)) {ใ€€ // All visitor can do
โ†“
if(current_user_can( '//topic author//' ) ) {    // Only topic author can do

2nd
The select box is shown, but it doesn’t work at all.
In short, the select box is appearance only.
So I have to add some code to work open/colse select box.
The select box does not link to topic status function.
But I don’t know how to chage the code.


    $topic_statuses = array(
    bbp_get_public_status_id() => _x('Open', 'Open the topic', 'bbpress'),
    bbp_get_closed_status_id() => _x('Closed', 'Close the topic', 'bbpress')
    )

Posts not showing in topic index

Published on January 17th, 2021 by Reed Sutton

Anyone know why a post isn’t displaying in the forum topic index on my site?
URL: https://frugalflyer.ca/forum/

Using this shortcode:
[bsp-display-topic-index show=’10’ template = ‘short’ show_stickies=’true’ noreply=’true’]

Screenshot: https://imgur.com/a/6U5ZVAu

bbpress log in process problem

Published on January 16th, 2021 by sbask

Newly created user accounts are automatically showing as logged in โ€“ the person used to need to actually log in before earning this โ€œsessionโ€ accreditation. Now, as soon as a script-bot has created the account, is allows you to log it off (this was a change from earlier behaviour)

Method to bulk post a single topic to multiple forums at once?

Published on January 16th, 2021 by omnialive

I have a site that silos students into forums by course and the into 4 main groups which are broken down into two smaller groups, A and B.

This means there is a forum for the course, then 4 sub-forums under that and within each of these there are two sub-sub-forums (using this just for visualization help).

What I am wanting to do is bulk create an identical topic into all of the 8 smaller groups (A’s and B’s). They have a weekly assignment that they will need to post a reply to this topic as part of the course flow.

I’ve done quite a few Google searches and haven’t found anything as of yet. I’m looking to just develop something on my own “quick and dirty”…but would like to avoid that!

restrict forum by registration fields

Published on January 16th, 2021 by taliabarlev

hi,
how can i restrict forum access depends on registration user fields..
on registration he chose that he is a Math teacher โ€“ he could not go into English teachers forum
iโ€™m usig bbpress (no buddy press for now..)

is saw some answer for restricting by role.. but i need by the user fields.

will really appreciate your help looking for hours and days!

add ?id= at the topic urls

Published on January 16th, 2021 by sasasasaaa

Hi, after long searching and trying and testing my last chance is to ask here.
I have added a special forum with shortcode in a course page and want to give all topic links, which appear in the course forum, a “?id=” at the end of the urls (the ID is the course id).

I use a customize breadcrumb. And if I have the course ID in the url of single topic page I can use it to show correct breadcrumb.

Does anybody know how to add “?id=” at the end of the topic links on the forum pages?

Help is very much appreciated.

Thanks a lot

Skip to toolbar