Skip to:

too many options – would you prefer tutorials?

  • CJ Kruger


    Im getting quite a few requests though if I were to integrate all the things mentioned, the code would be so bloated and confusing with so many options.

    What I could do is write up tuts explaining how to build a plugin ( with all current features ) using the group api.

    This way you could decipher through the ‘elements’ and make up your own plugin suited to your specific needs.

    I have to make custom group api thingy soon as I need it for a project hence it would only add a few more hours onto my dev time.

    The only thing I need help with is the $success message using @boonebgorges method of saving the group meta, boone do you thing you could provide a example using your method below and how we could check to see if the meta was saved hence $success = true…

    `function settings_save( $group_id ) {
    global $bp, $wpdb;

    $plain_fields = array(
    foreach( $plain_fields as $field ) {
    $key = ‘group_plus_’ . $field;
    if ( isset( $_POST[$key] ) ) {
    $value = $_POST[$key];
    groups_update_groupmeta( $group_id, ‘group_plus_’ . $field, $value );

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘too many options – would you prefer tutorials?’ is closed to new replies.
Skip to toolbar