WordPress.org

Ready to get started?Download WordPress

Forums

EG-Attachments
[resolved] not work (10 posts)

  1. fixed77
    Member
    Posted 3 years ago #

    after update to 1.8 old links not show title, filename and size. bun in settings parameters is checked. show only image as link.

  2. EmmanuelG
    Member
    Plugin Author

    Posted 3 years ago #

    Hi,

    Could you describe more your issue? is it with automatic shortcode?
    If no, could you give me all shortcode parameters?
    Do you use the custom format?

  3. fixed77
    Member
    Posted 3 years ago #

    no automatic. shortcode inserted by post editor (tinymce button).
    shortcode: [attachments label=doctitle docid=2017 fields=none title="Attached files:" titletag="h3" force_saveas="1" logged_users="0"]
    List format: Large

    ver 1.7.4
    now shows: image as link, description, filename, size

    ver 1.8
    show only image as link

  4. EmmanuelG
    Member
    Plugin Author

    Posted 3 years ago #

    The issue is coming from fields=none.
    I will publish a bug fix by today

  5. fixed77
    Member
    Posted 3 years ago #

    thanks

  6. fixed77
    Member
    Posted 3 years ago #

    thanks. attachments show normally with little bug. filename show without extension.

  7. fixed77
    Member
    Posted 3 years ago #

    fix it yourself
    eg-attachments-public.inc.php:348
    'filename' => basename(get_attached_file($attachment->ID)),

  8. EmmanuelG
    Member
    Plugin Author

    Posted 2 years ago #

    Version 1.8.2 published. Problem solved.

  9. fixed77
    Member
    Posted 2 years ago #

    also another question:
    split() function has been DEPRECATED as of PHP 5.3.0. Relying on this feature is highly discouraged.
    may change split() to explode() or preg_split().
    thanks

  10. EmmanuelG
    Member
    Plugin Author

    Posted 2 years ago #

    You are right. Thanks for the information.
    Coming version will run without split function.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic