WordPress.org

Support

Support » Plugins and Hacks » EG-Attachments » [Resolved] not work

[Resolved] not work

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author emmanuelg

    @emmanuelg

    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?

    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

    Plugin Author emmanuelg

    @emmanuelg

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

    thanks

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

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

    Plugin Author emmanuelg

    @emmanuelg

    Version 1.8.2 published. Problem solved.

    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

    Plugin Author emmanuelg

    @emmanuelg

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Resolved] not work’ is closed to new replies.
Skip to toolbar