Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 9,301 through 9,325 (of 64,455 total)
  • Author
    Search Results
  • #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).

    #182600
    Pascal Casier
    Moderator

    Hi @netweb, @gmmedia,

    I have just installed bbPress 2.5.12 and Yoast SEO 4.4 on a completely new WP 4.7.3. I have found the noindex the very first time on the standard /forums page, but after the following steps it seems I do get SEO info and I can fill keywords at forum level in /wp-admin.

    • Install bbPress and activate
    • Install Yoast SEO and activate
    • In /wp-admin/options-reading.php make sure NOT to have the ‘Search Engine Visibility’ ticked
    • Run the Yoast SEO configuration wizard from /wp-admin/admin.php?page=wpseo_dashboard#top#general and make sure to mark forums as ‘Visible’.

    So at least Yoast SEO works.

    If somebody else can do further testing, that would be great.

    #182597
    Dan
    Participant

    my permalinks are set to month & name. my .htaccess has only the default WP rewrite rules. I have bbPress 2.5.12, jetpack 4.7, and woocommerce 2.6.14.

    When i visit mysite/forums/topic/* I get my topic.
    When i visit mysite/forums/user/admin I get the admin profile.
    When i visit mysite/forums/user/anyone-else I get the site homepage.

    This works wether I am logged in or out. I have no security plugins or cache plugins.

    Please: Why is this happening and how do I fix it?

    #182588
    dllawrence
    Participant

    This is a clean install

    Wordpress 4.7.3 – BBPress 2.5.12 – Buddypress 2.8.1

    I have installed with Twentyseventeen theme and with BeTheme. Everything works fine except I have an problem and was hoping someone could help point me in the right direction to resolve an issue with the breadcrumbs.

    When I am viewing the forums here is the breadcrumb string:

    Home > Forums > “Forum name” > “Topic name”

    That is exactly what I want. However, when I am viewing Buddypress pages, the breadcrumbs are:

    Home > Forums > “Username”

    I would prefer the breadcrumbs to be as follows:

    Home > Members > “Username” when someone is viewing Buddypress pages.

    Does anyone know how to achieve this????

    Thanks in advance for your help.

    #182587
    fastk9dad
    Participant

    Yes. I have a full child theme set up with a functions.php and modified bbpress templates as well.

    #182584
    Robin W
    Moderator

    because bbpress uses the wordpress login, you can’t have two logins on the same domain.

    So your best bet would be to say to people

    use the ‘world’ login for everyone, but individuals swap to an individual login and only use that once they have been given an individual that is all they use.

    #182582
    fastk9dad
    Participant

    I am looking to make my “New Topic” button below follow the pagination, by that I mean if there is only one page and the pagination links don’t exist I want the “New Topic” button to appear all the way to the right. If there is pagination I want it to sit at it’s left most side like my example below. Right now I’m just placing it there in a static position which means on pages with no pagination it’s just floating in space.

    Example position:
    button position

    This is the static code I’m using for the button:

    #bbpress-forums .new-topic {
        margin-top: -41px;
        margin-right: 80px;
        float: right;
    }
    #182575
    mpnuu
    Participant

    I had to create child theme for Twenty Sixteen. After that, bbPress sidebar went on bottom of the page. What I have to do to get sidebar back to side of the page?

    #182574
    A.
    Participant

    Hello!

    When using bbpress and Learndash, it is possible to set a forum to “privat” and link it up to a specific Learndash course. Which is working absolutely fine.

    But – as a “participant” who is not enrolled to that specific learndash course, it is possible for me to see all the topics, themes and replies of this forum. I can’t reply to it or create a new topic but still I’m able to read everything.

    Although it is set to “private” and linked up to a specific LD course.

    Is it possible, that a “participant”, who is not enrolled into a LD course, can’t see any replies, themes or topics of this specific forum?

    Best,
    Anke

    #182572
    alexpreyer
    Participant

    I have an WordPress site where we have one login for many visitors, because not everyone should see the content.
    Inside this WordPress installation is also bbpress installation. There we want to have each user separetly logged in with his own username. Because many users will login in the WordPress site, but only a few will use the forum we choosed this way.
    Is it possible to get a separate login for bbpress when already logged in WordPress?

    Thanks all for your help

    #182570
    Robin W
    Moderator

    that’s not a bbpress page, looks like it might be a version 1 site

Viewing 25 results - 9,301 through 9,325 (of 64,455 total)
Skip to toolbar