Skip to:
Content
Pages
Categories
Search
Top
Bottom

Group. Custom page


  • areaano
    Participant

    @areaano

    I have latest Buddypress, latest WordPress, latest Kleo-template.

    How can i make custom page to my group. I want to put a chat on the page. Only for group members.

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

  • Boone Gorges
    Keymaster

    @boonebgorges

    I’m afraid I haven’t ever used any of the available group chat plugins for BuddyPress, but a web search shows that a number are available: https://duckduckgo.com/?q=buddypress+group+chat&t=ffab&ia=web


    areaano
    Participant

    @areaano

    I dont need group chat. I have one.

    Only what i need is how to make custom pager for group members.


    Peter Hardy-vanDoorn
    Participant

    @petervandoorn

    Here’s the bare basic code to add a page to all groups:

    class my_group_page extends BP_Group_Extension {
    	function __construct() {
    		$args = array( 'slug' => 'page_slug', 'name' => 'Page Name', 'nav_item_position' => 12 );
    		parent::init( $args );
    	}
    	function display( $group_id = NULL ) {
    		// page code goes here
    	}
    }
    bp_register_group_extension( 'my_group_page' );
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar