Your cart is currently empty!
Feature Request – Groups File Access – Updated Information
—
by
FYI – I made a small customization that I would appreciate if you could make part of your system so it won’t get overwritten in a patch: [groups_file_info file_id=”1″ show=”updated”]
file: wp-content/plugins/groups-file-access/lib/views/class-gfa-shortcodes.php
Around line 610:
switch ( $options[’show’] ) {
case ‘description’ :
$output = $file->description;
break;
case ‘updated’ :
$output = $file->updated;
break;
Posted in Groups, Groups File Access
Comments
9 responses to “Feature Request – Groups File Access – Updated Information”
Perfect!
Confirmed, it’s fixed. Thanks.
Hey Rodd,
Thanks for sharing your findings and the related debug.log.
FYI, we released another update, version 3.0.1, fixing the fatal error when using the groups_file_info shortcode, please update your site to this new update.
Kind regards,
George
PS – my site started working again by removing all my shortcodes for groups_file_info
I updated to 3.0.0, now I’m getting the below.
Uncaught Error: Class “GFA_Utility” not found in /var/www/collect.org/public_html/wp-content/plugins/groups-file-access/lib/views/class-gfa-shortcodes.php:641
Stack trace:
#0 /var/www/collect.org/public_html/wp-includes/shortcodes.php(434): GFA_Shortcodes::groups_file_info()
#1 [internal function]: do_shortcode_tag()
#2 /var/www/collect.org/public_html/wp-includes/shortcodes.php(273): preg_replace_callback()
#3 /var/www/collect.org/public_html/wp-includes/class-wp-hook.php(324): do_shortcode()
#4 /var/www/collect.org/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#5 /var/www/collect.org/public_html/wp-includes/post-template.php(256): apply_filters()
#6 /var/www/collect.org/public_html/wp-content/themes/astra/template-parts/single/content-header.php(37): the_content()
#7 /var/www/collect.org/public_html/wp-includes/template.php(812): require(‘…’)
#8 /var/www/collect.org/public_html/wp-includes/template.php(745): load_template()
#9 /var/www/collect.org/public_html/wp-includes/general-template.php(206): locate_template()
#10 /var/www/collect.org/public_html/wp-content/themes/astra/inc/template-parts.php(370): get_template_part()
#11 /var/www/collect.org/public_html/wp-includes/class-wp-hook.php(324): astra_entry_content_single_page_template()
#12 /var/www/collect.org/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#13 /var/www/collect.org/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#14 /var/www/collect.org/public_html/wp-content/themes/astra/inc/core/theme-hooks.php(450): do_action()
#15 /var/www/collect.org/public_html/wp-content/themes/astra/template-parts/content-page.php(28): astra_entry_content_single_page()
#16 /var/www/collect.org/public_html/wp-includes/template.php(812): require(‘…’)
#17 /var/www/collect.org/public_html/wp-includes/template.php(745): load_template()
#18 /var/www/collect.org/public_html/wp-includes/general-template.php(206): locate_template()
#19 /var/www/collect.org/public_html/wp-content/themes/astra/inc/class-astra-loop.php(109): get_template_part()
#20 /var/www/collect.org/public_html/wp-includes/class-wp-hook.php(324): Astra_Loop->template_parts_page()
#21 /var/www/collect.org/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#22 /var/www/collect.org/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#23 /var/www/collect.org/public_html/wp-content/themes/astra/inc/class-astra-loop.php(197): do_action()
#24 /var/www/collect.org/public_html/wp-content/themes/astra/inc/class-astra-loop.php(174): Astra_Loop->loop_markup()
#25 /var/www/collect.org/public_html/wp-includes/class-wp-hook.php(324): Astra_Loop->loop_markup_page()
#26 /var/www/collect.org/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#27 /var/www/collect.org/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#28 /var/www/collect.org/public_html/wp-content/themes/astra/inc/core/theme-hooks.php(265): do_action()
#29 /var/www/collect.org/public_html/wp-content/themes/astra/page.php(32): astra_content_page_loop()
#30 /var/www/collect.org/public_html/wp-includes/template-loader.php(106): include(‘…’)
#31 /var/www/collect.org/public_html/wp-blog-header.php(19): require_once(‘…’)
#32 /var/www/collect.org/public_html/index.php(17): require(‘…’)
#33 {main}
thrown
You’re welcome Rodd.
Thank you.
Hey Rodd,
I’m following-up just to let you know that your suggested feature has been added in the new version of Groups File Access plugin. Once you update to the latest Groups File Access, you’ll be able to use the [groups_file_info show="updated"] shortcode without any worries of losing this option upon a future update.
Kind regards,
George
Hi Rodd,
Thanks for sharing your idea and code with us.
Let me take a note to review your request again and test the plugin with this addition.
Kind regards,
George