Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 9,351 through 9,375 (of 64,515 total)
  • Author
    Search Results
  • #182745
    brettdarnesh
    Participant

    @casiepa

    I tried your suggested untested code

    `function casiepa_fltr_get_forum_subscribers( $user_ids ) {
    return array();
    };
    // add the filter
    add_filter( ‘bbp_forum_subscription_user_ids’, ‘casiepa_fltr_get_forum_subscribers’, 10, 1 );`

    it’s not working for me šŸ™

    I have an urgent matter where bbpress is sending our multiple emails not just from the recent activities of the day but from all notifications from the beginning of the whole forum. I’m not sure on how to stop the thing. People are being driven nuts

    #182736
    devenjoycode
    Participant

    Hi,

    I just got an issue with bbpress, bbpress plugin conflict with Easy content types plugin. Here’s the plugin https://themeisle.com/plugins/easy-content-types/.

    The issue is topic tags page always show message “Oh bother! No topics were found here!”, even any topics in that tags. If I deactivated easy content type plugin, topic tags page show the topics normally.

    Anyone knows how to fix this issue?

    Thank you for helping me. ^__^

    #182735
    Pascal Casier
    Moderator

    In the current bbPress there is nothing by default that I know of.

    For the moment my ‘bbP Manage Subscriptions’ plugin is only dealing with subscriptions to forums (I have been busy this weekend to improve it, new version should arrive soon), but let’s see if maybe later I can add something there.

    #182730

    In reply to: Problem translating

    Pascal Casier
    Moderator

    @pcalexpc

    If you switch your WordPress to FranƧais in /wp-admin/options-general.php (Options > General), WordPress will download the French translation for bbPress automatically.

    Pascal.

    #182727
    Kalusha
    Participant

    Hey,

    I need a button to send a private message to a user. My thoughts:

    I have here a function from Robin to show the first and lastname
    add_action (‘bbp_theme_after_reply_author_details’, ‘rew_display_user_details’, 20);

    function rew_display_user_details () {
    $rew_id1=bbp_get_reply_author_id() ;
    $rew_id2 = get_userdata( bbp_get_reply_author_id());
    echo ‘<div class = “rew_display_user_details”>’ ;
    echo $rew_id2->first_name ;
    if ( bbp_is_user_keymaster() ) echo ‘ ‘.$rew_id2->last_name ;
    echo ‘</div>’ ;
    }

    ?>

    I have the Plugin front end pm. In the documentation stand it is possible with that

    User name pre-populate new message “To”

    Where must a paste it in the function?

    regards

    #182726
    Satoru
    Participant

    i’ve been running a forum site using bbpress. i allow anonymous users to make topics there. but the form for topic tags disappears in the case they make a new topic although it does show to registered users making a new topic, or even a new reply. i have no idea how to solve this.

    can anyone solve it?

    #182723
    DragoWeb
    Participant

    Hi, I’m new with bbpress and using a WP (v4.7.3) with WPML (v3.6.6) to display 2 languages. I created 2 main forums named “English Forum” and “French Forum” with some sub forums under each of them, and I’m looking now for a way to display a search form to target only the “english forum” but also his child forum, and another which target the “french forum” with his child ones.

    I’ve found this :http://sevenspark.com/tutorials/how-to-search-a-single-forum-with-bbpress
    but it only search on a single forum ID (not to child ones).

    I googled for hours but, surprisingly, found nothing really helpful.

    I can create my own shortcode to display a search form but how to target a forum_id?

    Thanks for any help…

    #182717

    In reply to: User Role

    Kalusha
    Participant

    Here I have found why the bulk action don“t work

    Bulk action in >>Users Change Forum Role doesn’t work

    Now I have change all Users with bulk action.

    Thank you

    #182716
    LNAngel
    Participant

    It’s not IP related – she hasn’t tried to log in at all with the new account, only me. I, logging in as her with a new account also cannot post a new topic.

    I believe this is a bbPress problem. I switched her credentials from “Participant” to “Moderator” and now she has no problems with either account. I don’t want her to have moderator access, however. How do I fix this permissions issue?

    #182708
    rohitverma55
    Participant

    I am new to bbpress, and need a solution to allow my users to reply in a structured way instead of typing everything in a paragraph.

    Example: admin will post a topic with some details/pics etc. All reply to the post should come answers to 4-5 pre-defined questions.

    Is there any way of doing that?

    #182698
    russ8523
    Participant

    OK! After much random searching I found the location. If anyones interested it’s: wp-content/plugins/bbpress/templates/default/bbpress/form-user-edit.php.

    #182695
    Robin W
    Moderator

    as far as I can see the only functions in bbpress that mail have a check on that parameter.

    However if you are also using buddypress or @mentions, then they may well do stuff as well.

    #182693
    #182684
    brettdarnesh
    Participant

    I have a number of not so happy customers being inundated with emails from the forum, they are receiving numerous repeat emails for some reason.

    I’m happy to try and figure it out, BUT for the URGENT NOW, I need a way to just shut off all the emails coming from bbpress. Is there a surefire way to do this?

    happy with functions.php code snippets, anything

    thanks for your help

    Brett

    #182681

    In reply to: bbp_reply_admin_links

    Robin W
    Moderator
    #182677

    In reply to: How make full width

    Robin W
    Moderator
    #182672
    lalit73545
    Participant

    I am using bbpress forum plugins for my wordpress websites. so i just wanted to know how i can display all related post underneath the topic just like similar to word press blog post comment & reply. So you don’t have to click to another page to view the posts.

    goldnuggets24
    Participant

    Hey folks!

    Please forgive me if I’m missing something obvious. I’m looking to allow users that are creating new topics on the frontend of my BBPress-based site, to add a featured image to their topics.

    This image wouldn’t appear in their topic itself. Instead, the featured image would exist on indexed pages listing a series of topics in one area. Does this feature exist in a plugin, or is there a more customized way to add this feature?

    Thanks!

    #182663

    In reply to: bbp_reply_admin_links

    Robin W
    Moderator

    hmmm … if you want each link to be a button, I can point you to some code, but you’ll need to figure it out.

    so

    so for replies, the function is in

    bbpress/includes/replies/template.php

    which I think you found.

    function bbp_get_reply_admin_links( $args = array() ) {
    
    		// Parse arguments against default values
    		$r = bbp_parse_args( $args, array(
    			'id'     => 0,
    			'before' => '<span class="bbp-admin-links">',
    			'after'  => '</span>',
    			'sep'    => ' | ',
    			'links'  => array()
    		), 'get_reply_admin_links' );
    
    		$r['id'] = bbp_get_reply_id( (int) $r['id'] );
    
    		// If post is a topic, return the topic admin links instead
    		if ( bbp_is_topic( $r['id'] ) ) {
    			return bbp_get_topic_admin_links( $args );
    		}
    
    		// If post is not a reply, return
    		if ( !bbp_is_reply( $r['id'] ) ) {
    			return;
    		}
    
    		// If topic is trashed, do not show admin links
    		if ( bbp_is_topic_trash( bbp_get_reply_topic_id( $r['id'] ) ) ) {
    			return;
    		}
    
    		// If no links were passed, default to the standard
    		if ( empty( $r['links'] ) ) {
    			$r['links'] = apply_filters( 'bbp_reply_admin_links', array(
    				'edit'  => bbp_get_reply_edit_link ( $r ),
    				'move'  => bbp_get_reply_move_link ( $r ),
    				'split' => bbp_get_topic_split_link( $r ),
    				'trash' => bbp_get_reply_trash_link( $r ),
    				'spam'  => bbp_get_reply_spam_link ( $r ),
    				'reply' => bbp_get_reply_to_link   ( $r )
    			), $r['id'] );
    		}
    
    		// See if links need to be unset
    		$reply_status = bbp_get_reply_status( $r['id'] );
    		if ( in_array( $reply_status, array( bbp_get_spam_status_id(), bbp_get_trash_status_id() ) ) ) {
    
    			// Spam link shouldn't be visible on trashed topics
    			if ( bbp_get_trash_status_id() === $reply_status ) {
    				unset( $r['links']['spam'] );
    
    			// Trash link shouldn't be visible on spam topics
    			} elseif ( bbp_get_spam_status_id() === $reply_status ) {
    				unset( $r['links']['trash'] );
    			}
    		}
    
    		// Process the admin links
    		$links  = implode( $r['sep'], array_filter( $r['links'] ) );
    		$retval = $r['before'] . $links . $r['after'];
    
    		return apply_filters( 'bbp_get_reply_admin_links', $retval, $r, $args );
    	}

    which you can filter at the end, but how would depend on your skills.

    the span part can be simply changed by putting a filter into your child theme’s function file

    eg

    add_filter ('bbp_before_get_reply_admin_links_parse_args', 'theredeclipse_change' ) ;
    
    function theredeclipse_change ($args) {
    	$args['before'] = '<span class="bbp-admin-links">' ;
    	$args['after']   = '</span>' ;
    return $args ;
    }

    and just change whatever you want the span part to look like, or just remove it.

    if you want to style each link, then you’ll see that there is a call to each separate function

    'edit'  => bbp_get_reply_edit_link ( $r ),
    				'move'  => bbp_get_reply_move_link ( $r ),
    				'split' => bbp_get_topic_split_link( $r ),
    				'trash' => bbp_get_reply_trash_link( $r ),
    				'spam'  => bbp_get_reply_spam_link ( $r ),
    				'reply' => bbp_get_reply_to_link   ( $r )
    

    so to do it in functions, you’d need to go to each one.

    you’ll find these in the same file above

    since the class is hard coded, you could add a final filter with a preg_replace

    eg

    add_filter( 'bbp_get_reply_move_link' , 'theredeclipse_move', 10 , 2 ) ;
    
    function theredeclipse_move ($retval, $r) {
    $retval =  preg_replace(whatever args you need, with, $retval);
    return $retval ;
    }

    so $retval will hold the line of code including the class.

    so google preg-replace and see if you can get it working !!

    #182655

    In reply to: bbp_reply_admin_links

    theredeclipse
    Participant

    Default output looks like

    <span class="bbp-admin-links">
    // inside different classes of links
    </span>

    I would like change it to
    <a class="button"></a>
    So I want to delete span from output and use one style for each <a> link, if its possible.

    And the thing is – I could do it by modifying forum files, but after update it will be overwritten. So I want to use bbpress functions php file to change output, but I don’t know how. I hope I’ve explained it well šŸ˜›

    #182624
    mpnuu
    Participant

    Hello

    I installed bbPress on my website and added login sidebar to my forum page. It got working after some struggle. Then I had to create child theme for Twenty Sixteen theme. After that bbPress login sidebar moved to bottom of forum page. Can you give me some instructions how to get sidebar back to side of the page? Thanks!

    I’m currently using WordPress 4.7.3 with Twenty Sixteen theme and bbPress 2.5.12.
    My website is not yet public.

    #182615
    cbeardsley626
    Participant

    Hi

    Bit of a beginner here so forgive me if I’m asking something which should be obvious!

    I have installed BBpress on my wordpress site but when I click on the forums tab on the wordpress dashboard it seems the link is broken. It takes me to a “HTTP 500 error” default screen. I can click on “New forum” but not “All forums”. Similarly when you click on any of the forum links on the homepage, even those links appear broken as you don’t land on that forum. Even then, I get the same HTTP error. Any ideas?

    Ryan Giglio
    Participant

    I’m working an educational website that produces video content and uses a BBPress forum for discussion rather than the native WordPress comments. Here’s how it works:

    I have a hook on wp_insert_post that creates a new BBPress topic when a new video post is created and saves this new topic_id to a _comment_topic_id meta field.

    In my single-video.php template where the video is displayed, I’m using the BBPress [bbp-single-topic id=$topic_id] shortcode to display the topic thread and reply form for people to post comments.

    All of this works great! I’m just having one problem – the “subscribe” feature of BBPress isn’t working when people post replies via the Video Single page. The reply is posted just fine, but subscribed users don’t receive a notification. If you’re not familiar – when a user subscribes to a thread, they receive an email whenever someone replies to the thread. This is still working fine when someone posts a reply via the actual Thread single page – it’s only a problem on the thread embedded via the shortcode on the Video single page.

    I’ve tried digging into the core and I got so far as to discover that the bbp_new_reply action isn’t firing – BBPress uses a function called bbp_notify_topic_subscribers hooked into bbp_new_reply to send the notifications and that function isn’t running at all when a reply is made via the Video single page.

    It seems that BBPress uses some hidden inputs to determine what actions to run after a reply has been submitted, but those seem to be included properly through the shortcode. These appear at the bottom of the Topic single form (that works properly);

        <input type="hidden" name="bbp_topic_id" id="bbp_topic_id" value="422573">
        <input type="hidden" name="bbp_reply_to" id="bbp_reply_to" value="0">
        <input type="hidden" name="action" id="bbp_post_action" value="bbp-new-reply">
        <input type="hidden" id="_wpnonce" name="_wpnonce" value="83ea236cd1">
        <input type="hidden" name="_wp_http_referer" value="/forums/topic/SLUG/">

    And these appear at the bottom of the Video single form (that doesn’t)

        <input type="hidden" name="bbp_topic_id" id="bbp_topic_id" value="422573">
        <input type="hidden" name="bbp_reply_to" id="bbp_reply_to" value="0">
        <input type="hidden" name="action" id="bbp_post_action" value="bbp-new-reply">
        <input type="hidden" id="_wpnonce" name="_wpnonce" value="83ea236cd1">
        <input type="hidden" name="_wp_http_referer" value="/videos/SLUG/">

    I’m at a loss for how to debug this issue further and could really use some help. BBPress has all kinds of page type/post type checks in the core that I’ve been ducking and weaving around, but this one has got me stumped. I suspect the problem is that SOMEWHERE it’s checking the post type of the current post, seeing it’s a video instead of a topic and bailing before the action runs, but I have no idea how or where to find that and how to patch around it.

    Thanks!

    #182603
    Pascal Casier
    Moderator

    This is bbPress, for BuddyPress you could check the BuddyPress forums šŸ™‚

    Below just a quick idea to stop ALL email to subscribers, but UNTESTED:

    function casiepa_fltr_get_forum_subscribers( $user_ids ) {
    	return array();
    }; 
    // add the filter 
    add_filter( 'bbp_forum_subscription_user_ids', 'casiepa_fltr_get_forum_subscribers', 10, 1 );
    #182601
    reedy
    Participant

    Just an added thought — if the ā€˜Settings > Email’ page is generated by buddypress, perhaps the email subscription options could be added to the top of the ‘Forums > Subscriptions’ page (I believe this is generated by bbpress).

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