Grievy
Forum Replies Created
-
Forum: Plugins
In reply to: [LeagueManager] Warning: Illegal string offset 'name'Ummmmmm. Silly me. Solved.
Forum: Plugins
In reply to: [Edit Flow] Notify a non-admin of posts awaiting reviewInsert the following into php/templates/functions.php
add_action( 'ef_init', 'ef_x_init_email_all_admins' ); function ef_x_init_email_all_admins() { add_filter( 'ef_notification_recipients', 'ef_x_email_all_admins', 10, 3 ); } function ef_x_email_all_admins( $recipients, $post, $return_as_string ) { $admins = ef_x_get_users_in_role( 'editor' ); if( ! empty( $admins ) ) { foreach( $admins as $admin ) { $recipients[] = $admin->user_email; } } return $recipients; } function ef_x_get_users_in_role( $role ) { $users = array(); if( function_exists( 'get_users' ) ) { $users = get_users( array( 'role' => $role ) ); } elseif( class_exists( 'WP_User_Search' ) ) { global $wpdb; $wp_user_search = new WP_User_Search( '', '', $role ); foreach( $wp_user_search->get_results() as $user_id ) { $users[] = new WP_User( $user_id ); } } return $users; }
Just change editor to whatever userrole you want notified.
Forum: Fixing WordPress
In reply to: Author Archive – Display author posts by categoryDid you manage to find a solution to this as I am trying to achieve the same thing?
Forum: Plugins
In reply to: [Wordbooker] [Plugin: Wordbooker] WooTumblog CompatibilityFrom the backend it works first time, only problem is when using the mobile app. Its an issue I can live with anyway.
Thanks for the brilliant plugin, looking forward to v2.
Forum: Plugins
In reply to: [Wordbooker] [Plugin: Wordbooker] WooTumblog CompatibilityStill the same strange situation. No image by default, then it appears once I republish.
Forum: Plugins
In reply to: [Wordbooker] [Plugin: Wordbooker] WooTumblog CompatibilityI’ve found a bizarre twist to all this. The image does not show on the initial publish but if I edit the post and choose to re-publish it to facebook the image then appears.
Sorry to keep on about this but this has got me really confused now.
Forum: Plugins
In reply to: [Wordbooker] [Plugin: Wordbooker] WooTumblog CompatibilityAs a workaround is there perhaps a way to define a default image to be used if wordbooker can’t find an image to use?
Forum: Plugins
In reply to: [Wordbooker] [Plugin: Wordbooker] WooTumblog CompatibilityIt gets a diagnostic message “Getting the thumbnail image” followed by “Getting the rest of the images” but still displays nothing on facebook.
Forum: Plugins
In reply to: [Wordbooker] [Plugin: Wordbooker] WooTumblog CompatibilityFrom what I can see in the SQL database it is being stored in the metadata under the field image but this is a field the plugin is already looking in.
I’ll keep digging but I’m guessing maybe this isn’t possible.
Forum: Fixing WordPress
In reply to: Site wont stop refreshingAlways refresh your cache!!
Has a fix been found for this??
Forum: Plugins
In reply to: [Wordbooker] [Plugin: Wordbooker] constant refreshingPlugin is disabled at the moment though. Will re-enable it when I get home from work and let you know on here.
Forum: Plugins
In reply to: [Wordbooker] [Plugin: Wordbooker] constant refreshingIt happens with both options.
Forum: Plugins
In reply to: [Wordbooker] [Plugin: Wordbooker] constant refreshingThe page would load but less than a second after loading the whole page would refresh as if I had pressed F5
Forum: Themes and Templates
In reply to: Custom Gallery TemplateAnybody able to help at all?