MNetto
Forum Replies Created
-
Forum: Plugins
In reply to: [AddQuicktag] Bugs after update to WP 5.6Same issue still in WordPress 5.7
No more AddQuicktag dropdown in editor. Tested in latest Firefox, Chrome and Safari.Forum: Plugins
In reply to: [AddQuicktag] Bugs after update to WP 5.6Same here. Button in editor toolbar is missing ??
AddQuicktag doesn’t seem to work properly with WordPress 5.6 and its new jQuery version. Activated jQuery Migrate Helper Plugin (Legacy 1.12.4-wp) as a temporarily fix.
Are there any news if AddQuicktag is even in active development? It’s been a while since last update.
In the locations search form? or in the events search form > country/region/state/city dropdown?
In the events search form > country/region/state/city dropdown.
Thanks for pointing me in the right direction. I created a custom scope and it works.
add_filter( 'em_get_scopes','my_em_future_today_scopes',1,1); function my_em_future_today_scopes($scopes){ $my_scopes = array( 'future-and-today' => 'Future and Today' ); return $scopes + $my_scopes; } add_filter( 'em_events_build_sql_conditions', 'my_em_today_scope_conditions',100,2); function my_em_today_scope_conditions($conditions, $args){ if( !empty($args['scope']) && $args['scope']=='future-and-today' ){ $date_today = date('Y-m-d',current_time('timestamp')); $conditions['scope'] = " (event_start_date = CAST('$date_today' AS DATE) OR event_end_date >= CAST('$date_today' AS DATE))"; } return $conditions; }
- This reply was modified 4 years, 1 month ago by MNetto.
Thanks! In categories.php I changed
'hide_empty' => 0,
to'hide_empty' => 1,
. Works fine.But where can this be done for the location dropdown to hide locations with no entries?
Forum: Plugins
In reply to: [Post Type Switcher] Bulk option doesnt appear!I had the same problem. Try to temporarily deactivate some plugins.
In my case the plugin “Admin Columns” was the culprit.Forum: Plugins
In reply to: [Temporary Login Without Password] allow non-admin roles accessHi,
thanks for your reply. The capabilities of an editor are restricted for a good reason. I like that editors are e.g. not allowd to install plugins or make changes on global WP settings.
The possible loophole you mention: The admin role is not listed in the Visible Roles selection. It’s not possible to create a temporary admin account.
I played around and changed the capability in class-wp-temporary-login-without-password-admin.php on line 118 to “publish_pages”.
Editors can now use the Plugin. Works fine so far, but would be better to get there without the hack.Forum: Plugins
In reply to: [Temporary Login Without Password] allow non-admin roles accessI have an editor (user role editor) who is managing the website’s content. I’d like to give him permission to use your plugin so that he can also manage temporary logins.
Forum: Plugins
In reply to: [Media Sync] stops at filenames with special charactersThank you for the fast response and the update.
Works fine now.Forum: Plugins
In reply to: [Lightbox with PhotoSwipe] Make editor metabox optionalThanks for your explanation. Looking forward to the next update.
The usecase for individual gallery/image setting could be indeed pretty rare.
Thanks for your quick reply!
I changed the code accordingly and it works.
Maybe you can implement this as an optional setting on the admin page in a further release.
Greetings, MNetto
The problem is caused by an JS error, which not occurs for admin but only for editor role:
Uncaught TypeError: Cannot read property 'parentNode' of null admin.590642d3.js:22367
Forum: Plugins
In reply to: [Adminimize] No dashboard Widget appear – even after dasboard visitI have the same problem on several websites, even with no other plugins activated and latest WP install.
Forum: Plugins
In reply to: [Contact Form 7] Selectable Recipient Validation Error WorkaroundNo need for a workaround. Putting [your-recipient] into the “To” field still works. You need to make your-recipient field required.
https://www.ads-software.com/support/topic/multiple-recipients-6
Forum: Plugins
In reply to: [Admin Columns] Problem with custom fields and image@frabraha
try https://github.com/jgrossi/wordpress-ciac
It works!