BP Group Documents
[resolved] Bugfix for broken icon link (2 posts)

  1. sanderbontje
    Posted 2 years ago #

    Thanks for picking up the work on this plugin!

    I have found a small error. After uploading an Illustrator file with the .eps extension, the icon for page_white_vector is inserted. But the link to the icon image misses its extension:

    <img class="bp-group-documents-icon" src="http://www.domain.com/wp-content/plugins/bp-group-documents/images/icons/page_white_vector" alt="" />
    should be
    <img class="bp-group-documents-icon" src="http://www.domain.com/wp-content/plugins/bp-group-documents/images/icons/page_white_vector.png" alt="" />

    It's in the file bp-group-documents/include/classes.php at line 533:
    'eps' => 'page_white_vector',
    change it to
    'eps' => 'page_white_vector.png',
    and while you're at it take a look at line 551 and change it to:
    'msp' => 'page_white_paintbrush.png',

    Best wishes,


  2. lenasterg
    Plugin Author

    Posted 2 years ago #

    @sanderbontje, thanks for reporting that bugfix.
    Will correct it in next release.
    Bests Lena.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • BP Group Documents
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic