Skip to:
Content
Pages
Categories
Search
Top
Bottom

Create Group


  • mgrmn
    Participant

    @mgrmn

    I’ve been searching (saw some 2 year old post but no luck on that one (profile->create group)

    How do I create Groups ? or How do users create their own groups ?

    WP 3.5.2
    BP 1.7.2

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

  • Henry
    Member

    @henrywright-1

    Once logged in as a member, try navigation to the Groups area. You’ll then be given the opportunity to create a new group.


    mgrmn
    Participant

    @mgrmn

    Either I am starting to get blind or..

    1) http://domain.com/members/%5Bprofile%5D/groups/ (No option / Link that says, create | create group)
    2) http://domain.com/members/%5Bprofile%5D/activity/groups/ (No option / Link that says, create | create group)

    1) image http://postimg.org/image/c8w5h79eh/
    2) image http://postimg.org/image/ago0oz7yl/


    aces
    Participant

    @aces

    what about http://domain.com/groups/ ?

    Next to Groups Directory should be a Create a Group button….


    mgrmn
    Participant

    @mgrmn

    I wish it did, but it doesn’t, I can insert them manually into the DB, but that isn’t the idea 🙁


    shanebp
    Moderator

    @shanebp

    do you have ‘user groups’ selected in wp-admin Settings > BP ?

    do you have ‘allow members to create groups’ selected in wp-admin Settings > BP > Settings ?


    mgrmn
    Participant

    @mgrmn

    Yes, they are all checked / enabled

    BuddyPress -> Components & BuddyPress -> Settings

    Can not add groups, not as Admin , Not as User. Neither can I as Admin via Admin panel Groups.
    Only direct insert DB


    @mercime
    Participant

    @mercime

    @mgrmn There should be a “Create a Group” button beside the page title in the Groups Directory page. https://codex.buddypress.org/user/buddypress-components-and-features/groups/#groups-directory

    If the “Create a Group” button doesn’t show up in your theme, that’s because the_title tag of page template is not within the WordPress loop. To resolve this issue, you can create your own link to the Create Groups page, just append /create to the URL of your groups directory page
    e.g.
    groups page -> http://example.com/groups
    groups create page -> http://example.com/groups/create

    Alternatively, if you prefer, you can instead add the patch to include the groups/create link in BP MyAccount section of the WP Toolbar https://buddypress.trac.wordpress.org/ticket/1838 – coming out in BP 1.8


    mgrmn
    Participant

    @mgrmn

    One I am with /groups/ I can go to /groups/create/ and it will show me the form. Thank you.

    As far as “Page title is not within the WordPress loop”, where do I look to get fixed, cause all the PB pages have the same thing, just say “Page”


    mgrmn
    Participant

    @mgrmn

    apply_filters( 'bp_page_title', esc_attr( $title ), esc_attr( $title ) ); something like that ?


    dran2013
    Participant

    @dran2013

    I was wondering this too. The “create group” tab shows up if I directly go to my link: http://durhamregionactionnetwork.com/groups/ (same with Forums with bbpress) but how do users find the link when it isn’t appearing in their profile? I have everything enabled in settings for both plugins.So once a person is logged in they see this on their page:

    Activity
    Profile
    Messages
    Friends
    Groups
    Forums
    Events
    Settings

    But when you click on Groups from there, there is no link to create a group. Same with Forums. Maybe BuddyPress doesn’t have that option? I wanted to improve usability by adding the links to the user’s dashboard, it seems to make sense it would be there but it’s not. I hope I am explaining this OK 🙂 Thank you for any help you can provide!


    mgrmn
    Participant

    @mgrmn

    Its there, just not included somehow within your template. That is if I understood it correctly. Since the button in within the_title tag of the template, if not included, no CREATE GROUP button is added to your template. So either have to include that part of code.

    Or manually add somewhere to the page.. still trying to figure out which one. tried.. groups / and members single .. but no changes.. weird
    /bp-themes/bp-default/groups/single/home.php
    /bp-themes/bp-default/groups/single/group-header.php


    mgrmn
    Participant

    @mgrmn

    @dran2013 What you can do is this.

    FILES:
    /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/member-header.php
    /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/group-header.php

    Add below <span class=”activity”><?php bp_last_activity( bp_displayed_user_id() ); ?></span>
    something like Create Group

    Enjoy


    dran2013
    Participant

    @dran2013

    Thanks very much for your help! I did the manual link as your suggestion…it showed up in the member-header file but the second file put it in the header of a group I already created. It would be great if it could show up on the user’s profile page under Groups, in the sub-navigation with:
    Memberships
    Invitations
    Events
    or a tab somewhere, but maybe I shouldn’t be picky…your suggestion is a good workaround fix if I can’t get it showing elsewhere. Thanks again! 🙂


    mgrmn
    Participant

    @mgrmn

    Not sure which file, however you should look in these directories look for div id subnav, it should be somewhere is my best guess for manual adding what you want.

    /bp-templates/bp-legacy/buddypress/groups || /bp-themes/bp-default/groups

    If you have it installed locally, I suggest you give that a try before editing online files.

    If you are using linux you can use a command like below to see which files have the subnavigation menu.

    sudo grep -lir “subnav” /var/www/wp-content/buddypress/
    or
    sudo grep -ir “subnav” /var/www/wp-content/buddypress/ (this will show you relevant code.

    If Windows, I suggest you use something simple like EditPlus open up all files, and use search function (If I remember correctly, check search all open files or something like that

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Create Group’ is closed to new replies.
Skip to toolbar