WordPress.org

Ready to get started?Download WordPress

Forums

CM Answers
buddypress integration (3 posts)

  1. Denver Prophit Jr.
    Member
    Posted 9 months ago #

    Can you add buddypress integration?

    http://wordpress.org/extend/plugins/cm-answers/

  2. CM Plugins
    Member
    Plugin Author

    Posted 9 months ago #

    We didnt plan this...What is the minimal which is needed can you describe ?

  3. Estopero
    Member
    Posted 9 months ago #

    Hi,

    I've bought your plugin and is great, the pro version adds some very usefull features like the widget and categories. Thanks for the work!

    In the buddypress side... maybe would be usefull put the "questions and answers" profile in the buddypress profile page when buddypress is detected. Right now with Buddypress installed seems that there are two profile pages/urls for each user, even in my case the CM Answers profile url is not working.

    Some examples in the buddypress achievement plugin:
    http://plugins.trac.wordpress.org/browser/achievements/tags/3.3/achievements.php

    Line 615:

    /**
    	         * Register custom menu items
    	         *
    	         * @global WP_Admin_Bar $wp_admin_bar
    	         * @since Achievements (3.0)
    	         */
    	        public function admin_bar_menu() {
    	                global $wp_admin_bar;
    
    	                if ( ! dpa_is_user_active() )
    	                        return;
    
    	                $wp_admin_bar->add_node( array(
    	                        'href'   => dpa_get_user_avatar_link( 'type=url' ),
    	                        'id'     => 'dpa_my_achievements',
    	                        'parent' => 'user-actions',
    	                        'title'  => _x( 'My Achievements', 'Menu item in the toolbar', 'dpa' ),
    	                ) );
    	        }

    This code adds an element to the navbar user profile menu pointing to an url. But also would be great integrate the CMAnswers profile page into the buddypress profile page. I don't find the code/doc but the achievements plugin also does that.

    Also would be great to inject the questions and answers activity in the buddypress "activity streamline"

    http://codex.buddypress.org/developer/plugin-development/bp_activity_add/

    I'm not sure how easy is the integration but would be fantastic :)

    The buddypress dev codex at:
    http://codex.buddypress.org/developer/developer-docs/

    Thanks!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags