WordPress.org

Ready to get started?Download WordPress

Plugin Directory

EG-Attachments

This plugin add a shortcode to display the list of attachments of a post, with icon and details. EG-Attachments is "TinyMCE integrated".

Version 2.0.2 - Apr 15th, 2014

  • Change: Compatibility with WordPress 3.9 (TinyMCE button),
  • Change: Little optimisation when getting file information,
  • Bug fix: Error message (in eg-attachments-admin.inc.php on line 1491),
  • Bug fix: Featured image was excluded, whatever options used,
  • Bug fix: The menu "cache" doesn't appear in the options page,
  • Bug fix: Some sort options didn't work properly,
  • Bug fix: Mistakes in the french translation,
  • Change: Optimize cache (avoid requests to DB for displaying the number of clicks),
  • Change: Internal librairies updates.

Version 2.0.1 - Dec 7th, 2013

  • New: ability to flush the cache (see option page),
  • New: When attachments are images, you can choose to display thumbnail of these images, rather than the icon of the file type,
  • Bug fix: issues when the path of the uploaded files contains space or specific characters (like accents),
  • Bug fix: %TARGET% tag not converted properly,
  • Bug fix: Clear cache when something is changed in the attachments list of a post, or when a post is saved/updated
  • Bug fix: Option page not displayed properly,
  • Bug fix: no counter displayed when number of clicks is 0,
  • Bug fix: Wrong keyword in template "Medium", and "small list"

