Support » Plugin: Front File Manager » [Plugin: Front File Manager] adding bbcode ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • I forgot, what about adding even a “delete” button available for administrator and/or other users ?

    Well,I’ve solved my self in this way:

    • Open the file /wp-content/plugin/front-file-manager/includes.php
    • Find <td style="vertical-align:middle"><a href="'.wp_get_attachment_url($post->ID).'">'.__('Download', 'frontfilemanager').'</a></td>
    • in a new line UNDER that one finded, copy this:
      <td style="vertical-align:middle"><textarea readonly="yes" style="width:300px;">[img]'.wp_get_attachment_url($post->ID).'[/img]</textarea></td>
    • Then, find <th>'.__( 'Link', 'frontfilemanager' ).'</th>
    • Under this line, add a new line as this:
      <th>'.__( 'BBCODE (valid only for images)', 'frontfilemanager' ).'</th>

    You’ve done :))

    This is BBCode only for images, I’m finding a solution to put the BBCode also for videos with autodetecting file extensions 🙂

    If I’ve some news, I’ll write it here 🙂

    Well’,Ive added also the distinction between images and video:

    If a file is video, it shows embed, if is image, it show img bbcode 🙂

    if U need it, I’ll send you my modified include.php 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Front File Manager] adding bbcode ?’ is closed to new replies.