Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 9,826 through 9,850 (of 64,535 total)
  • Author
    Search Results
  • #180285
    Jon Fergus
    Participant

    I’m using threaded/nested replies in my topics, and I’d love a “reddit-esque” toggle button to open/close a given set of nested replies. Does anyone know if this is possible, and if so, how to accomplish it?

    We’re running (along with several other plugins):
    WP version 4.7
    bbPress 2.6-alpha
    BuddyPress 2.7.3

    #180284
    reedy
    Participant

    I am having a number of issues with slow posting times. Posts are taking up to 30 seconds to submit in many cases.

    I spoke to my webhost who offered the following details:

    We have reviewed your case in details. As you probably know the BBPress plugin saves each forum new topic or post to a topic as a new post in the WordPress database. Due to this reason your WordPress’ posts database table and its meta data is getting quite big.

    I believe that the main reason for your slow performance is the size of the _posts and _postmeta database tables.

    Decreasing their size will speed your website up.

    I did actually try the fix suggested at the end of this forum topic by editing the functions.php file.

    This way I have managed to post a test topic for about 12 seconds instead of the previous 30-35 seconds time frame.

    My forum contains 500,000+ posts, so I accept that the database will be getting large. Is there nothing that can be done to improve the awful performance I am seeing until the much rumored bbPress 2.6 is released?

    #180280
    peetdapriest
    Participant

    Hi,

    My site was messed up (only in mobile) when I’ve enabled nested replies in the settings of bbpress.

    Screenshots:
    https://drive.google.com/file/d/0B1PjCg-T3hWabUZuY0JZVmN3X1E
    https://drive.google.com/open?id=0B1PjCg-T3hWaWnJEU0xCbUI2am8

    Do you know about this issue? Is there a plan to resolve it?

    Thank you very much in advance!

    Peter

    #180279
    mth75
    Participant

    The trick is to relate the activity ID to the Post ID of the forum topic or reply. This code (used for liking (aka favouriting) ) blogpost works. I’m trying to rewrite it for bbpress

    In single.php:

    <?php echo get_fav_or_unfav_button_for_post( $post ); ?>

    In function.php:

    // Buddypress favorites
    function get_fav_or_unfav_button_for_post( $post ) {
    global $bp, $activities_template;
            // user is not logged ? Show nothing.
    	if ( ! is_user_logged_in() ) {
    	return '';
    	}
    	
    	$activity_id = bp_activity_get_activity_id( array(
    		'user_id' => $post->post_author,
    		'type' => 'new_blog_post',
    		'component' => 'blogs',
    		'item_id' => 1,
    		'secondary_item_id' => $post->ID
    		) );
    	
    	if ( ! $activity_id ) {
    	return '';
    	}
    	
    		bp_has_activities(); // update $activities_template of user's fav
    		$old_value = false;
    		
    		if ( isset( $activities_template->activity->id ) ) {
    		$old_value = $activities_template->activity->id;
    		$activities_template->activity->id = $activity_id;
    		} else {
    		$activities_template->activity = (object) array( 'id' => $activity_id );
    		}
    	
    		// building the template
    	$code = '';
    	$code .= '<div class="activity-meta">'."\n";
    
    		if ( ! bp_get_activity_is_favorite() ) {
    		// if not favorited, add a fav button
    		$code .= ' <a href="'.bp_get_activity_favorite_link( ).'" class="button fav bp-secondary-action" title="'.__( 'Like', 'buddypress' ).'">'.__( 'Like', 'buddyboss' ).'</a>'."\n";
    		
    		} else {
    		
    		// if already favorited, a button to unfav
    		$code .= ' <a href="'.bp_get_activity_unfavorite_link( ).'" class="button unfav bp-secondary-action" title="'.__( 'Unlike', 'buddypress' ).'">'.__( 'Unlike', 'buddyboss' ).'</a>'."\n";
    		
    		// bonus button to show user's all favs
    		$code .= ' <a href="'.bp_loggedin_user_domain() . 'activity/favorites/" class="button unfav bp-secondary-action">'.__( 'My Likes', 'buddyboss' ).'</a>'."\n";
    		}
    		
    		// closing .activity-meta
    	$code .= '</div>'."\n"; 
    
    		if ( false !== $old_value ) {
    		$activities_template->activity->id = $old_value;
    		} else {
    		$activities_template->activity = null;
    		}
    	return $code;
    }
    #180272
    mth75
    Participant

    I’m still trying to integrate the Buddypress favorite (like) system with BBPress, I think this would be the best way to go to integratie the 2 system. Not easy, did any of you guys look at this problem before?

    My site: http://www.starry-night.nl

    TheDream18
    Participant

    Hello,

    I’m not good at code. Can you please step by step what to do?

    I added following code to function.php childe-theme, it leaved me a blank page.

    <span class=”bbp-last-post-by-author”><?php printf( __( ‘Last Post: %1$s’, ‘bbpress’ ),bbp_get_topic_freshness_link( array() ) ); ?></span>
    <?php _e(‘ by ‘, ‘bbp’); ?>
    <span class=”bbp-topic-freshness-author”><?php bbp_author_link( array( ‘post_id’ => bbp_get_topic_last_active_id(), ‘size’ => 14 ) ); ?></span>

    #180261
    anigif
    Participant

    Hi

    I’m new to bbPress and Buddy Press, but I’m experiencing the same thing. I get a notification when I’m mentioned in a Buddy Press activity, but not if I’m mentioned in a bbPress forum (on the same site ofcourse).

    Have you previously seen this work – I mean, is it a bug? Or is it just a feature that would be nice to have? (I clearly don’t know since I haven’t tried earlier versions)

    #180251
    siparker
    Participant

    oh and here is the plugin to amke vbseo style urls in bbpress https://github.com/siparker/bbpress-vbulletin-permalink

    #180241

    In reply to: Can not open Forum

    Robin W
    Moderator

    bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    #180233
    michal_80
    Participant

    Forum onkologiczne


    Wordpress 4.7
    bbPress 2.5.12

    Hi, I want to create different sections in my forum like on this picture

    Screen

    I’ve tried to make categories and then add forums to it but always the result is not like I want… Do anybody know how to do that?
    It is probably very easy;)

    stagezero
    Participant

    @robin-w
    by the way its the bbpress style pack plugin Thanks Rob!
    version 3.4

    #180214
    Robin W
    Moderator

    Do you know how to put code in your theme’s function file ?

    if so add this to it

    add_filter( ‘bbp_get_do_not_reply_address’, ‘noreply@swissinformatics.org' );

    and that will not get overwritten on upgrade of bbpress plugin

    Of course that will need a child theme, as otherwise it will get lost on a theme update !

    If any of that not clear (or not possible) come back !

    #180212
    Robin W
    Moderator

    The below is offered as potential help, and in an effort to help, so if it is rubbish, then please come back, and I will try to help further.

    bbpress uses the standard wordpress posts, but with post types of ‘forum’, ‘topic’ and ‘reply’ instead of ‘post’ and ‘page’, and bbpress code itself basically uses wp_query to access the database.

    The glossary for wordpress api says

    GET /wp-json/wp/v2/posts to get a collection of Posts. This is roughly equivalent to using WP_Query.

    so I’d imagine that you would just use the same sort of call, and use wp_query parameters to return what you wanted.

    So if for wordpress you had a command that gave you say the latest 5 posts, then this same command would work but just changing whatever that code has for post_type=’post’ to post_type=’topic’

    If you wanted topics from a particular forum, you would add the equivalent of post_parent = ID where ID was the forum ID

    In essence if you can tell me what you want, I can give you the wp_query, and you could hopefully translate this into json.

    Does any of that make sense? 🙂

    #180211
    perkiins
    Participant

    Hello I installed BBpress, created categories, forums, replies.. I have problems, in all Forums I see all Topics on all Forums.. I see Topics of Forum (General) in the forum (Games), what I do to only see Topics of Games in the forum Games?

    And when I create topic, replie, etc.. in the web I didn’t see the HTML helper bar, with the italic, Bold, etc… what i do to put that?

    #180210
    Gilbert
    Participant

    Hi,
    WP 4.7, latest BBpress. I have a multisite: swissinformatic.org, magazine.swissinformatics.org, [other stuff]swissinformatics.org. My mail server is @swissinformatics.org and the plugin picks up $_SERVER['SERVER_NAME'] to create the no reply address.
    COULD YOU HELP US with a setting box to supersede this value?
    Meanwhile I replaced it with my site name in the functions.php code, but mind the next plugin update!
    $sitename = strtolower( ‘swissinformatics.org );
    Always beware of “Educated guess’ I’m not going to buy a mail server for each subdomain and with the present security of providers,…
    I also created a no reply alias of my administrative e-mail address.
    Everything is fine now

    Subscriptions ***********************************************************/

    /**
    * Get the “Do Not Reply” email address to use when sending subscription emails.
    *
    * We make some educated guesses here based on the home URL. Filters are
    * available to customize this address further. In the future, we may consider
    * using admin_email instead, though this is not normally publicized.
    *
    * We use $_SERVER['SERVER_NAME'] here to mimic similar functionality in
    * WordPress core. Previously, we used get_home_url() to use already validated
    * user input, but it was causing issues in some installations.
    *
    * @since bbPress (r5409)
    *
    * @see wp_mail
    * @see wp_notify_postauthor
    * @link https://bbpress.trac.wordpress.org/ticket/2618
    *
    * @return string
    */
    function bbp_get_do_not_reply_address() {
    $sitename = strtolower( $_SERVER[‘SERVER_NAME’] );
    if ( substr( $sitename, 0, 4 ) === ‘www.’ ) {
    $sitename = substr( $sitename, 4 );
    }
    return apply_filters( ‘bbp_get_do_not_reply_address’, ‘noreply@’ . $sitename );

    #180205
    Wilbur
    Participant

    I know nothing of rest, but there’s one for wordpress http://v2.wp-api.org/ does that help?

    No it doesn’t support bbpress

    #180202
    shantabhai
    Participant

    I’m also looking for the REST API for bbPress but unable to find info on it either.

    #180201
    gowthamvarma1988
    Participant

    I am trying to import vbulletin 5 content to bbpress.

    1.Copied database to local location.
    2.Removed prefix
    3.Copied vbulletin5 and converter files.

    But it is stuck at the below location.

    Calculating forum hierarchy (20 – 29) —> “Not moving from here”
    Calculating forum hierarchy (10 – 19)
    Calculating forum hierarchy (0 – 9)
    Converting forums (20 – 29)
    Converting forums (10 – 19)
    Converting forums (0 – 9)
    No passwords to clearStarting Conversion

    I tried to stop and start, removed prefix. Still no luck.

    I just need only topics with posts, I can import other stuff manually.

    Can you guys please help me with this issue?

    #180200
    Jake Hall
    Participant

    There has been a survey for 2014 and 2015… since the plugin has grew so massively I thought a survey would have come about however there was none.

    The information from it is really interesting… when are we likely to see the next bbPress Survey?

    #180199

    In reply to: Guest Posting Question

    Anonymous User
    Inactive

    Mike,

    I have just stumbled upon the thread from 3 years ago and it led me to finding yours here. Is this really not resolved?

    I recently got bbPress up and running and I also needed this. I went ahead and found the solution… here goes…

    It’s in the template. Seriously. Let’s take the previous answer (sorry for no reference) that souneone suggested to “tell the users to use anon@example.com”, and we’ll make it even easier for the user.

    Make sure to copy the default bbpress template “form-anonymous.php” to /wp-content/themes/your-theme/bbpress/

    Open up form-anonymous.php from your theme and find the following code section:

    <p>
    			<label for="bbp_anonymous_email"><?php _e( 'Mail (will not be published) (required):', 'bbpress' ); ?></label><br />
    			<input type="text" id="bbp_anonymous_email"   value="<?php bbp_author_email(); ?>" tabindex="<?php bbp_tab_index(); ?>" size="40" name="bbp_anonymous_email" />
    		</p>

    Delete that. In fact, replace it with the following:

    <input type="hidden" id="bbp_anonymous_email" value="anon@yourdomain.com" tabindex="-1234" name="bbp_anonymous_email" />

    Save it out, close it out. You’re done!

    Now you don’t require names.. it forces the “anon@yourdomain.com” as the value.
    Developers can still change it 😉

    remember to change yourdomain.com to your actual domain in the values I gave above.

    if you have further questions or anything reach out on skype joshuasadler4550

    #180195
    Robin W
    Moderator

    bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    #180191
    TheDream18
    Participant

    Example:
    TOPIC A
    – Post 1
    – Post 2
    – Post 3
    – Post 4

    Simple added this code css:
    /* Display sub-forums in separate lines */
    #bbpress-forums .bbp-forums-list li {
    display: list-item !important;}

    #180188
    eliblair
    Participant

    Hi guys, I will just say first that I do not know much about coding.

    I just installed bbpress and now i have this error come up in my wordpress dashboard

    Warning: preg_match(): Unknown modifier ‘0’ in /home2/eli/public_html/juniortactician.com/wp-includes/class-wp.php on line 231

    Warning: preg_match(): Unknown modifier ‘0’ in /home2/eli/public_html/juniortactician.com/wp-includes/class-wp.php on line 232

    the code on those lines are as follows:

    if ( preg_match(“#^$match#”, $request_match, $matches) ||
    preg_match(“#^$match#”, urldecode($request_match), $matches) ) {

    what does this mean and how can I get rid of it?

    Thanks in advance.

    #180186
    moni
    Participant

    Hi I am using a custom short code to show about 10 latest replies on my reply dash board.
    I get shortcode from this link by applying this code : http://www.daggerhart.com/bbpress-recent-replies-shortcode/

    what I want is to add paging (nav) at the bottom to show more then 10 replies on other pages. please suggest solutions.

    stagezero
    Participant

    @robin w.
    i have suggestion on your plugin. Please check http://www.angrybirdsnest.com
    1. Forum thumbnail is clickable
    2. bbp.forum-content is beside the thumbnail
    3. recent topics below each forum list.
    4. (on topic page) Thumbnail is visible.

    also i have a problem with image not proportion. I have downloaded a plugin “Image Upload for BBPress”
    and all image is not proportion during responsive view. It just shrink the width. I tried removing image attribute and set max width to 100%. any idea?

Viewing 25 results - 9,826 through 9,850 (of 64,535 total)
Skip to toolbar