Version 2.0.0 - Oct 28th, 2013

  • New: Can now manage several custom format (go to Tools / EGA Templates to edit templates),
  • New: New keywords for customizing format: %SHOWLOCK%, %COUNTER%, ... All are described in the menu Tools / EGA Templates,
  • New: Ability to display attachments by tags, independent of post ID,
  • New: New shortcode parameter: tags_and (by default the option tags is tags_or,
  • New: Can hide EG-Attachments button in text editor,
  • New: Include/Exclude by ID (include will replace the parameter docid),
  • New: can exclude automatically the featured attachment (thumbnail) from the list,
  • Change: Security features reviewed,
  • Change: Improve statistics performances (Database query optimisation),
  • Change: the date displayed is now the date of the last modification of the file (not the date of attachment upload),
  • Change: The pop-up warning for not registered users is suppressed,
  • Change: No more file size limitation,
  • Bug fix: Cannot use multiple shortcodes in a post

Version 1.9.4.5 - January 20th, 2013

  • Bug fix: Error during display of the TinyMCE popup window

Version 1.9.4.4 - January 19th, 2013

  • Bug fix: message during activation Warning: Creating default object from empty value in eg-plugin.inc.php on line 804

Version 1.9.4.3 - March 2nd, 2011

  • Bug fix: option where for the auto shortcode didn't work properly,
  • Bug fix: conflict with custom post type
  • Change: updated translations for Czech, and Italian languages,
  • Change: internal librairies updates.

Version 1.9.4.3 - March 2nd, 2011

  • Bug fix: option where for the auto shortcode didn't work properly,
  • Bug fix: conflict with custom post type
  • Change: updated translations for Czech, and Italian languages,
  • Change: internal librairies updates.

Version 1.9.4.2 - Feb 9th, 2011

  • Bug fix: option Target=_blank, and shortcode parameter target, didn't work
  • Bug fix: parameter nofollow in shortcode didn't work properly

Version 1.9.4.1 - Feb 8th, 2011

  • New: Czech translation,
  • Change: Updated italian translation,
  • Bug fix: Tags without posts weren't displayed
  • Bug fix: Target=_blank option didn't work
  • Bug fix: Options not updated during the automatic upgrade procedure (since WP 3.1, see Function Reference/register activation hook )

Version 1.9.4 - Feb 2nd, 2011

  • Bug fix: EG-Attachments button in the TinyMCE editor doesn't work,
  • Bug fix: some conflicts with plugins using filters in the get_posts function,
  • Bug fix: order_by=menu_order didn't work properly,
  • New: manage "custom post type",
  • New: ability to add target=blank attribute to the links,
  • New: ability to add a path to store your own icons,
  • New: Select attachments with tags in the widget,
  • Change: internal librairies updates

Version 1.9.3 - Jan 24th, 2011

  • Bug fix: broken link to lock.png image,
  • New: translation to Polish (thanks to Mariusz Szatkowski),
  • New: translation to Arabic (thanks to Mahmoud Ahmed),
  • New: Ability to open or close comments for attachments,
  • New: Ability to associate attachments with tags, and select attachments according tags,
  • New: Add an optional menu in the admin menu bar,
  • New: ability to choose the size of the icon with custom format,
  • New: add "menu_order" as sort key for auto-shortcode,
  • Change: documentation updated
  • Change: internal librairies updates because of bug fix, and recommendations about enqueuing styles and scripts (for WP 3.3)

Version 1.9.2 - Nov 1st, 2011

  • Bug fix: settings was not saved properly

Version 1.9.1 - Oct 27th, 2011

  • Bug fix: error message from the file eg-attachments-settings.inc.php
  • Change: internal librairies

Version 1.9.0 - Oct 25th, 2011

  • New: choose type of link for attachments (permalink, file, or direct),
  • New: translation in German (Thanks to DesignContext )
  • New: attachments has the same security level than post to which they are attached:
    • if the post is private, attachments are considered as private, and cannot be read or download if user is not logged
    • if the post is passwordd protected, attachments can be accessed only if the users provide the right password.
  • Bug fix: HTML validation error,
  • Bug fix: Bad statistics values,
  • Bug fix: Statistics: Bad alignments for month (data for September were displayed in the column October)
  • Bug fix: Bad HTML syntax, when titletag is set to empty string,
  • Bug fix: Error when custom is selected, and no attachment are to be displayed,
  • Bug fix: date format option didn't applied,
  • Bug fix: cannot display field ID,
  • Bug fix: sort issue for ID ASC, or ID DESC,
  • Bug fix: docid=first and docid=last didn't work,
  • Bug fix: widget didn't display the right attachments,
  • Bug fix: option logged_users_only didn't work in widget,
  • Bug fix: fatal error during upgrade,
  • Change: encode url to prevent error with file name containing some specific characters
  • Change: New options page,
    • Use boxes that can be collapsed, opened, moved, ...
    • Group some sections and move fields to General behavior of shortcodes,
  • Change: reduce the size of stylesheets,
  • Change: align widgets options, with the shortcode parameters,
  • Change: updated documentation (this file), and screenshots,
  • Change: update plugin library,

Version 1.8.6 - Aug 27th, 2011

  • Bug fix: force download option doesn't work when the PHP fopen wrappers option is disabled
  • New: add %DATE% keyword is available now for the custom format.

Version 1.8.5 - Aug 10th, 2011

  • Bug fix: zip files were corrupted after download (with Internet explorer, and zlib, or gzip enable on server).
  • Bug fix: sort order didn't work when not specify in uppercase,
  • Bug fix: cannot sort by ID.
  • Bug fix: uninstallation didn't run properly
  • Bug fix: exclusion list for statistic didn't work properly
  • Change: replace some PHP depredicated functions

Version 1.8.4 - July 30th, 2011

  • New: add ability to display TYPE in custom format
  • Bug fix: now, by default, label of fields are not displayed when size is small (same behavior than version 1.7.4)
  • New: for small size, you can choose to display labels or not (default not).

Version 1.8.3 - July 19th, 2011

  • Bug fix: Remove some debug information. Sorry

Version 1.8.2 - July 18th, 2011

  • New: parameter limit can be modified with the button
  • Bug fix: SSL compatibility,
  • Bug fix: parameter limit doesn't work properly with auto-shortcode,
  • Bug fix: bad url when use standard URL (http://host/path/?p= ...)
  • Change: file extension appears now in the file name
  • Change: updated POT file
  • Change: updated french and italian translations
  • Change: internal libraries.

Version 1.8.1 - July 12th, 2011

  • Bug fix: no field displayed when fields=none. Now, default fields are displayed

Version 1.8.0 - July 11th, 2011

In this version, I rewrote the module displaying shortcode content. Three targets:

  • Simplify the code,
  • Clarify fields display (options are more consistent now)
  • Remove bugs.

List of changes and bug fixes:

  • Bug fix: logged_users didn't work with size=medium,
  • Bug fix: link didn't work when title was set to doctitle,
  • Bug fix: PHP parse error with PHP version lower than 5.1.2,
  • Bug fix: title was displayed, even if the list is empty,
  • New: parameter limit for shortcode. Limit is the number of attachments to display. Default: -1, all documents,
  • New: fields parameter accepts now: Document label, Title, Caption, Description, File name, Size, Small size, Date, Type,
  • New: orderby parameter accepts now: Title, Caption, Description, File name, Size, Date, Type,
  • New: automatic shortcode won't be displayed if a manual shortcode exists in the post,
  • New: Choose if you want to add the 'nofollow' attribute or not,
  • Change: run with WordPress up to 3.2,
  • Change: internal libraries.

Version 1.7.4 - Sept 27th, 2010

  • New: Possibility to display a metabox under the post editor, to list attachments of the post being edited,
  • Bug fix: links of attachments are encoded (XHTML compliant),

Version 1.7.3.1 - Sept 19th, 2010

  • New: Optional load of the stylesheet,
  • New: the option size=custom, is working properly now, for both automatic and manual shortcode. Default values are common.
  • Bug fix: shortcode option order_by didn't work properly,
  • Bug fix: unexpected comma in the list of field when shortcode is build with the TinyMCE EG-attachment button,
  • Bug fix: stats didn't work,
  • Bug fix: some errors in french translation,
  • Bug fix: fields choice, suppress description from medium size,
  • Bug fix: error in the widget, when fields caption and description was checked together,
  • Bug fix: in some cases, file size was not displayed,
  • Bug fix: links of attachments are encoded (XHTML compliant),
  • Bug fix: %FILE_SIZE% parameter didn't work in custom format
  • Change: internal libraries.

Version 1.7.2 - July 28th, 2010

  • New: Two new translations Spanish and Dutch.

Version 1.7.1 - June 07th, 2010

  • Bug fix: Some errors in the readme.txt file,
  • Bug fix: Attachments was displayed in the widget, evenif post was password restricted,
  • Bug fix: widget didn't displayed in a page (only post).

Version 1.7.0 - May 20nd, 2010

  • Bug fix: some errors in french translation
  • Bug fix: statistics menu doesn't appear
  • Change: Some generated HTML code was not valid (thanks to Roberto Scano )
  • New: the parameter id allows to specify the id of the post we want to display attachments.
  • New: widgets displaying attachments of the current post
  • New: Italian translation (thanks to Luca Maida)
  • New: Swedish translation (thanks to Jonas Floden)

Version 1.6.0 - Jan 26th, 2010

  • Bugfix: Fatal error during first activation
  • New: ability to choose the location of the auto-shortcode (at the beginning of the post, between the excerpt and the content, or at the end of the post)
  • New: Custom style. Build your own style to list attachments (thanks to Dave )

Version 1.5.2 - Dec 20th, 2009

  • Bugfix: some features was desactivated in the 1.5.1 version;
  • Change: internal libraries

Version 1.5.1 - Dec 20th, 2009

  • Bugfix: in the "edit posts" page, all fields was empty when using EG-Attachments.

Version 1.5.0 - Sept 21st, 2009

  • New: click-tracker,
  • New: translation in Belarusian (thanks to Fatcow),
  • Bugfix: try to fix bug that occurs when file names contain non alphabetical characters,
  • Change: Internal library update.

Version 1.4.3 - Sept 14, 2009

  • Bugfix: Manage boolean values (true/false), in the same manner than 0/1.
  • Change: options change, and internal libraries change.

Version 1.4.2 - Sept 1, 2009

  • New: auto-shortcode options can be used as default values for the TinyMCE button,

Version 1.4.1 - Aug 24th, 2009

  • New: Add parameters to the shortcode window in TinyMCE editor
  • Bugfix: auto-shortcode behavior with logged_users parameter
  • Change: Internal library update.

Version 1.4.0 - Aug 14th, 2009

  • Bugfix: Force Saveas option doesn't work,
  • New: ability to restrict attachments to logged users,
  • Change: Improve SaveAs feature,
  • Change: Internal library update.

Version 1.3.1 - July 18th, 2009

  • Bugfix: Auto-shortcode displays attachments evenif post is password protected
  • Bugfix: in readme.txt, default value of logged_users option.
  • Change: Changes on internal libraries

Version 1.3.0 - June 22th, 2009

  • Bugfix: All users can use the EG-Attachments button in the TinyMCE editor.

Version 1.2.9 - June 20th, 2009

  • Bugfix: French translation
  • New: Delete options during uninstallation
  • New: Support of hidepost plugin
  • Change: Changes on internal libraries

Version 1.2.8 - May 16th, 2009

  • New: Option to display icons or not
  • Change: Internal change of libraries

Version 1.2.7 - Mar 30th, 2009

  • Bugfix: Requirements warning message with WordPress Mu
  • Change: Attachments lists are enclosed in HTML div tag

Version 1.2.6 - Mar 26th, 2009

  • Bugfix: Attachments displayed several times when medium size is choosen.

Version 1.2.5 - Mar 19th, 2009

  • Bugfix: Error when neither "caption" nor "description" are displayed

Version 1.2.4 - Mar 17th, 2009

  • Bugfix: Don't display title when list of attachments is empty (auto shortcode function)
  • Bugfix: Error when displaying options page
  • Bugfix: Translation to french not complete
  • New: Field choice (caption and/or caption)
  • Change: Update internal library

Version 1.2.3 - Mar 5th, 2009

  • Bugfix: Mistake during SVN transfer from my PC to the wordpress repository

Version 1.2.2 - Mar 5th, 2009

  • Bugfix: Bad behavior with doctype

Version 1.2.1 - Mar 4th, 2009

  • Bugfix: Sort key and sort order didn't work properly,
  • New: Sort key and sort order for the automatic shortcode

Version 1.2.0 - Mar 2nd, 2009

  • Bugfix: Translation of TB, MB, kB, B in french,
  • New: Add automatically the list of attachments in the post content (optional),
  • New: Force the "Save-as" dialog box (optional and experimental)

Version 1.1.4 - Feb 21th, 2009

  • Bugfix: Plugin didn't work properly with PHP 4

Version 1.1.3 - Feb 16th, 2009

  • Bugfix: In some cases, the icon didn't appear in the TinyMCE button bar

Version 1.1.2 - Feb 13th, 2009 (not published)

  • Bugfix: Enable cache management again

Version 1.1.1 - Feb 11th, 2009

  • Bugfix: Disable temporarily the management of the cache

Version 1.1.0 - Feb 9th, 2009

  • Bugfix: Sanitize title
  • Bugfix: Improve some translations (french)
  • New: Add option (label) to choose file label (filename or document title)
  • Change: Update internal library

Version 1.0.1 - Feb 2nd, 2009

  • Change: Just update readme.txt file (author and plugin URL)

Version 1.0 - Feb 2nd, 2009

  • New: First release

Requires: 3.5.0 or higher
Compatible up to: 3.9.0
Last Updated: 2014-4-15
Downloads: 41,391

Ratings

4 stars
4.7 out of 5 stars

Support

0 of 2 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1
100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
0,1,0 100,2,2 100,1,1 100,1,1
50,2,1 100,1,1
100,4,4 100,1,1 100,1,1 100,1,1
100,1,1 67,3,2 100,1,1 100,1,1
100,1,1 100,4,4
0,1,0
100,2,2 100,1,1
100,1,1
100,1,1
100,1,1 100,1,1
100,1,1
100,1,1 50,2,1 100,1,1
100,2,2 50,2,1 100,2,2 100,1,1 100,1,1 100,3,3 100,1,1 50,2,1 75,4,3
100,3,3 100,1,1 100,1,1 100,1,1
50,2,1 100,2,2 100,3,3 75,4,3 67,3,2 100,2,2
100,1,1
100,1,1
100,1,1
100,3,3 100,1,1
100,1,1 100,1,1 100,1,1
100,2,2
100,1,1
100,1,1
50,6,3 50,2,1 100,1,1
100,1,1 100,1,1
100,2,2
100,1,1
100,1,1
100,1,1