becky.absolute
Forum Replies Created
-
@josk79 Thanks for the quick response. And glad to hear it’s being kept up-to-date.
Forum: Plugins
In reply to: [CSS & JavaScript Toolbox] PHP 7.2 Errors@wipoutmedia Any update on the fix for php 7.2? It looks like the latest update did not include the fix because others have reported the same issue ( https://www.ads-software.com/support/topic/php-warning-177/ ).
I was hoping I wouldn’t have to keep modifying the plugin after an update to fix this issue. Can you please provide a timeline as to when this issue might be resolved? Thanks!
Did version 2.1.16 fix the reported issue? I’m wondering if it’s safe to update. Thanks!
Forum: Plugins
In reply to: [CSS & JavaScript Toolbox] PHP 7.2 Errors@wipeoutmedia Any update on the php 7.2 fix? It’s been 3 months since the last update.
Forum: Fixing WordPress
In reply to: Updated to 4.9, won’t detect page template…Wow. I lost an hour of development time before I found this thread and the trac ticket. Not happy about that.
I understand the reason caching was added, but did they not think about theme developers working on new themes or updates to existing themes. It would have been nice if they had worked in some sort of environment variable that gets checked to determine if the file list should be cached. No caching on local or staging but do the caching on production.
Forum: Plugins
In reply to: [Groups] View all content for that group?I needed to do something similar to what @multimastery was looking for. I believe I figured out how to do it, so I wanted to share in case it would help someone else.
I created a shortcode that displays all of the PAGES that the currently logged in user has access to. This includes the pages for ALL groups that the user is associated with. It verifies that the user is logged in and is associated with at least one group before listing the pages. It still needs some polish and verification that the Groups plugin is active, but it’s a good start.
function custom_list_pages_for_users_groups() { // is the current user logged in? $user_id = get_current_user_id(); if($user_id == 0) return ''; // get the user object $user = new Groups_User($user_id); if(empty($user)) return ''; // get the groups that the user is part of $group_ids = (is_array($user->group_ids_deep)) ? $user->group_ids_deep : []; if(empty($group_ids)) return ''; // get the pages that the groups the user is part of has access to $pages = Groups_Post_Access::get_pages(get_posts([ 'posts_per_page' => -1, 'post_type' => 'page', 'meta_key' => 'groups-read', 'meta_value' => $group_ids, 'meta_compare' => 'IN', 'orderby' => 'title', 'order' => 'ASC']) ); if(empty($pages)) return '<p>You do not have access to any content at this time.</p>'; $html = '<ul>'; foreach ($pages as $post) $html .= '<li><a href="'.get_permalink($post->ID).'">'.get_the_title($post->ID).'</a></li>'; $html .= '</ul>'; return $html; } add_shortcode('groups_list_pages_for_user', 'custom_list_pages_for_users_groups');
USAGE:
[groups_list_pages_for_user]
I thought there might be a need to expand on this and display the PAGES that a single group has access to, so I created a second shortcode to do that as well. It verifies that the user is logged in, that the group specified exists, and that the user is part of the specified group before listing the pages. Like the first one, this one could use some polish as well.
function custom_list_pages_for_group($attr) { $attributes = shortcode_atts(['group' => ''], $attr); // is the current user logged in? $user_id = get_current_user_id(); if($user_id == 0) return ''; // make sure a group was specified if(empty($attributes['group'])) return ''; // find the group specified and make sure it exists $group = Groups_Group::read_by_name($attributes['group']); if(!$group) return ''; // get the user object $user = new Groups_User($user_id); if(empty($user)) return ''; // make sure the user is part of the specified group $user_group_ids = (is_array($user->group_ids_deep)) ? $user->group_ids_deep : []; if(!in_array($group->group_id, $user_group_ids)) return ''; // get the pages the group has access to $pages = Groups_Post_Access::get_pages(get_posts([ 'posts_per_page' => -1, 'post_type' => 'page', 'meta_key' => 'groups-read', 'meta_value' => [$group->group_id], 'meta_compare' => 'IN', 'orderby' => 'title', 'order' => 'ASC'] ) ); if(empty($pages)) return '<p>This group does not have access to any content at this time.</p>'; $html = '<ul>'; foreach ($pages as $post) $html .= '<li><a href="'.get_permalink($post->ID).'">'.get_the_title($post->ID).'</a></li>'; $html .= '</ul>'; return $html; } add_shortcode('groups_list_pages_for_group', 'custom_list_pages_for_group');
USAGE:
[groups_list_pages_for_group group="Group Name"]
I ran into this problem as well … Chrome only. I disabled the “Hide Backend” feature (I was able to log in in both Firefox and Safari), and then I was able to load my website in Chrome. I re-enabled the “Hide Backend” feature, and things were still okay. My php error log was showing error messages about running out of memory. I didn’t increase the memory, so I’m hoping the issue doesn’t come back.
- This reply was modified 7 years, 5 months ago by becky.absolute.
Marcus –
Is the ability to turn on dev updates available in a Network install? I don’t see an “Admin Tools” block for a site in a Network install that is using this plugin.
We are getting the same error as described above, and we are running on php 5.6.
Forum: Plugins
In reply to: [Chronosly Events Calendar] No Changelog???Please update the changelog for EVERY release. The latest version is 2.6.0 but the last changelog you posted was for 2.4.7. Not updating the changelog is a very irresponsible thing for a developer to do.
Any word on when the fix for this issue might be released? Since we upload the backups to Amazon S3, we’re holding off on updating until the issue with disappearing credentials is fixed. Thanks!
Forum: Plugins
In reply to: [Redirection] Not Working after the UpdateWas the Nginx Helper the problem for all of you? We don’t use that, but I’m leery of updating to the latest version without hearing from the developer.
Thank you for the quick reply. I ended up finding the problem.
There was a redirect set up to redirect /index.php to /. I have no idea why that was in there. The link to download the files for the form entries are query strings appended to index.php. I removed that redirect and that fixed the problem.
I completely missed this redirect the first time that I looked through the list of redirects.
Forum: Plugins
In reply to: [Contact Form 7] Not working since 4.6Any update from the plugin author? I’m holding off updating WordPress core to version 4.6 on 17 of our client sites because they are using this plugin. I don’t want to have to hack the plugin to fix the issue. I’m just looking for an official update as to when we might expect an updated version of the plugin with the fix. Thanks!
Thank you. Much appreciated.
Any update as to when this issue might be addressed?