Hi John,
Lot of people has complaining about broken JS in admin area. It’s caused by function addLoadEvent() in resource/admin.js
I’ve checked commits in SVN and I see that it was already fixed by Ralph Atkinson in version 1.4.6:
https://plugins.trac.www.ads-software.com/browser/sniplets?rev=537898
This version was never released and this commit has been overwritten in next two commits. Also, it wasn’t properly tagged:
https://plugins.trac.www.ads-software.com/browser/sniplets?rev=537899
Could you please merge this changes and release version 1.4.6
Thanks,
Foliovision
When active, the HTML editor (now called “Text” tab) stops working in WordPress 4.2.2. “Text” tab is not clickable anymore, so I had to deactivate Sniplets plugin.
]]>This is perhaps to be expected as it is just a development app. (DesktopServer) Just letting you know in case it’s an easy fix, and advising others.
]]>While this plugin is active, a number of JavaScript-related functions do not work in the Admin area. For example, on the Edit Post screen, you can’t add tags; you can’t open the Screen Options tab at the top; can’t edit the page slug.
I would love to see this plugin working again, as I use it for several small bits of my website.
]]>activating this plugin in wordpress 4.0 breaks the “add media” button from the “add new post” page.
deactivating the plugin solves the issue. Tested from 3.9.2 onwards on fresh install.
]]>When this plugin is enabled it causes the “ADD MEDIA” button on “edit post” and “edit page” pages to not work.
]]>Only when I have Sniplets activated am I unable to use the Upload/Insert images lightbox. As soon as it’s deactivated, it works fine.
]]>When the plugin is activated it is not possible to open end edit the timestamp of a post.
]]>When I activate version 1.4.5 of the plugin, I receive the following message:
The plugin generated 859 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.
Then certain aspects of the admin interface stop working. For instance, on the “Add Post” screen, I can no longer update permalinks – I click the Edit button but nothing happens. Same thing when I try to edit the post date/time in order to schedule a post for future publication (I can adjust both of these through the “quick edit” option on the All Posts screen, but not on the Add/Edit Post screen). The screen options dropdown no longer works – I click the button but nothing happens, so I can’t select or deselect items to appear on the Add Post screen. The flyout menus no longer fly out.
I really love this plugin – have come to depend on it. Would love to see it fixed to work with the current version of WP!
]]>Does anyone have a version that works in WP 3.3?? Need an update asap!
]]>I love this plugin. But having problems now with WP3.3.
With this plugin active the hover-overs in the menu don’t work, the image uploader doesn’t work (doesn’t popup), and the screen options doesn’t work.
I’ve also had problems trying to save new Sniplets, and export/import.
Thanks for looking into this.
~Jeff
How do I add capability for this plugin?
I’m using User Role Editor to manage cabilities, and Admin Menu Editor plugin to manage who can see what in the menu based on their roles and capabilities. The Admin Menu Editor plugin lets you assign capability to any menu or sub-menu item for visibility.
No matter what capability I assign, including ‘read’, my users can’t see the Sniplets menu. I even tried adding a custom menu item linked to the Sniplets area within the dashboard, but I get “You do not have sufficient permissions to access this page” when logged in as Editor role.
Tbanks for your help. Love the plugin.
Jeff
Hi,
I want to add a bunch of sniplets at the same time. I have a database with the name of the sniplets in one column and the contents in another.
I was wondering if I could use the import feature to create them all at once. I did an export to take a look at the XML format and think I can duplicate that, except maybe the position number.
Does this sound like a good way to go? Is there a better way?
Any thoughts would be greatly appreciated and thanks for a great plug-in!
Trevor
Hello,
the JS file for this plugin is not loaded when writing a new post. That makes the sniplets meta box and also rest of the inline JS non-functional.
Please make sure to fix sniplets.php, line 150 from:
if ( (isset($_GET['page']) && $_GET['page'] == 'sniplets.php') || strpos ($_SERVER['REQUEST_URI'], 'page.php') || strpos ($_SERVER['REQUEST_URI'], 'post.php')) {
to:
if ( (isset($_GET['page']) && $_GET['page'] == 'sniplets.php') || strpos ($_SERVER['REQUEST_URI'], 'page.php') || strpos ($_SERVER['REQUEST_URI'], 'post.php') || strpos ($_SERVER['REQUEST_URI'], 'post-new.php')) {
That adds check for /wp-admin/post-new.php address and loads the required JS.
Plugin version: 1.4.4, 1.4.5.
Thanks,
Martin
All, just so you know, this plugins does work, but the admin terface has a few bugs, like editing, etc.
]]>