Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 6,351 through 6,375 (of 64,471 total)
  • Author
    Search Results
  • #198316
    hthornhillhww
    Participant

    Hi,

    I have created a custom notification for my site when a post is published, if i have buddypress activated alone i see the notification text but as soon as i activate bbpress i can no longer see the notification description. In order to work out this was happening when bbpress was activated i created a whole new blank install of wpress and only installed the two plugins and when i deactivated bbpress it showed the text.

    this is how the notification shows when bbpress is activated
    https://www.dropbox.com/s/uepps9cjcd8xan5/With%20BbPress%20no%20text.PNG?dl=0

    this is how the notification shows when bbpress is NOT activated
    https://www.dropbox.com/s/03wch6bc27nsked/Without%20BbPress%20showing%20text.PNG?dl=0

    I am using Twenty seventeen as the theme, bbpress version 2.5.14, buddypress version 4.1.0 and the latest version of wordpress

    The code i have used to generate the notification is below, and this is located in \wp-content\plugins\bp-custom.php

    <?php
    // this is to add a fake component to BuddyPress. A registered component is needed to add notifications
    function custom_filter_notifications_get_registered_components( $component_names = array() ) {
        // Force $component_names to be an array
        if ( ! is_array( $component_names ) ) {
            $component_names = array();
        }
        // Add 'custom' component to registered components array
        array_push( $component_names, 'publishpost' );
        // Return component's with 'custom' appended
        return $component_names;
    }
    add_filter( 'bp_notifications_get_registered_components', 'custom_filter_notifications_get_registered_components' );
    
    // this hooks to post creation and saves the post id
    function bp_custom_add_notification( $post_id, $post ) {
            $post = get_post( $post_id );
            $author_id = $post->post_author;
            bp_notifications_add_notification( array(
                'user_id'           => $author_id,
                'item_id'           => $post_id,
                'component_name'    => 'publishpost',
                'component_action'  => 'publishpost_action',
                'date_notified'     => bp_core_current_time(),
                'is_new'            => 1,
            ) );   
    }
    add_action( 'publish_post', 'bp_custom_add_notification', 99, 2 );
    
    function custom_format_buddypress_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) 
    {
    // New custom notifications
        if ( 'publishpost_action' === $action ) {
    
            $post = get_post( $item_id );
    
            $custom_title = $post->post_author . ' published a new post ' . get_the_title( $item_id );
            $custom_link  = get_permalink( $post );
            $custom_text = $post->post_author . ' published a new post ' . get_the_title( $item_id );
            // WordPress Toolbar
            if ( 'string' === $format ) {
                $return = apply_filters( 'publishpost_filter', '<a href="' . esc_url( $custom_link ) . '" title="' . esc_attr( $custom_title ) . '">' . esc_html( $custom_text ) . '</a>', $custom_text, $custom_link );
            // Deprecated BuddyBar
            } else {
                $return = apply_filters( 'publishpost_filter', array(
                    'text' => $custom_text,
                    'link' => $custom_link
                ), $custom_link, (int) $total_items, $custom_text, $custom_title );
            }
    
            return $return;
    
        }
    }
    add_filter( 'bp_notifications_get_notifications_for_user', 'custom_format_buddypress_notifications', 10, 5 );

    I need to get it so that when bbpress is activated i can see the custom notification description as we use bbpress for our forums

    #198304
    marilynutz
    Participant

    Hi,
    I just installed BBpress, set up two forums. Logged in as a subscriber to create a topic and clicked Notify email of follow-up replies. I then logged in as a different subscriber replied to that topic and clicked Notify email of follow-up replies. I never received an email for either user account. Do you users have to have special bbpress accounts in addition to their WordPress User accounts? What could be causing this problem. Both users are subscribed.

    #198301
    kilerb
    Participant

    Also, I know this isn’t part of BBPress or anything… But for the 2 users that tried to register and never got their link because of the first problem, do you happen to know if there’s a way to send it to them again? Didn’t see the option when I click on their username in the dashboard. Thanks.

    #198299
    Robin W
    Moderator

    ok, not something I’ve seen, as can only suggest that you do the basic fault finding process ie

    It could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentyfifteen, 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.

    Then come back

    #198296
    Robin W
    Moderator

    Whether you register via wordpress or bbpress the password email comes from

    wordpress@mysite.com

    see this article for further help

    https://www.wpbeginner.com/plugins/how-to-change-sender-name-in-outgoing-wordpress-email/

    #198294
    arathra
    Participant

    I’m using WP 5.0.3 along with bbp 2.5.14 and bbPprivate groups, bbp style pack, bbpress canned replies, bbpress toolkit, bbpress topics for posts.

    This is on a 2017 child theme.

    When I view the front page of the forum or a forum itself, then everything is fine and as it should be.

    But when I view a topic then the WP admin bar a the top of the screen disappears.

    What I’d like to know is if anyone else has experienced this problem and what can be done about it. To be honest I’m not really sure where to begin to look for the problem; the page source *appears* fine to me and the console isn’t showing anything that looks wrong. But I don’t know what I’m looking for so could have missed something obvious.

    Can anyone help? Thank you!

    #198290
    Antipole
    Participant

    I find that in email notifications, the hyphen/dash is being escaped into the character string &#8211 (em-dash) when it occurs in topic titles, forum titles and user display names. I have not tested forum names.

    For a topic with the title as on the following line:
    Hyphen – endash – emdash — nonbr hyphen ‑ figure dash ‒
    all these characters survive except for the first hyphen/minus sign. If this same sequence is included in the body of a topic, it is delivered OK, so this is NOT a WP server or email issue. This does not occur in notifications for a WP post, so I believe it is a bbPress issue.

    I have tested this under WP v5.0.3 and with bbPress v2.5.14 the only active plugin and with the theme Twenty Nineteen.

    #198285
    Robin W
    Moderator

    I suspect it is a conflict.

    It could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentyfifteen, 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.

    Then come back

    #198278
    kilerb
    Participant

    Hi, I just started a new website and forum board. Mine does not send new users a link to set their password, but strangely enough, I did go to wp-admin and register a new user there and that did send an email. Went to spam, but it was there. When a new user registers through the bbpress widget, it send me their email and username, but they never get an email. When I successfully got the email for registering on the wp site at /wp-admin, it came from “wordpress@mysite.com” which I never set up. Under general settings I just have my personal email being used, but the reg. email came from wordpress@mysite.com. Any idea why it’s not sending out an email to new users when they register through bb.com but it does when they register at /wp-admin? Everything was just installed today, so plugins and wordpress are all up to date. Thanks!

    #198276
    Howdy_McGee
    Participant

    I’m receiving a couple undefined index notices whenever viewing the settings page:

    PHP Notice:  Undefined index: args in /wp-content/plugins/bbpress/includes/admin/admin.php on line 370
    PHP Notice:  Undefined index: sanitize_callback in /wp-content/plugins/bbpress/includes/admin/admin.php on line 374

    Any ideas what could be causing this?

    #198273
    Robin W
    Moderator

    you will need to do a custom import

    Custom Import

    Robin W
    Moderator

    buddypress and bbpress just use the wordpress logon.

    It could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentyfifteen, 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.

    Then come back

    #198252
    mmoore1967
    Participant

    I am trying to migrate all my Xoops xForum data over to WP bbpress forum. Are there any free tools or info on how to accomplish this task? I do not see much onine to do this? I dont want to lose all my data that was collected over the years.

    From:
    Xoops ver. 2.5.6
    xforum ver. 5.8.5

    To:
    WP ver. 5.0.3
    bbpress ver. 2.5.14

    Thanks in advance…

    #198234
    Robin W
    Moderator
    #198229
    ahmetinal
    Participant

    İ want all upload and embed view office files(word pdf excel power point) not only pictures.
    Like embed any document for bbpress and for all users

    #198226
    Robin W
    Moderator
    #198223
    Robin W
    Moderator

    I’m just a bbpress user who helps out here, so cannot comment on whether it should be core.

    There was and is much debate about whether you can claim anything you put yourself into public view (eg in a topic or reply, or wordpress comment ) as personal data – and then demand it be removed.

    for instance https://law.stackexchange.com/questions/28276/are-internet-forum-posts-considered-personal-data-under-gdpr

    #198222
    Foliferous
    Participant

    Awesome, hadn’t seen this. I’ve installed it and it seems to work fine, even though it hasn’t been updated for ages. This should really be included as a default feature in bbpress. Privacy is a big concern. Thank you robin!

    #198219
    Robin W
    Moderator

    bbpress doesn’t use any, as wordpress handles the login

    #198218
    ahmetinal
    Participant

    Hi all i install my bbpress but i have any problem
    1) i want change my input section(for topics)
    2) i want add files the post and view this documents(.doc,.pptx…) like this plugin
    its possible ?

    #198214
    chaaampy
    Participant

    WP : 5.0.2
    bbPress : 2.5.14
    Theme : Custom (built with _S)

    Hi everyone,

    Im looking to build some custom URL for users profile pages.
    I wanted to have something like …/forums/users/name/ instead of …/forums/users/admin_j9fzjefzenfvx/ for some obvious security reasons.
    Did anyone already build this in the past ?
    Cheers,

    Chaaampy.

    #198209
    Foliferous
    Participant

    Hello,

    I want to add this information to my Privacy Policy because of the GDPR, and I was wondering which cookies does the plugin place? I don’t have any add-ons.

    Thank you 🙂

    #198206
    Foliferous
    Participant

    Bbpress is not GDPR-compliant because of one thing: The User posts and threads are not collected in WordPress’ feature to export and delete all user data.

    Please add this feature next! Thank you. 🙂

    #198200
    Phillip Burger
    Participant

    Understood. I did bring this topic up pretty specifically to the multiple WordPress forum sites (.org and .com) and it is hard to say if that is a very limited use case worth any effort (maybe just a plugin and not some core update to bbPress would be better) but there may be organizations that run different forum sites where the information is similar, but not worth co-mingling into the same site completely – and the ability to copy / move topics could be useful I believe.

    #198196
    BrianHenryIE
    Participant

    A comment in another thread says the white screen problem is from a time out, and when you run it again it continues where it left off 🙂

    The uploads that aren’t imported are going to be lots of broken links on your forum!

Viewing 25 results - 6,351 through 6,375 (of 64,471 total)
Skip to toolbar