WordPress.org

Ready to get started?Download WordPress

Forums

WP-Filebase Download Manager
[feasure suggestion (php code)] (1 post)

  1. igrp
    Member
    Posted 1 year ago #

    Hi Fabi!

    Great plugin, thanks a lot.
    Could you please add the following code into pluging - I need this formatting code in the templates to mark files that are not accessible by the user:

    /wp-content/plugins/wp-filebase/classes/File.php

    public function get_tpl_var($name)
        {
    		switch($name) {
    ...
    			case 'file_accessible': return ($this->CurUserCanAccess() ? 1 : 0);
    ...

    Thanks!

    http://wordpress.org/extend/plugins/wp-filebase/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic