Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 20,076 through 20,100 (of 64,517 total)
  • Author
    Search Results
  • Stephen Edgar
    Keymaster

    Confirm the capitalization of the language setting is the same for all the files:

    e.g.

    • wp-config.php -> define ('WPLANG', 'he_IL');
    • bbpress-he_IL.mo
    • bbpress-he_IL.po

    Also make sure the bbPress translation files are stored in /wp-content/languages/bbpress/

    https://codex.bbpress.org/bbpress-in-your-language/

    #147828
    shanebp
    Participant

    WordPress 3.9.1
    BP 2.0.1

    Sorry, but it’s a dev site created by the client so I can’t publish the url.
    It’s on a shared account at Bluehost.

    The ‘from’ on received emails is [account name]@box557.bluehost.com

    The site_url and home_url are the same and use ‘www’.

    I can test bbpress patches.

    #147825
    Morgensonne
    Participant

    Okay, I have a bit more knowledge about the problem.

    I’ve been using a lot of time now and went back to my first working bbpress version and have then sequentially tested the following versions.

    Result: everything works correctly up to version 2.41!

    The title for the replies are there and consequently the permalink is correct, too. From version 2.51 the problem is back! Version 2.50 I could not test because the download link to version 2.5, unfortunately, contains the version 2.54. But I guess that the problem starts with 2.50.

    All versions tested in the same configuration (plugins and theme).

    Something suspicious: In versions that work correctly in the reply list (admin area) is in the field for the title: (no title). In the versions that have the error: in the reply list (admin area) in the field for the title is always the right title, but not in the post itself, there the line is empty. (Only posts that were written with a faulty version!! The others (up to version 2.41) are fine.)
    Very strange.

    So now I have version 2.41 back in action and everything running smoothly again.
    Am I the only one who has this error?

    Then I would stick to version 2.41 for all time ….(???)

    Morgensonne

    elis85
    Participant

    hi,
    i’m working with the wordpress 3.9.1 site network installation.
    i have installed the bbpress plugin version 2.5.4 and added the Hebrew mo and po files from wordpress.org and changed their name to bbpress-he_il.mo and bbpress-he_il.po.
    also checked that the wp-config has the define (‘WPLANG’, ‘he_il’); and checked that the language in the backend for the Hebrew site is set up to Hebrew.
    I’m working with twentyten child theme but even if i change it to twentyten original theme the forum is still showing up in English.
    i have tried everything and can’t find a solution.
    anybody has any suggestions?

    Lexador
    Participant

    Hi,

    I have a problem with syntax highlighter in bbpress (plugin). Normaly, after I’ve used Crayon and paste the example code

    void loop()
    {
    digitalWrite
    }

    it generates in the background (if I switch to text mode)

    <pre class="lang:arduino decode:true crayon-selected">void loop()
    {
    digitalWrite
    }</pre>

    It works good for admin, but if somebody else (member) try to post a code, the tag </pre> disappears, so his code will be not highlighted and in the published post I can see the code and a part of Crayon’s tag like this

    <pre class="lang:arduino decode:true crayon-selected">void loop()
    {
    digitalWrite
    }

    I’ve noticed about restrictions in html-tags etc. but as I can see in formatting.php pre is allowed tag.

    What is the problem?

    Thanks in advance.

    #147822
    Morgensonne
    Participant

    Hi Robin,

    I’ve done everything. Neither a plugin yet the theme makes the problem. I have ALL plugins turned off and tested the Twenty Ten and Twenty Fourteen themes. It is up to bbpress! The real problem why the permalinks contained the ID is, that the title bar of replies is empty. Because there is no title, the ID is taken to the permalink.

    BUT so far everything worked fine! The title was always automatically set for each reply.
    So there must be something happened during the update.

    I can try to reinstall bbpress. BUT: What happens if I uninstall bbpress???
    Is everything in the forum lost?

    Morgensonne

    #147817
    Mareva
    Participant

    Ok I’ll do that now.
    Please could you tell me before :
    – Should I desactive all plugins before (except bbPress and Private Groups before)?
    – Should I switch to Twenty Twelve theme again?
    – May I create topics I will test using any logged in user (as the admin user)?

    You wrote : “But one of these is in a private forum so a non-logged in user should see”
    Please note that my both forums are private ones, then no non-logged-in users are supposed to have an acces to any forum.
    – Forum A is to be used by Group 1 only.
    – Forum B is to used by Group 1 and Group 2.

    #147816
    Robin W
    Moderator

    Ok, what I want to do is check if the function is trying to filter and failing or not even trying to filter.

    I am therefore going to get the plugin to dump one of the lists, so that you can tell me what it is showing – it won’t look pretty, but should help.

    First of all you need to work out a search that produces only a few results, say less than 10, and that you can list all the results that you would expect to see for full access, and that you want to see for the private groups, and make a not of their numbers.

    so for instance

    search for zebra produces posts numbers

    2345,2367,2657,2894,2965

    But one of these is in a private forum so a non-logged in user should see

    2345,2367,2894,2965

    Once you have this list, then do the following :
    Use notepad to create a file called search.php

    then put this code into it

    <?php
    
    //this function filters to the bbp search function to allow only returns from allowed forums
    
    function pg_has_search_results( $args = '' ) {
    	global $wp_rewrite;
    //start with code as per bbp search !
    	/** Defaults **************************************************************/
    
    	$default_post_type = array( bbp_get_forum_post_type(), bbp_get_topic_post_type(), bbp_get_reply_post_type() );
    
    	// Default query args
    	$default = array(
    		'post_type'           => $default_post_type,         // Forums, topics, and replies
    		'posts_per_page'      => bbp_get_replies_per_page(), // This many
    		'paged'               => bbp_get_paged(),            // On this page
    		'orderby'             => 'date',                     // Sorted by date
    		'order'               => 'DESC',                     // Most recent first
    		'ignore_sticky_posts' => true,                       // Stickies not supported
    		's'                   => bbp_get_search_terms(),     // This is a search
    	);
    
    	// What are the default allowed statuses (based on user caps)
    	if ( bbp_get_view_all() ) {
    
    		// Default view=all statuses
    		$post_statuses = array(
    			bbp_get_public_status_id(),
    			bbp_get_closed_status_id(),
    			bbp_get_spam_status_id(),
    			bbp_get_trash_status_id()
    		);
    
    		// Add support for private status
    		if ( current_user_can( 'read_private_topics' ) ) {
    			$post_statuses[] = bbp_get_private_status_id();
    		}
    
    		// Join post statuses together
    		$default['post_status'] = implode( ',', $post_statuses );
    
    	// Lean on the 'perm' query var value of 'readable' to provide statuses
    	} else {
    		$default['perm'] = 'readable';
    	}
    	
    	//PG then loop to find allowable forums
    	//Get an array of IDs which the current user has permissions to view
    	$allowed_posts = private_groups_get_permitted_post_ids(new WP_Query($default));
    	Echo 'Allowed posts list' ;
    	var_dump ($allowed_posts) ;
    	// The default forum query with allowed forum ids array added
        $default['post__in'] = $allowed_posts;
    
        
    	//then return to bbp search code
    	/** Setup *****************************************************************/
    
    	// Parse arguments against default values
    	$r = bbp_parse_args( $args, $default, 'has_search_results' );
    
    	// Get bbPress
    	$bbp = bbpress();
    
    	// Call the query
    	if ( ! empty( $r['s'] ) ) {
    		$bbp->search_query = new WP_Query( $r );
    	}
    
    	// Add pagination values to query object
    	$bbp->search_query->posts_per_page = $r['posts_per_page'];
    	$bbp->search_query->paged          = $r['paged'];
    
    	// Never home, regardless of what parse_query says
    	$bbp->search_query->is_home        = false;
    
    	// Only add pagination is query returned results
    	if ( ! empty( $bbp->search_query->found_posts ) && ! empty( $bbp->search_query->posts_per_page ) ) {
    
    		// Array of arguments to add after pagination links
    		$add_args = array();
    
    		// If pretty permalinks are enabled, make our pagination pretty
    		if ( $wp_rewrite->using_permalinks() ) {
    
    			// Shortcode territory
    			if ( is_page() || is_single() ) {
    				$base = trailingslashit( get_permalink() );
    
    			// Default search location
    			} else {
    				$base = trailingslashit( bbp_get_search_results_url() );
    			}
    
    			// Add pagination base
    			$base = $base . user_trailingslashit( $wp_rewrite->pagination_base . '/%#%/' );
    
    		// Unpretty permalinks
    		} else {
    			$base = add_query_arg( 'paged', '%#%' );
    		}
    
    		// Add args
    		if ( bbp_get_view_all() ) {
    			$add_args['view'] = 'all';
    		}
    
    		// Add pagination to query object
    		$bbp->search_query->pagination_links = paginate_links(
    			apply_filters( 'bbp_search_results_pagination', array(
    				'base'      => $base,
    				'format'    => '',
    				'total'     => ceil( (int) $bbp->search_query->found_posts / (int) $r['posts_per_page'] ),
    				'current'   => (int) $bbp->search_query->paged,
    				'prev_text' => is_rtl() ? '&rarr;' : '&larr;',
    				'next_text' => is_rtl() ? '&larr;' : '&rarr;',
    				'mid_size'  => 1,
    				'add_args'  => $add_args, 
    			) )
    		);
    
    		// Remove first page from pagination
    		if ( $wp_rewrite->using_permalinks() ) {
    			$bbp->search_query->pagination_links = str_replace( $wp_rewrite->pagination_base . '/1/', '', $bbp->search_query->pagination_links );
    		} else {
    			$bbp->search_query->pagination_links = str_replace( '&paged=1', '', $bbp->search_query->pagination_links );
    		}
    	}
    	//finally filter to return
    	// Return object
    	return apply_filters( 'pg_has_search_results', $bbp->search_query->have_posts(), $bbp->search_query );
    }
    
    add_filter ('bbp_has_search_results', 'pg_has_search_results') ; 

    Then go into FTP

    Then look in

    wp-content/plugins/bbp-private-groups/includes

    and you’ll see a file called

    wp-content/plugins/bbp-private-groups/includes/search.php

    Rename this file to searchold.php (as we’ll need it back later!)

    Then copy the search.php that you made above to this folder (wp-content/plugins/bbp-private-groups/includes).

    Then run your search.

    You should see a horrible list at the start, but this will be what should be the filtered list

    run this with full access and with restricted access (ie not logged in) and tell me what lists you get and of they are different.

    #147810
    Robin W
    Moderator

    OK, it may be a plugin conflict – ie 2.5.4 isn’t playing with one of your plugins.

    Try

    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, switch to a default theme such as twentytwelve, and see if this fixes.

    #147807
    Stephen Edgar
    Keymaster

    I’d like to support attachments in a future version but at this stage it is not supported.


    @cybmeta
    Has written a Joomla Kunena Forum Attachments converter for the GD bbPressAttachments plugin.

    You might be able to adapt that to grab your attached images with a couple of tweaks:

    https://github.com/CybMeta/kunena-attachments-to-bbpress

    Kunena converter for bbPress 2.4

    Kunena converter for bbPress 2.4

    #147806
    Robkk
    Moderator

    use css to make your changes

    Step by step guide to setting up a bbPress forum – part 2

    everything is pretty much in there

    #147799
    Morgensonne
    Participant

    Thank you, Robin, for your feedback!!

    I did that first. Surely 3 times. It remains as it is: The title is missing (reply to …………) and the permalink does not take the title, but the ID. Probably because there is no title! The field is empty.

    I have just tested the following:

    1) new WordPress posts: permalink is as it should be.
    2) new post in the bbpress forum written in the admin area: permalink is as it should be.
    3) new post in bbpress forum written in the forum area: permalink is as it should be.
    4) reply to topic written in the forum area: permalink is incorrect (ID) and title is missing (field is empty)

    The problem therefore only occurs when replies are written in the forum area!!

    I’m getting quite desperate. I have no idea what I should do. 🙁
    In the older forum replies all is correct and now suddenly it no longer works.

    One more thing, please:
    How does the option works in the bbpress-admin:”Create new answer”?
    I can not set anywhere, on which post I want to write a reply…. (?)

    Thanks for the help!
    Morgensonne

    #147797
    Mareva
    Participant

    Ok, I’ve just did it… without any result!

    1- I desactivated all plugin except bbPress and Private Groups : Result list is still displaying results of all forums, even topics coming from private forum.

    2- I switched to TwentyTwelve : it neither work.

    gnnnn!

    Robkk
    Moderator

    https://github.com/aliso/bbpress-ajax-replies

    just wondering if anyone else tried it

    if you end up trying this plugin out tell me if it works on your site.

    I dont know if it works or not, or its just my theme or something

    when i post a new reply i dont see it posting with ajax just normally

    #147793
    Robin W
    Moderator
    #147792
    Robin W
    Moderator

    ok, think we need to eliminate any other factors

    Plugins

    Deactivate all but bbpress and private groups 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, switch to a default theme such as twentytwelve, and see if this fixes.

    Come back and let me know !

    #147790
    Mareva
    Participant

    In fact, it is not the only trouble I have with bbPress search.

    I’ve just found another one this afternoon choosing which widgets I should display in forum pages (forum index, topics, reply…):
    – I’ve installed the plugin “Display Widget” (https://wordpress.org/plugins/display-widgets/).
    – For widgets I want (or want not) to display on forum pages, I checked all Display Widget options related to forums in widgets areas.
    –> It works perfectly everywhere, except on the bbpress result pages, I mean in pages where the result list is displayed after using the bbPress search functionality.

    Then I wonder that the issue I told you about has really something to do with Private Groups.
    Maybe you just can’t do anything for me…

    regards
    m.

    #147787

    In reply to: Full Width Forum Help

    Robin W
    Moderator

    ok, this is not my strong area, but try making this as your bbpress.php page

    
    <?php 
    
    get_header(); // Loads the header.php template. ?>
     
    	<?php if ( is_bbpress() ) { ?>
     
    		<header class="entry-header">
    			<h1 class="entry-title"><?php single_post_title(); ?></h1>
    			<?php echo apply_atomic_shortcode( 'entry_byline', '<div class="entry-byline">' . __( 'Published by [entry-author] on [entry-published] [entry-comments-link before=" | "] [entry-edit-link before=" | "]', 'spine2' ) . '</div>' ); ?>
    		</header><!-- .entry-header -->
     
    		<?php while( have_posts() ): the_post(); ?>
     
    			<?php the_content(); ?>
     
    		<?php endwhile; ?>
     
     
    		<footer class="entry-footer">
    			<?php echo apply_atomic_shortcode( 'entry_meta', '<div class="entry-meta">' . __( '[entry-terms before="Posted in " taxonomy="category"] [entry-terms before="| Tagged "]', 'spine2' ) . '</div>' ); ?>
    		</footer><!-- .entry-footer -->
     
    	<?php } else { ?>
    	<div id="content" class="hfeed">
     
    		<?php get_template_part( 'loop-meta' ); // Loads the loop-meta.php template. ?>
     
    		<?php get_template_part( 'loop' ); // Loads the loop.php template. ?>
     
    		<?php get_template_part( 'loop-nav' ); // Loads the loop-nav.php template. ?>
     
    	</div><!-- #content -->
     
    <?php get_footer(); // Loads the footer.php template. ?>
    #147784
    shanebp
    Participant

    fyi – using bbPress 2.4.1 now and emails are being sent – so it’s not the host.

    #147780

    Likely broke with 2.5.4 and our change to BCC headers:

    https://bbpress.trac.wordpress.org/ticket/2618

    #147779
    shanebp
    Participant

    bbpress 2.5.4
    buddypress 2.0.1
    WordPress 3.9.1

    Logged in members are not getting reply email notifications.
    Group forums are not being used.

    Buddypress Activity mentions emails are being sent.
    I can use wp_mail to send mails.

    So it’s just bbpress that isn’t generating emails… any suggestions?

    Jerry
    Participant

    I have read the following explanation on using filters, and have become somewhat proficient on this. http://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum-part-5/

    I am having an issue, to which I believe there is probably a simple answer. I want to replace the word “Reply” with “Review This Book” in the admin links. Easy enough. But when I do that, there is no longer a link; I want to maintain the same link.

    According to the tutorial I have been using (above link), I am supposed to use a function like this:

    function jc_return_review( $args = array() ) {
     $args['reply_text'] = 'Review This Book';
     return $args;
    }

    Then I implement the following:
    add_filter( 'bbp_get_topic_reply_link','jc_return_review' );

    However, the above function causes the following error:
    “Warning: Illegal string offset ‘reply_text’ in /homepages/../../../../wp-content/plugins/bp-custom.php on line 111
    Ra href=”#new-post” class=”bbp-topic-reply-link”>Reply”

    But…, when using the following function

    function jc_return_review() {
    return 'Review This Book';
    }

    And the same filter above, the wording gets replaced just fine, but as I mentioned at the start of this post, there is no longer a link. In other words, without my filter, REPLY is a link that takes you to the reply window. When using my filter, Review This Book is present, but there is no link associated with Review This Book.

    Thanks for any help here.

    #147776
    Mareva
    Participant

    Hi!
    Thank you for the release.
    The top level forum issue is now fixed.
    Unfortunetly, there is no change about the search functionnality.

    When testing the new release :
    1- I deleted definitly forums and recreated new ones, with new names and new slugs. I kept existing groups (that were already defined in the plugin settings) and existing users settings. And, of course, I created new topics using various logged in users.
    Then I made some tests.
    2- I changed forums slugs and made some tests again : it seems to be ok (except for the search).

    I’m really embarrassing with the issue related to the not filtered search results list because I will be forced to disable search functionality in bbPress settings.

    Do you think it should be fixed or it is linked to my own configuration with no hope to repare it?

    Regards
    m.

    #147769
    wallyhood
    Participant

    Something is broken with my use of BBPress related to jQuery:

    Using the jQuery selector does not work. For example:

    $(".title")
    TypeError: undefined is not a function
    

    However, using
    jQuery(".title")

    does work. This is breaking other plugins and code I have on my site (http://www.wallyhood.org). I’ve tried disabling all other plugins except for BBPress, and the problem still occurs. I’ve tried enabling all plugins EXCEPT BBPress and the problem doesn’t occur. So it would seem that it must be BBPress causing the issue, except that I would assume lots of other people would be reporting it if that were the case.

    Any help?

    Stephen Edgar
    Keymaster

    Both bbPress.org and BuddyPress.org were #663399becca purple for a day.

    The Color Purple

    THE COLOR PURPLE

    WHEN my daughter was little, she used to ask me my favorite color. I was a grownup, and could only supply a grownup’s answer: “I love the way light looks in late afternoon,” I might say. Or, “Red and black can make powerful statements in graphic design.” Grownups don’t have favorite colors. But children do.

    Rebecca Meyer had a favorite color. It was purple. A color that might be expressed in the hexadecimal language of web design as #663399.

    As many of you know, Eric and Kat Meyer lost their daughter Rebecca to cancer on Saturday. Rebecca Alison Meyer was a ray of light. She was six years, eleven and a half hours old when she died.

Viewing 25 results - 20,076 through 20,100 (of 64,517 total)
Skip to toolbar