Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '"wordpress"'

Viewing 25 results - 3,251 through 3,275 (of 26,830 total)
  • Author
    Search Results
  • #198551
    Robin W
    Moderator

    too longer a list for free help from me I’m afraid, but you will probably need my private groups plugin

    Private groups

    briefly – for master think category, then forums as ‘sub forums’ , threads (nested) are in the bbpress plugin, email per forum post – yes the rest is a mixture of easily doable and a some custom work.

    contact me via

    http://www.rewweb.co.uk/contact-me/ if you want further help

    #198550
    Robin W
    Moderator

    bbpress sends an email to the noreply address and bcc’s in the intended recipients.

    2 solutions

    1. my style pack plugin lets you amend the ‘to’ address (see email subscriptions tab), or you can do this with code, and amend it to a real address on your website.

    bbp style pack


    2.switch to individual emails – this plugin does that https://wordpress.org/plugins/asyncronous-bbpress-subscriptions

    #198532

    In reply to: All Forums not showing

    Robin W
    Moderator

    put this in your functions file, or code snippets

    Code Snippets

    //Number of forums per page
    add_filter (‘bbp_before_has_forums_parse_args’, ‘rew_number_of_forums’) ;#

    function rew_number_of_forums ($args) {
    $args[‘posts_per_page’] = 100 ;
    return $args ;
    }

    #198522
    Robin W
    Moderator

    bbpress uses the wordpress moderation and blacklists

    dashboard>settings>discussion

    #198514

    In reply to: increase font size

    Robin W
    Moderator

    or install

    bbp style pack

    #198458

    In reply to: Help with installation

    Robin W
    Moderator
    #198455
    Eupher
    Participant

    Wordpress 5.0.3
    bbpress 2.5.14

    Home

    Some users are able to create topics and posts, and also reply to posts. One user in particular gets the “ERROR: Your topic (or reply, depending) cannot be created at this time.”

    All plugs except the bbpress plugin and the bbpress tweak plugin were deactivated then I logged in under the user’s name. The problem remained.

    The Comment Blacklist under Dashboard\Settings\Discussion is totally blank. No naughty words in there.

    There are no “groups” as such. All users are veterans and members of this organization. No need for additional “groups”.

    I created a dummy account under my wife’s username, email, and a password and that works fine. She can create topics and replies. Other users don’t have an issue.

    I am not able to replicate this problem anywhere – only with the user DickB. (His user name was originally “Dick_Bartlett” but I got rid of the underscore thinking that might be a problem.)

    I have reviewed as many bbpress articles as I could find on this issue.

    I’ve run out of ideas, and there don’t appear to be any more answers to this problem that I’ve been able to find.

    So I’m turning to you experts to figure out how to get this user on track.

    #198454
    peterbergen84
    Participant

    Hi,

    I am new with setting up a forum for wordpress.
    I want to integrate BBPress with my website but i dont know if the theme supports it.

    Anyone who has time to set this up ?

    Thanks

    Peter

    #198451
    Bendis
    Participant

    WordPress Version 4.9.9 bbPress version 2.5.14 Using theme Twenty-Sixteen https://applebranch.org/seminary I have a lot of forums – one for every class I offer in my online school. However on the main page where students access the current forum for their class – it only shows forums through the first forum beginning with R (listed alphabetically). This is a recent development. I have looked at the set ups and settings and cannot find a reason. Is there a limit to the number of forums? If not, how can I get them all to show? Thank you.

    #198450
    Robin W
    Moderator

    I’d suggest you do this as follows:

    there is a ‘hook’ that you show above called ‘<?php do_action( ‘bbp_template_before_single_topic’ ); ?>’

    This tells bbpress to do any action that is added at that point.

    so adding a hook will mean that the function is called at that point.

    The following code should go in your child theme functions file, or use the code snippets plugin

    Code Snippets

    add_action ( 'bbp_template_before_single_topic' , 'rew_back' ); 
    
    function rew_back () {
    	$text = 'click to go back' ;
    	if (bbp_get_topic_forum_id() == '25') $href = home_url( '/forum/domestics/' ) ;
    	if (bbp_get_topic_forum_id() == '33') $href = home_url( '/forum/commercial/' ) ;
    		//where to go if page not there
    	else $href = home_url( '/login/' ) ;
    	echo '<a class="button" href ="'.$href.'">'.$text.'</a>' ;
    }

    so each forum will need a line.

    #198383

    In reply to: Topic View

    Robin W
    Moderator

    the problem is that modern themes ignore what wordpress expects and do all sorts of clever stuff.

    yes copy page.php and rename it to bbpress.php

    then post a copy of the file here, and I’ll try and help further

    #198356
    hthornhillhww
    Participant

    Hi,

    I have created a custom notification for my site when a post is published, the code used to do this is :-

    // 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;
    		
    		$blogusers = get_users( array( 'role' => 'staff' ) );
    		// Array of WP_User objects.
    		foreach ( $blogusers as $user ) {
    			bp_notifications_add_notification( array(
                'user_id'           => $user->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 );
    
    /**
     * Format the BuddyBar/Toolbar notifications
     *
     * @since bbPress (r5155)
     *
     * @package bbPress
     *
     * @param string $action The kind of notification being rendered
     * @param int $item_id The primary item id
     * @param int $secondary_item_id The secondary item id
     * @param int $total_items The total number of messaging-related notifications waiting for the user
     * @param string $format 'string' for BuddyBar-compatible notifications; 'array' for WP Toolbar
     */
    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 );
    		$author_name = get_the_author_meta('display_name', $post->post_author);
            $custom_title = bp_core_get_user_displayname( $post->post_author ) . ' published a new post "' . get_the_title( $item_id ) . '"';
            $custom_link  = get_permalink( $post );
            $custom_text = bp_core_get_user_displayname( $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;
    
        } 
    	
    	if ( 'bbp_new_reply' === $action ) {
    		$topic_id    = bbp_get_reply_topic_id( $item_id );
    		$topic_title = bbp_get_topic_title( $topic_id );
    		$topic_link  = wp_nonce_url( add_query_arg( array( 'action' => 'bbp_mark_read', 'topic_id' => $topic_id ), bbp_get_reply_url( $item_id ) ), 'bbp_mark_topic_' . $topic_id );
    		$title_attr  = __( 'Topic Replies', 'bbpress' );
    
    		if ( (int) $total_items > 1 ) {
    			$text   = sprintf( __( 'You have %d new replies', 'bbpress' ), (int) $total_items );
    			$filter = 'bbp_multiple_new_subscription_notification';
    		} else {
    			if ( !empty( $secondary_item_id ) ) {
    				$text = sprintf( __( 'You have %d new reply to %2$s from %3$s', 'bbpress' ), (int) $total_items, $topic_title, bp_core_get_user_displayname( $secondary_item_id ) );
    			} else {
    				$text = sprintf( __( 'You have %d new reply to %s',             'bbpress' ), (int) $total_items, $topic_title );
    			}
    			$filter = 'bbp_single_new_subscription_notification';
    		}
    
    		// WordPress Toolbar
    		if ( 'string' === $format ) {
    			$return = apply_filters( $filter, '<a href="' . esc_url( $topic_link ) . '" title="' . esc_attr( $title_attr ) . '">' . esc_html( $text ) . '</a>', (int) $total_items, $text, $topic_link );
    
    		// Deprecated BuddyBar
    		} else {
    			$return = apply_filters( $filter, array(
    				'text' => $text,
    				'link' => $topic_link
    			), $topic_link, (int) $total_items, $text, $topic_title );
    		}
    
    		do_action( 'bbp_format_buddypress_notifications', $action, $item_id, $secondary_item_id, $total_items );
    
    		return $return;
    	}
    }
    add_filter( 'bp_notifications_get_notifications_for_user', 'custom_format_buddypress_notifications', 1, 5 );

    How can i create the same for a new bbpress topic? i’m thinking i need to change this code section but not sure how

    // 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;
    		
    		$blogusers = get_users( array( 'role' => 'staff' ) );
    		// Array of WP_User objects.
    		foreach ( $blogusers as $user ) {
    			bp_notifications_add_notification( array(
                'user_id'           => $user->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 );

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

    Thanks

    neon67
    Participant

    And wordpress and ‘add new topic’ delayed publishing well.

    The problem in generating [bbp-topic-index] – timestamp and rank in the tracker appears according to the real writing of the post, not top.
    ——-
    Example: at 8: 00 I create a new topic for posting on the forum at 14: 00.
    At 14 00 the topic published, appears at the list of topics, but with the upper rank and timestamp as 8 00, not top.

    how to fix this?

    Robin W
    Moderator

    so what is the post publication schedule ? wordpress delayed publishing or a plugin?

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

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

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

    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

    howyouknow
    Participant

    Hey,

    I am asking for support.

    User after logging in to Buddypress on the website, there is no transparent menu on the phone.

    This is manifested by the fact that he can not see the menu and can not choose subpages from the menu.
    The user avatar and the bar override the menu tile.

    Screenshots in attachments.

    Before logon
    After log on

    #198234
    Robin W
    Moderator
    #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

    #198221
    Robin W
    Moderator

    if you wish to include topics and replies in the personal data export, use this plugin

    bbPress GDPR

    #198219
    Robin W
    Moderator

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

Viewing 25 results - 3,251 through 3,275 (of 26,830 total)
Skip to toolbar