Support » Plugins and Hacks » BP Group Documents » [Resolved] Bugfix for broken icon link

[Resolved] Bugfix for broken icon link

  • 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,


Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Bugfix for broken icon link’ is closed to new replies.
Skip to toolbar