Skip to:
Content
Pages
Categories
Search
Top
Bottom

Extra Fields for Groups aka BPDEV Groups Extra


  • nicolagreco
    Participant

    @nicolagreco

    Hi guys, after long and hard work, today BPDEV-GROUPS-EXTRA Plugin is in BPDEV Plugins Package under SVN! This plugin allows you to add extra fields for groups like for profiles!

    Here is the official announce => http://bp-dev.org/announce/bpdev-groups-extra-is-now-in-bpdev-plugins-svn/

    Here is the download page => http://bp-dev.org/download

    Here is the plugin homepage => http://bp-dev.org/projects/#group-extra

    “When BuddyPress is first installed, groups have only to fields to show: “Description” and “News”. With BPDEV Extra Group the site admin will be able to add more fields to the group profile page. This fields will pop up on the group creation page when a member is creating a group.”

    === Installation ===

    1) Install bpdev plugins as described here

    2) Activate it under WP Admin > BPDEV Admin > BPDEV GROUP EXTRA

    3) Rename the file bpdev-groups-extra-config.php.sample to bpdev-groups-extra-config.php

    4) Edit the config file for your use

    Enjoy!

    Remember to donate to BPDEV via the download page, and to report bugs in the trac ( http://trac.bp-dev.org/plugins/newticket )

    PS: asap adding new fields will be more simple via the admin interface

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

  • exay
    Participant

    @exay

    don’t work checkboxes or i something don’t understand…


    nicolagreco
    Participant

    @nicolagreco

    They work for me. How is your config file?


    exay
    Participant

    @exay

    <?php

    /*

    Plugin Name: BPDEV-GROUPS-EXTRA-SAMPLE

    Plugin URI: http://bp-dev.org/projects/#groups-extra

    Description: Example of groups-extra configs

    Author: Nicola Greco

    Version: 0.3

    Author URI: http://nicolagreco.com/

    Copyright (c) 2009-2011, Nicola Greco (mail: notsecurity@gmail.com | website: http://nicolagreco.com).

    This program is free software; you can redistribute it and/or

    modify it under the terms of the GNU General Public License

    as published by the Free Software Foundation; either version 2

    of the License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful,

    but WITHOUT ANY WARRANTY; without even the implied warranty of

    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License

    along with this program; if not, write to the Free Software

    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

    */

    function bpdev_groups_extra_custom_fields() {

    global $group_extras;

    bpdev_groups_extra_register_field(

    ‘link’, //slug

    ‘Домашняя страница’, //name

    ‘singletext’, //type

    false, //extra (false means no extra stuff for that extra field)

    ‘on’, //the status on the admin panel

    ‘on’, //it shows it in the admin panel

    true //it shows that everytime

    );

    bpdev_groups_extra_register_field(

    ‘link’, //slug

    ‘Домашняя страница’, //name

    ‘multitext’, //type

    false, //extra (false means no extra stuff for that extra field)

    ‘on’, //the status on the admin panel

    ‘on’, //it shows it in the admin panel

    true //it shows that everytime

    );

    $types = array(

    array( ‘type1’, ‘Для девочек’ ),

    array( ‘type2’, ‘Для девушек’ ),

    array( ‘type3’, ‘Для женщин’ ),

    array( ‘type4’, ‘Для всех’ )

    );

    bpdev_groups_extra_register_field(

    ‘type’, //slug

    ‘Тип группы’, //name

    ‘dropdown’, //type

    $types, //extra it has to be an array like $types

    ‘on’, //the status on the admin panel

    ‘on’, //it shows it in the admin panel

    true //it shows that everytime

    );

    $checks = array(

    array( ‘check1’, ‘Checkbox 1’ ),

    array( ‘check2’, ‘Checkbox 2’ ),

    array( ‘check3’, ‘Checkbox 3’ ),

    array( ‘check4’, ‘Checkbox 4’ )

    );

    bpdev_groups_extra_register_field(

    ‘checks’, //slug

    ‘Checkboxes’, //name

    ‘checkbox’, //type

    $checks, //extra it has to be an array like $types

    ‘on’, //the status on the admin panel

    ‘on’, //it shows it in the admin panel

    true //it shows that everytime

    );

    }

    add_action( ‘bpdev_groups_extra_fields_setup_globals’, ‘bpdev_groups_extra_custom_fields’ );

    ?>


    nicolagreco
    Participant

    @nicolagreco

    this is the default and it works for me, try to update bpdev plugins via svn, i’ve made lot of changes in these days


    Matthew
    Participant

    @serpico

    Is this plugin no longer available? The links no longer work. I would love to use such a plugin any help???


    Paul Wong-Gibbs
    Keymaster

    @djpaul

    This post is one year old! I’m locking this thread as, if Nicola says his plugins should work on BP 1.2, you can make a new one.

    Nicola has not been around BuddyPress forums for several releases, so I suspect most of his plugins will not work with current BP versions. I do not know if he still works with BuddyPress, try sending him a message through this site.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Extra Fields for Groups aka BPDEV Groups Extra’ is closed to new replies.
Skip to toolbar