Hello. I am using this plugin and it is really awesome. However the plugin is unable to upload certain type of files with (.sql) extension. Can you pls help me how I can modify the php to include this type of extension as well. Your help is greatly appreciated. Thanks
]]>If we are adding files by the media route and they are contained within our wordpress install – then when we search for them using the default wordpress search engine why do they not come up?
]]>Undefined index: simplyattached_nonce in /home4/gandbimp/public_html/betaimporters/wp-content/plugins/simply-attached/simplyattached.php on line 374
I have fixed it by adding this code to that line
if ( !isset( $_POST['simplyattached_nonce'] ) || !wp_verify_nonce( $_POST['simplyattached_nonce'], plugin_basename(__FILE__) ))
If your happy with that can you change the code for the next update so it doesn’t overwrite?
Thanks
]]>great plugin, but a few simple icons for file types would help in the list view. I am sure in an earlier version it used to show something but I might be imagining that. I would also like to see a download/click count
]]>I enabled the Simply Attached plugin but cannot seem to get it to work with Custom Post Types created via Pods.
Does anybody know how to enable this plugin for custom post types?
]]>We are currently running the church theme’s antioch theme. One of the issues I noticed when using simply attached was that the normal media uploader box changes to the simplyattached version no matter what page you are uploading from. So when we want to upload a sermon, there is no longer a URL listed for the newly uploaded sermon or a button to insert the URL into the post box. Just a box that says “Attach”
One solution was to deactivate SimplyAttached whenever uploading a sermon, which breaks the other pages that use SimplyAttached to display attachments.
I made the following updates to get around this problem. It might be a helpful feature in the future to include (being able to select which media uploader you’d like to use). In the simplyattached.php plugin code, I updated the is_attachments_context() function to the following:
function is_attachments_context()
{
global $pagenow;
if (strpos($pagenow, ‘upload2’) === false)
{
// if post_id is set, it’s the editor upload…
if ( ( ‘media-upload.php’ == $pagenow || ‘async-upload.php’ == $pagenow ) && empty( $_REQUEST[‘post_id’] ) )
{
return true;
}
return false;
}
}
Then, on my FTP file manager for our wordpress site, I updated the post_types.php file in /htdocs/wp-content/themes/antioch/lib/functions to use the ‘media-upload2.php’ instead of media-upload.php. I found this change by doing a search in file contents for a unique string that goes with the upload button that I use to upload the sermons. I searched the contents of directory /htdocs/wp-content/themes/antioch (antioch is our active theme)
Lastly, using the FTP file manager, I made a copy of media-upload.php in /htdocs/wp-admin and named it media-upload2.php
I also needed to activate a different theme temporarily then reactivate antioch in order to get the updates in post_types.php to update.
Now when I upload a sermon, the normal options appear to upload a file, but the uploader for other posts on other pages uses the simplyattached filtered uploader. The ‘insert into post’ button still says ‘attach’, but it performs the function that ‘insert into post’ does.
]]>I’d like to set it so that when the user clicks on any file it is automatically downloaded. Currently, the browser is determining this (.jpg or .png files will open while things like .zip files will download on click). Any help is appreciated.
]]>Hello, great plugin and I wanted to suggest a couple of items:
-Ability to add thumbnail image of media. For standard documents use the standard logos for .pdf, word, excel, etc, etc
-Document repository view on the admin side with version tracking
]]>