Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 11,351 through 11,375 (of 64,454 total)
  • Author
    Search Results
  • #174973
    Kineta
    Participant

    @veelow – That was exactly the problem I was having. It seems to be generated from the bbPress function: bbp_buddypress_add_notification (notification with your name instead of the person who responded). The code I posted addresses that problem. Did you try it?

    #174971
    cai247
    Participant

    Hello,

    I can’t figure out how to make my bbPress forum full-width. My website/discussion forum is here: http://www.bacls.org/?forum=bacls-discussion-forum (I use the “Lucid” theme from Elegant Themes).

    Many thanks!

    Caroline.

    joe34
    Participant

    Hey I am using BBPress, BBPress Notifications (No Spam), and User Role Editor.
    I want to make it so that when a new topic is posted in a certain forum, only certain members get a notification based on where it was posted.

    I have tried to hack this together but have been unable to get conclusive results, so any tips or help will be much appreciated.

    Robin W
    Moderator

    you can still call loop single reply, but just amend that template and put it into in your theme.

    so if you wanted to amend loop-single-reply you would do the following

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your theme

    find
    wp-content/plugins/bbpress/templates/default/bbpress/loop-single-reply.php
    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/loop-single-reply.php

    bbPress will now use this template instead of the original
    and you can amend this

    #174960
    vogelsang
    Participant

    Hi,

    Thanks for the answer. I had another plugin, but it didn’t solve the problem. It is nice to know that bbpress got a better behaviour than my site has right now. I’m just gonna turn of plugins off until I find the problem (turning of notifications in buddypress wasn’t enough).

    -vogelsang

    #174959
    gm713
    Participant
    gm713
    Participant
    Robkk
    Moderator

    Probably just the mojo marketplace plugin, others have had similar issues with this plugin in combination with bbPress.

    #174953
    Robkk
    Moderator

    @rainbowgolfcart bbPress can use words that are in your comment moderation and blacklisting input boxes in Settings > Discussion. Some plugins like the mojo marketplace plugin that @mclaurence noted can use a function and inject a custom list of words to these input boxes. Make sure to remove the interfering plugin.

    https://codex.bbpress.org/moderation-and-blacklisting/


    @mclaurence

    Its probably just the mojo marketplace plugin, ninja forms might be fine.

    https://github.com/mojoness/mojo-marketplace-wp-plugin/blob/f5a0985168b06d9202148acce928494b54218a57/inc/spam-prevention.php#L102

    #174951
    Kineta
    Participant

    I came up with a solution, based on the start @davidstriga made. I’ve been meaning to post it for anyone else having the same issue. I don’t have the same goal he did to notify everyone in a forum, just the person being replied to, so I removed the foreach loop. I also wanted the notification to go to the actual replied-to post in the thread and not just the initial topic at the top of the page. The forum I’m working on has titles on all the replies – but if you aren’t using titles on replies the notification just shows the topic title, but the link still goes to the relevant post/reply.

    If anyone is interested, here’s my solution. It’s working great on our site and takes care of the duplicate issues, as well as the GMT timestamp problem.

    Put this in your theme’s functions.php

    /* notifications */
    
    function jpr_buddypress_add_notification( $reply_id = 0, $topic_id = 0, $forum_id = 0, $anonymous_data = false, $author_id = 0, $is_edit = false, $reply_to = 0 ) {
    
    	$current_topic_id = bbp_get_topic_id();
    	$ids_of_subs = bbp_get_topic_subscribers($current_topic_id);
    		
    		// this is who the notification goes to. whose post is replied to
    		$topic_author_id = bbp_get_topic_author_id( $reply_to );
    
    		// Bail if somehow this is hooked to an edit action
    		if ( !empty( $is_edit ) ) {
    			return;
    		}
    
    		// Get author information
    		// $topic_author_id   = bp_loggedin_user_id();
    		$secondary_item_id = $author_id;
    
    		// Hierarchical replies
    		if ( !empty( $reply_to ) ) {			
    			$reply_to_item_id = bbp_get_topic_author_id( $reply_to );
    		}		
    
    		// pass the $reply_id to the function that formats the notification
    		$topic_id = $reply_to;
    		
    		// Get some reply information
    		$args = array(
    			'user_id'          => $topic_author_id,
    			'item_id'          => $topic_id,
    			'component_name'   => bbp_get_component_name(),
    			'component_action' => 'bbp_new_reply',
    			'date_notified'    => get_post( $reply_id )->post_date_gmt,
    		);
    	 	
    		// Notify the topic author if not the current reply author
    	 	if ( $author_id !== $topic_author_id ) {
    			$args['secondary_item_id'] = $secondary_item_id ;
    
    			bp_notifications_add_notification( $args );
    	 	}
    	 	// Notify the immediate reply author if not the current reply author
    	 	if ( !empty( $reply_to ) && ( $author_id !== $reply_to_item_id ) ) {
    			$args['secondary_item_id'] = $secondary_item_id;
    			
    			bp_notifications_add_notification( $args );
    	 }
    }
    // remove the bbpress notification function so we don't get dupicate notifications
    remove_action( 'bbp_new_reply', 'bbp_buddypress_add_notification', 10, 7 );
    add_action( 'bbp_new_reply', 'jpr_buddypress_add_notification', 10, 7 );
    
    // remove the bbpress format notification function before using our custom function
    remove_filter( 'bp_notifications_get_notifications_for_user', 'bbp_format_buddypress_notifications', 10, 5 );
    
    function jpr_format_buddypress_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) {
    
    	// New reply notifications
    	if ( 'bbp_new_reply' === $action ) {
    		$topic_id    = bbp_get_reply_id( $item_id );
    		$topic_title = bbp_get_reply_title( $item_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( 'jpr_format_buddypress_notifications', $action, $item_id, $secondary_item_id, $total_items );
    
    		return $return;
    	}
    }
    add_filter( 'bp_notifications_get_notifications_for_user', 'jpr_format_buddypress_notifications', 10, 5 ); 
    backstreetnomad
    Participant

    Hi,

    I have just installed bbPress on my existing website but any new topics or replies in these topics cannot be viewed (regardless of whether or not they done at the back or front end).

    http://www.nextleveltravelblogging.com/forums/

    The exception is if I make the topic sticky, it will show, but then the content and replies inside the topic do not. (I’ve tested this).

    Feel free to make a few test topics/replies to see for yourself if need be.

    I have tried reading some previous and similar forum posts so I have done the recalculate steps in Tools. I have also deactivated most plugins to no avail.

    I have a feeling it will be my theme being the issue, but I am not going to install another theme just to test at this stage because I know I will lose stuff. If I’m going to install a new theme (which I’m not strictly opposed to doing) it will be to one I know works (I have another) and will keep it long term. But I’m looking for the solution that will be the least hassle as I want to get this up and running.

    I’m on WP 4.5.2 and the latest bbP.

    Thanks.
    Luke

    #174939
    Larry
    Participant

    How can I get the post author’s name to appear in the reply RSS feed?

    When someone posts, they (must and do) fill out their name, in the “Your Name” field. (That field has id=”bbp_anonymous_author” name=”bp_anonymous_name”.)

    But the post author doesn’t appear in the RSS feed. The author is blank:
    <dc:creator></dc:creator>
    https://zimfest.org/topic/rides-offered/feed/

    How can I get bbPress to recognize that field as the reply author? (It’s not actually anonymous!)

    The forum is here:
    https://zimfest.org/rideboard/
    (The URL will change when this goes public)

    What you see so far is just my own testing. This is a new bbPress forum that’s not public yet. I plan to make it public soon, as a way to create a (very basic) ride board.

    WordPress 4.4.3; Responsive theme with customized child theme; bbPress 2.5.9; bbP Toolkit plugin (1.0.6); bbPress Moderation plugin (1.8.3).

    I’ve created (I believe) a fully moderated forum by using the Moderation plugin. No one is expected (or able) to register on the site, but all posts must be approved (by me) before they appear. (This is how WordPress comments work when moderation is required.) I was surprised to discover that bbPress won’t do this on its own, and getting this behavior with the Moderation plugin is a little convoluted (difficult).

    I’m not using bbPress’s subscription system. Instead, we have we manage our a mailing list in MailChimp that sends new posts via RSS to email. This works well for our blog posts and comments, but I need to fix some details in the forum RSS feeds. The blank <creator> RSS field causes my emails to say “by Anonymous”.

    (In the RSS feeds, you will see my name as the author of a few posts, because I logged into WordPress before making those posts. But I don’t expect reply authors to log in; they won’t be able to do so.)

    Also, how can I remove “Reply To:” from the title in the RSS feed? What line in which file (template?) do I need to modify?
    <title><![CDATA[Reply To: Rides Offered]]></title>

    First time posting here. Thanks for your help (and I hope I’ve followed protocol).

    I posted this yesterday, but it has not appeared on the forum. I’m guessing that’s because it contained 3 links, so needed to be approved. Apparently it was not approved. I have removed one of the links this time (link to a 2nd RSS feed).

    #174938
    designbysue
    Participant

    I have a child theme created and added the bbpress.css from my main theme’s css folder to the child theme folder. Changes I make to the child theme do not have any effect and firebug shows that the bbpress.css in the main theme’s css folder is the one affecting the website. I can make changes using the custom css area but was trying to make all changes in the child theme. Any thoughts why this may be happening?

    Thanks
    Sue

    #174929
    Pascal Casier
    Moderator

    Hi,
    Did anybody try with bbPress 2.6-alpha ? The version is pretty stable already and has improved performance AND importing capabilities.
    Pascal.

    #174928
    Pascal Casier
    Moderator

    Hi,
    Did you try with bbPress 2.6-alpha ? It’s still alpha but very stable and has improved a lot in both performance and import.

    Pascal.

    #174926
    Fuskeduske
    Participant

    Hi Stephen,

    Thanks for your answer, each time importing the users i have done this from a completely fresh wordpress installation with wordpress 4.5.2 and BBPress 2.6″Alpha” on different databases using both MySQL and MariaDB, so i fail to see how this has to do with redundant imports.

    However, when i disabled the founder option for the missing users everything went smooth through, this was on a database where i’ve “reset” the forum using the reset option next to import.

    #174924
    Pascal Casier
    Moderator

    Hi, welcome back 🙂

    How did you solve the previous issue (https://bbpress.org/forums/topic/member-cannot-post-to-forum/) ? Is the same user involved ? Is this since the last update of Paid MembershipsPro ?

    Pascal.

    vincebrown
    Participant

    Hey Pascal,
    I was able to figure out my problem, turns out the “lead topic” post was not showing I was able to take care of it by installing this plugin.

    http://www.rewweb.co.uk/bbpress-wp4-fix2/

    #174918
    Pascal Casier
    Moderator

    Hi,
    If you want to limit to seeing only 1, you can put this into your functions.php: https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/#22-show%c2%a0only-1-revision-log-on-topics-and-replies
    or if you prefer a plugin, check my bbP-toolkit

    If you do not want revisions at all, you could just switch them off : ‘/wp-admin > Settings > Forums > Forum Features > Revisions’

    Pascal.

    #174915
    fabwintle
    Participant

    Hi,
    We have a membership site with bbpress. I am trying to keep our members informed of the new questions in our forum. I am using mailchimp in conjunction with bbpress topic feed.

    I would like to remove the ‘This topic was last modified by x for the reason y’ line. See this screenshot.

    I am not a programmer but can modify code if i find a good template.

    Would anyone be able to point me in the right direction? to either some code or a developer?

    Thank you!

    #174911
    designbysue
    Participant

    I just installed bbPress so am new to this. The main forums page at http://brigade.org.c11.previewyoursite.com/forums displays the incorrect sidebar – if you click on one of the forums you can see the correct sidebar, which I applied in the set up of the individual forum page. How can I edit the page http://brigade.org.c11.previewyoursite.com/forums?
    Wordpress 4.5.2
    bbPress 2.5.9

    Thank you in advance for your assistance.

    Sue

    #174908
    Stephen Edgar
    Keymaster

    @haddly Thanks though it looks correct to me:

    A single topic and single reply so without plurals:

    Multiple topics and replies so with plurals:

    Also the German translations for this string for bbPress 2.5.x are here and for 2.6-alpha are here

    #174905
    john2323
    Participant

    Hi, I have the Whoop theme and its designed to use bbPress but the menu shows ALL categories under one menu in a row. Including sub categories. I want to change it so it only shows the parent categories as currently there are at least 30 items in the menu.

    Is the below code what needs to be change and if so can you help me out by doing this? I don’t even want the menus collapsible. Just at link for each main category and thats it.

     <div class="whoop-forum-cats-list">
                            <ul class="whoop-forum-cats-list-inner">
                                <?php
                                
                                $forum_id = bbp_get_forum_id();
                                $forum_args = array(
                                    'posts_per_page' => 100,
                                    'post_type' => bbp_get_forum_post_type(),
                                    'order' => 'ASC'
                                );
                                $forums = query_posts( $forum_args );
                                foreach ($forums as $forum) {
                                    $link = get_permalink($forum->ID);
                                    if ($forum->ID == $forum_id) {
                                        $class = 'active';
                                    } else {
                                        $class = '';
                                    }
                                ?>
                                <li>
                                    <a class="<?php echo $class; ?>" href="<?php echo $link; ?>">
                                        <div class="forum-cat-text-wrap">
                                            <?php echo $forum->post_title; ?>
                                            <div class="forum-cat-last-updated">
                                            <?php echo bbp_get_forum_last_active_time( $forum->ID ); ?>
                                            </div>
                                        </div>
                                    </a>
                                </li>
    </ul>
    
    #174904
    thedhc
    Participant

    Hi folks,

    I am running WordPress 4.5.2 with the following plugins:

    ** PLUGIN INFORMATION **
    Active Plugins: (21)
    – Activity Log 2.2.12
    – Basic User Avatars 1.0.3
    – bbP private groups 3.2.0
    – bbPress 2.5.9
    – bbPress Advanced Statistics 1.3.13
    – bbPress Pencil Unread 1.0.9
    – bbP Toolkit 1.0.6
    – Blizzard Quotes 1.3
    – BlizzBlueWidget 4.0
    – Coming Soon Page & Maintenance Mode by SeedProd 5.0.2
    – Login With Ajax 3.1.6
    – Pollka polls 2.0
    – WordPress System Report 1.0.1
    – World of Warcraft Recruitment Widget 1.1.5
    – WoW Guild Armory Roster 0.4.3
    – WoWHead Tips 3.0.1
    – WoW Progress 1.5.1
    – WP-Mail-SMTP 0.9.5
    – WPFront User Role Editor 2.12.4
    – WP reCaptcha Integration 1.1.10
    – WYSIWYG Widgets / Widget Blocks 2.3.5

    The theme used is Legion Zero.

    In my bbpress forum when i want to reply to a message you get the editor just like on this forum. I hit the link button:

    And i am faced with a white popup background and white-ish text which is too hard to read as shown below:

    I am unable to find which CSS this is causing so i can change it. I can only find the background of the bit where it says “Insert/edit link” and this is in wp-includes/css/editor.min.css and exact value is #link-modal-title which is set to #fcfcfc.

    The part below it, i cannot find.

    Can anyone assist me?

    Cheers :)!

    manik018
    Participant

    Hi,
    I’m a newbie bbPress user. I want to make internal links dofollow in Forum and all External links are nofollow. By default, All internal and external links are nofollow 🙁
    How can I do this?
    Here is my forum link http://www.techmanik.com/forum/

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