Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 22,251 through 22,275 (of 64,742 total)
  • Author
    Search Results
  • Stephen Edgar
    Keymaster

    Are you wanting something like this?

    forums/membership-services/view-profile/{username}

    If so we already have a support ticket opened:
    https://bbpress.trac.wordpress.org/ticket/2496

    #141941
    Stephen Edgar
    Keymaster

    There is a support topic for that in their support forums, hopefully an update Ad King Pro’ will come along soon that resolves the issue.

    https://wordpress.org/support/topic/bbpress-30?replies=2

    #141940

    In reply to: bbPress 2.5.3

    Stephen Edgar
    Keymaster

    @@mariz_p This is not a ‘standard feature’ of WordPress or bbPress, I presume you are using a plugin to enable this. What plugin is it?

    Depending upon how the plugin implements this it ‘might’ be something bbPress could add support for in the bbPress login widget and form-user-*.php templates, but most likely this we be difficult to do for compatibility of ‘all the plugins’ that enable this feature.

    Most likely you will need to customize the form-user-*.php templates to match the plugin you are using.

    #141938

    Topic: bbp_new_forum hook

    in forum Plugins
    Laviic
    Participant

    Hello,

    I am trying to write a plugin that adds some meta-information to a forum when it gets created. I can see that bbPress has a “bbp_new_forum” and a “bbp_edit_forum” hook, yet those never appear to fire, no matter what i do. I even added a php-die directly in front of their respective “do_action” calls inside the bbPress source code just to find out, that the part of the code that should call the new_forum hook appears to never actually be executed. What are those hooks for then, and what hooks DO get called when you create/edit a bbPress forum?

    Thank you for your help!

    My Version of WordPress is 3.8.1
    My Version of bbPress is 2.5.3

    #141937
    tazogamer
    Participant

    I HAVE DONE THAT, but you need to read all these instruction and do a customization:

    
    
    //using add_filter, i have changed one original bbPress function (named bbp_list_forums, created from bbpress\includes\forums\template.php function)
    // copied  that function, and inserted the additional code (you can easily see my added extra code)
    //so, after some time, someone, who will work on this website, may have to update the below "bbp_list_forums" function (according from the new version of bbPress package,as now its 2013-14 year), and insert again my added code in its place..
    
    add_filter('bbp_list_forums','bbp_list_forumsNEWWWW',10);
    function bbp_list_forumsNEWWWW( $args = '' ) {
    
    	// Define used variables
    	$output = $sub_forums = $topic_count = $reply_count = $counts = '';
    	$i = 0;
    	$count = array();
    
    	// Parse arguments against default values
    	$r = bbp_parse_args( $args, array(
    		'before'            => '<ul class="bbp-forums-list">',
    		'after'             => '</ul>',
    		'link_before'       => '<li class="bbp-forum">',
    		'link_after'        => '</li>',
    		'count_before'      => ' (',
    		'count_after'       => ')',
    		'count_sep'         => ', ',
    		'separator'         => ', ',
    		'forum_id'          => '',
    		'show_topic_count'  => true,
    		'show_reply_count'  => true,
    	), 'list_forums' );
    
    	// Loop through forums and create a list
    	$sub_forums = bbp_forum_get_subforums( $r['forum_id'] );
    	if ( !empty( $sub_forums ) ) {
    
    		// Total count (for separator)
    		$total_subs = count( $sub_forums );
    		foreach ( $sub_forums as $sub_forum ) {
    			$i++; // Separator count
    
    			// Get forum details
    			$count     = array();
    			$show_sep  = $total_subs > $i ? $r['separator'] : '';
    			$permalink = bbp_get_forum_permalink( $sub_forum->ID );
    			$title     = bbp_get_forum_title( $sub_forum->ID );
    
    			// Show topic count
    			if ( !empty( $r['show_topic_count'] ) && !bbp_is_forum_category( $sub_forum->ID ) ) {
    				$count['topic'] = bbp_get_forum_topic_count( $sub_forum->ID );
    			}
    
    			// Show reply count
    			if ( !empty( $r['show_reply_count'] ) && !bbp_is_forum_category( $sub_forum->ID ) ) {
    				$count['reply'] = bbp_get_forum_reply_count( $sub_forum->ID );
    			}
    
    			// Counts to show
    			if ( !empty( $count ) ) {
    				$counts = $r['count_before'] . implode( $r['count_sep'], $count ) . $r['count_after'];
    			}
    
    			
    			
    			
    			
    			
    			
    			
    				//------------------------------------------------------------------------------------------------	
    		//------------------------------------------------------------------------------------------------
    		// ------------------------------------------------ HERE WHAT I HAVE ADDED ------------------------
    		//------------------------------------------------------- START -------------------------------
    		//------------------------------------------------------------------------------------------------
    		$fresnhesss=bbp_get_forum_last_topic_title( $sub_forum->ID );
    		if(empty($fresnhesss))	{$fresnhesss='NO TOPICS';}
    		else {$fresnhesss='<a href="'. bbp_get_forum_last_topic_permalink( $sub_forum->ID ) .'">'. $fresnhesss .'</a>';}
    		
    			// Build this sub forums link
    			$output .= $r['link_before'] . '
    				<li class="forumsSUUB">
    					<div class="s_LINe"><a  href="' . esc_url( $permalink ) . '" class="bbp-forum-link">__' . $title . $counts . '</a></div>' .
    					$show_sep . '
    					<div class="bbp-forum-lastactivee">'.$fresnhesss.'</div> 
    					<div class="bbp-forum-contenttt-descr">'. bbp_get_forum_content($sub_forum->ID) .'</div> 
    				</li>' . $r['link_after'];
    			
    
    		// sub-sub-forums list
    		$sub_forums2 = bbp_forum_get_subforums( $sub_forum->ID );
    		if ( !empty( $sub_forums2 ) ) {
    		
    		$i = 0;
    			// Total count (for separator)
    			$total_subs = count( $sub_forums2 );
    			foreach ( $sub_forums2 as $sub_forum2) {
    			
    				$i++; // Separator count
    
    				// Get forum details
    				$count     = array();
    				$show_sep  = $total_subs > $i ? $r['separator'] : '';
    				$permalink = bbp_get_forum_permalink( $sub_forum2->ID );
    				$title     = bbp_get_forum_title( $sub_forum2->ID );
    
    				// Show topic count
    				if ( !empty( $r['show_topic_count'] ) && !bbp_is_forum_category( $sub_forum2->ID ) ) {
    					$count['topic'] = bbp_get_forum_topic_count( $sub_forum2->ID );
    				}
    
    				// Show reply count
    				if ( !empty( $r['show_reply_count'] ) && !bbp_is_forum_category( $sub_forum2->ID ) ) {
    					$count['reply'] = bbp_get_forum_reply_count( $sub_forum2->ID );
    				}
    
    				// Counts to show
    				if ( !empty( $count ) ) {
    					$counts = $r['count_before'] . implode( $r['count_sep'], $count ) . $r['count_after'];
    				}
    
    			//fresnhess		
    			$fresnhesss2=bbp_get_forum_last_topic_title( $sub_forum2->ID );
    			if(empty($fresnhesss2))	{$fresnhesss2='NO TOPICS';}
    			else {$fresnhesss2='<a href="'. bbp_get_forum_last_topic_permalink( $sub_forum2->ID ) .'">'. $fresnhesss2 .'</a>';}
    			
    				// Build this sub forums link
    				$output .= '
    				<li class="bbp-forum forumsSUUB">
    					<div class="subsub_LINe"><a  href="' . esc_url( $permalink ) . '" class="bbp-forum-link">__' . $title . $counts . '</a></div>' .
    					$show_sep . '
    					<div class="bbp-forum-lastactivee">'.$fresnhesss2.'</div> 
    					<div class="bbp-forum-contenttt-descr">'. bbp_get_forum_content($sub_forum2->ID) .'</div> 
    				</li>';
    			}
    		}
    		//------------------------------------------------------------------------------------------------
    		//------------------------------------------------------------------------------------------		
    		//----------------------------- END of my inserted code (then continues normally)-----------
    		//------------------------------------------------------------------------------------------	
    		////------------------------------------------------------------------------------------------------	
    			
    			
    			
    			
    			
    			
    		
    			
    		}
    
    		// Output the list
    		echo apply_filters( 'bbp_list_forumss', $r['before'] . $output . $r['after'], $r );
    	}
    }	
    #141936
    tazogamer
    Participant

    I HAVE FOUND a solution to list (show) them –

    https://bbpress.org/forums/topic/displaying-sub-sub-forums/#post-141934

    #141935

    In reply to: sub-sub forums

    tazogamer
    Participant

    NEW VERSION of the solution can be found here –
    https://bbpress.org/forums/topic/displaying-sub-sub-forums/#post-141934

    #141932

    Here’s the scenario, and I’ll try to be as specific and detailed as possible.

    There are two different WP installations:

    • The first (let’s call it myforum.com) just holds a bbpress forum install with thousands of members and posts.
    • The second (let’s call it myblog.com) is an existing WP blog with thousands of existing posts&pages.

    We want to create a fresh bbpress install on myblog.com/forum and want to import all of myforum.com’s bbpressdata. We’re getting rid of the myforum.com site after migration.

    I am not a database guy however, and I have no idea how to export and import the forum posts as well as the users. I fear overwriting the existing posts, pages and users of myblog.com.

    Is it as simple as importing tables from wordpress onto myblog.com? Will that overwrite what’s already there?

    Appreciate any advice 🙂

    #141928
    opensource_waffle
    Participant

    I tick the check box to enable nested replies but even so, bbpress will not nest replies. Please help.

    #141925
    xpoveda
    Participant

    Hi, i like to have bbpress in spanish and catalan.

    How find this translation in po/mo files?

    Thanks!!!

    Xavier.

    #141924
    assylumn
    Participant

    Hi All,

    I am new to BbPress and have inherited an installation that seems to have issues.

    When you select a forum from the home page it not only shows topics from that forum, but also random topics from other forums on the site.

    This happens using the twentyten theme plus 2 other custom themes using different frameworks.

    This is the original installation http://techiteasy.co/

    And this is a clone of it on a test server with a different theme http://techdev.kemikalkitchen.co.uk/

    Any advice would be greatly appreciated.

    #141923
    barnabe
    Participant

    Maybe this bug not appears if bbPress is installed before qTranslate. I’ll try an another install to test that.

    Finally, even if bbPress is intalled before qTranslate, qTranslate is loaded first.

    #141918
    Anonymous User 13302461
    Inactive

    I think this is your solution.

    Just found it myself.

    I have created a bbPress starter theme with a phpBB look and feel

    #141917
    AndyL99
    Participant

    In my forums, all the fields for entry have a gray border except the box in which the text of the post is entered. In this case the field is present but the border is invisible (or white). The nine dots at the bottom right to resize the box are visible.

    My site is up to date, and uses a child of the TwentyTwelve theme. I have verified I get the same problem with native TwentyTwelve.
    WP 3.8.1
    BBPress 2.5.3
    Other plugins: Askimet, BackWPup, Better WP Security, Easy Table, Fast Secure Contact Form, Formidable, NextGEN Gallery by Photocrati, XML Sitemap & Google News Feeds

    Site: http://marlowriders.org.uk/forums/

    #141916
    barnabe
    Participant

    Hello,

    Thanks for the answer! In fact, this is no a display problem in admin menu, but rights (user capabilities). When I set the URL “edit.php?post_type=forum” directly in the addresses’ bar, WordPress says to me I have not the right to access this page.

    After a “very” long debug, I found why this behavior appends. The qTranslate plugin is loaded before bbPress and sets up the WP_User via the function wp_get_current_user() and so sets its allcaps. So when WordPress object is init in wp-settings.php file to sets up current user, wp_get_current_user() returns the existing user and not reloads capabilities.

    I fixed this problem in adding a param to wp_get_current_user():

    function wp_get_current_user($new_user = false){}

    and the same param to get_currentuserinfo() and wp_set_current_user(). I also modified the condition in get_currentuserinfo():

    if ( ! empty( $current_user ) && $new_user === false ) {

    and the condition in wp_set_current_user():

    if ( isset( $current_user ) && ( $current_user instanceof WP_User ) && ( $id == $current_user->ID ) && $new_user === false )

    Then I added the true value in param to the call of wp_get_current_user() in init method of WP class.

    Maybe this bug appears because I installed qTranslate before bbPress. Maybe this bug not appears if bbPress is installed before qTranslate. I’ll try an another install to test that. It would be nice not to change the core of WordPress.

    #141912
    #141910
    brightbell
    Participant

    I have been building a site http://www.racingpigeon.com
    The site includes a bbpress forum.

    I found that there was peculiar things going on with the forum such as it could not be accessed from the back end. It can be viewed from the front end until someone logs in then it becomes blocked and returns 404. This happened first on the production site but was confirmed on a pilot installation also by deactivating and reactivating Ad King Pro. 1.9.9
    bbPress 2.5.3

    #141908

    In reply to: Forum root confusion

    gastronomicslc
    Participant

    Fixed it myself 🙂

    I guess bbPress and Genesis don’t play nicely out of the box and the Genesis bbPress extend plugin is needed.

    #141907
    gastronomicslc
    Participant

    Hi all.

    My apologies if this is a fairly rudimentary query, or one covered elsewhere, I did search but managed to only confuse myself more 😉

    My site is:
    http://www.gastronomicslc.com/

    Running latest WP and a Genesis based theme from Studiopress. I installed bbPress but am having issues generating a coherent main page, I guess the forum root if you will. I followed the install instructions and made my forum root slug (foodie-talk), I also then made the foodie-talk page, however that doesn’t seem to work:

    http://www.gastronomicslc.com/foodie-talk/

    I have created two test sub-forums

    http://www.gastronomicslc.com/foodie-talk/forum/general-talk/
    http://www.gastronomicslc.com/foodie-talk/forum/ask-expert/

    with a test post in each. I have yet to link to the bbPRess directly from my site while I work on this. On the foodie-talk page I have the [bbp-forum-index] code right now.

    I imagine I have made some simpleton fault, appreciate anyone pointing it out 🙂

    JustinF
    Participant

    Hi John-

    Sorry for the delay. The add-on I was referring to was this:

    https://wordpress.org/plugins/bbpress-private-replies/

    It appears it is not compatible with the current version of bbpress in that the replies that are marked as “private” are in fact viewable by users without Admin permissions if using the Search function.

    I suspect Pippin would be the one to contact for this?

    #141904
    Prometheus Fire
    Participant

    In BBPress, is there an equivalent to WP’s next_post_link() and previous_post_link() functions to create navigation to the next topic?

    Reference:
    http://codex.wordpress.org/Function_Reference/next_post_link
    http://codex.wordpress.org/Template_Tags/previous_post_link

    If not, can anyone think of a custom way to create one, or do something similar?

    #141903

    There are a few plugins that jumpstart WordPress’s roles and capabilities, which can cause permissions issues with bbPress (and any other plugin that relies on roles and capabilities.) These plugins are __doing_it_wrong() in the conventional sense, and there’s not much bbPress can do about that other than throw debug notices when WP_DEBUG is turned on.

    #141900

    It looks to me like bbPress isn’t finding its default CSS. You could try reinstalling bbPress; it’s possible you have an incomplete installation, with only some non-essential assets were caught missing.

    Otherwise, it could be a plugin conflict, or some other code might just be getting in the way of bbPress’s CSS loading. You could also try deactivating plugins one at a time, and seeing if something new you’ve added recently is causing this to happen.

    #141899

    Sounds to be like qTranslate is accidentally stomping out bbPress’s top level menu locations. WordPress’s code in regards to navigation has a tendency to be pretty fickle in this regard.

    bbPress even takes measures to try and avoid this from happening on its own, but it looks like it’s still not enough anymore.

    We’ll see if there’s anything we can do on our end to avoid any of these kinds of menu collisions again. If so, improvements will come in a future version of bbPress.

    #141898

    The most likely culprit is another plugin causing a conflict. If you’re an admin already, activating bbPress, it forces your forum role to Keymaster so you’re able to administrate the forums completely.

Viewing 25 results - 22,251 through 22,275 (of 64,742 total)
Skip to toolbar