Skip to:
Content
Pages
Categories
Search
Top
Bottom

Can buddypress do the following?


  • roybarberuk
    Participant

    @roybarberuk

    Wordpress = 3.5.1
    Buddypress = 1.7.1
    Theme = Standard BP theme

    Hi Everyone, im looking for a solution for a short story website and wondered if buddypress had the capability.

    Heres the features and i would like its to be seamless where the customer wouldnt be taken to the wp-admin area, apart from the usual signup account side these are the main features:

    Users can:
    View their ‘My Profile’ (includes picture, name, email, about me, my stories, my drafts)
    Write: give the story a title
    Write: stories with a word limit/counter (5,000 limit)
    Write: save a story as a draft (accessible via their profile)
    Write: tag a story (i.e. funny, true story)
    Read: filter stories (popular tags, story length and popular authors)
    Read: sort stories (popularity or date added)

    Any help is much apriciated

    Regards Roy

Viewing 3 replies - 1 through 3 (of 3 total)

  • shanebp
    Moderator

    @shanebp

    BP can’t do that out of the box.

    You can extend it using custom post types.
    No need to send them to wp-admin, they could create stories via a page within their profile.
    Read and sort can be handled via the usual WP post functions, within or outside profiles.


    roybarberuk
    Participant

    @roybarberuk

    Thanks @shanebp Im very familiar with wordpress, so the read sections will be fine, i cant seem to see where to get started with creating the page in their profiles, do you have any links / resources or can you point me in the right direction.

    Regards Roy


    shanebp
    Moderator

    @shanebp

    So you know how to code a plugin that creates and handles cpts ?

    Then something like this in the plugin class:

    
    add_action( 'bp_setup_nav', array( $this, 'bp_stories_tab' ), 5 );
    
    // create the tab
    function bp_stories_tab() {
    		
    	bp_core_new_nav_item( array(
    		'name' => __( 'Stories', 'bp-member-stories' ),
    		'slug' => 'stories',
    		'position' => 200,
    		'screen_function' => array( $this, 'bp_stories_screen' ),
    		'default_subnav_slug' => 'stories'
    	) );
    }	
    
    // load template when  tab is clicked
    function bp_stories_screen() {
    	add_action( 'bp_template_content', array( $this, 'bp_stories_profile_screen' ) );
    	bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) );
    }
    
    // show the stories screen
    function bp_stories_profile_screen() { 
    	// etc. 
    } 
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can buddypress do the following?’ is closed to new replies.
Skip to toolbar