When trying to find a simple solution to adding a Groups page with a custom field, I came across this plugin. I realize this has not been updated in a few years and could certainly use some improvements to the functionality (namely actually displaying the fields on the group profile page.)
I noticed a few support requests where members mentioned developing codes further. Has anyone succeeded in displaying the fields as a group page tab yet?
Thanks for reading!
]]>I dont think this is working with 3.0
1. The Groups “other fields” does not display fields
2. On: Add New Field > Type this error is displayed
Warning: Illegal string offset ‘options’ in /public_html/wp-content/plugins/bp-extend-groups-fields/bp-fields.php on line 115
I am planning to try to update, and make modification including
– having fields displayed when user create groups
– Echo fields on group list
– one page group creation with custom fields (for homepage quick add group)
Hello, as it says in the title I would like to put the selection in the creation of the groups and not when they are already created. Can you help me by saying the function that I could do this in your file would already be of great help, because I’m not finding it.
]]>Trying to add tab not only under Buddypress>Group>Manage BUT also so that visitors can see the tabs and fields readonly on Buddypress Main Tab
I managed to get the tab added and it to load a blank page with the tab group headers but cannot seem to be able to losd the field. I also tried to include the other-fields.php under bp-extend-groups-fields/templates/groups/single/admin but no go…
Any ideas? I added the code below to my theme functions.php file to add a tab and page called Info under the main BP nav
function my_new_groups_info_page() {
global $bp;
if (isset($bp->groups->current_group->slug)) {
bp_core_new_subnav_item(array(
'name' => 'Info',
'slug' => 'Info',
'parent_slug' => $bp->groups->current_group->slug,
'parent_url' => bp_get_group_permalink($bp->groups->current_group),
'screen_function' => 'my_new_group_show_screen',
'position' => 10));
}
}
add_action('wp', 'my_new_groups_info_page');
function my_new_group_show_screen() {
add_action('bp_template_title', 'my_new_group_show_screen_title');
add_action('bp_template_content', 'my_new_group_show_screen_content');
$templates = array('templates/groups/single/plugins.php', 'other-fields.php');
if (strstr(locate_template($templates), 'templates/groups/single/plugins.php')) {
bp_core_load_template(apply_filters('bp_core_template_plugin', 'templates/groups/single/plugins'));
} else {
bp_core_load_template(apply_filters('bp_core_template_plugin', 'plugin-template'));
}
}
function my_new_group_show_screen_title() {
echo 'New Tab Title';
}
function my_new_group_show_screen_content() {
echo '<div class="clear"></br></div>';
echo '<ul class="button-nav" role="navigation">';
echo bp_extend_fields_group_tabs( );
echo '<ul>';
echo '<div class="clear"></div>';
include 'templates/groups/single/other-fields.php';
}
]]>
(Testing with BP 2.8.0-RC):
The following debug errors are thrown on “/groups/” and “/groups/type/” pages:
Notice: Trying to get property of non-object in . . . /wp-content/plugins/buddypress/bp-groups/bp-groups-template.php on line 1072
Notice: Trying to get property of non-object in . . . /wp-content/plugins/bp-extend-groups-fields/bp-fields.php on line 898
]]>Thank you for keeping the UI/UX so close to the BP core Profile Fields editor.
Would you please consider enabling group-type (BP 2.6+) specifications similar to member types (BP 2.4+)?
See https://webdevstudios.com/2015/10/30/buddypress-2-4/.
Without this sort of functionality, it’s difficult to imagine a good use case for your otherwise much needed plugin on sites that use group types, since not all fields necessarily pertain to all group types.
]]>I’m receiving the following three (3) error messages inside the “Sort Order” field for Checkboxes, Drop Down Select Box, Multi Select Box, and Radio Buttons options (i.e., all the Multi Fields):
Notice: Undefined index: sort_order in .../bp-extend-group-fields/templates/types.php on line 48 >Custom
Notice: Undefined index: sort_order in .../bp-extend-group-fields/templates/types.php on line 49 >Ascending
Notice: Undefined index: sort_order in .../bp-extend-group-fields/templates/types.php on line 50 >Descending
I’d like to be able to display the information collected in the fields in a member visible tab. Right now as far as I can see only the group manager can see this information from within the Manage tab but once the information is input the group members cannot see it. Or am I missing something?
]]>I have just installed your plugin. It is working, thanks. However, a user would need to able to select/choose it during the creation process of a group (and not only after once the group has already been created). We would highly appreciate your support.
]]>