Plugin Directory

Changeset 1502337


Ignore:
Timestamp:
09/25/2016 08:37:07 PM (10 years ago)
Author:
Den Media
Message:

2.1.0.2

Location:
hiweb-plugins-server
Files:
8 added
9 edited

Legend:

Unmodified
Added
Removed
  • hiweb-plugins-server/trunk/hiweb-plugins-server.php

    r1497456 r1502337  
    44    Plugin URI: http://hiweb.moscow/plugins-server
    55    Description: Create your own plug-ins server. Создай свой собственный сервер плагинов.
    6     Version: 2.1.0.0
     6    Version: 2.1.0.2
    77    Author: Den Media
    88    Author URI: http://hiweb.moscow
  • hiweb-plugins-server/trunk/inc/class-hooks.php

    r1497455 r1502337  
    112112       
    113113        public function plugin_action_links( $links, $plugin ){
    114             if( $plugin != 'hiweb-plugins-server/hiweb-plugins-server.php' ){
    115                 $links[] = '<a href=""><i class="dashicons dashicons-upload"></i> Upload To Server</a>';
     114            if(hiweb_plugins_server()->remote()->status() == true){
     115                if( $plugin != 'hiweb-plugins-server/hiweb-plugins-server.php' ){
     116                    //$links[] = '<a href=""><i class="dashicons dashicons-upload"></i> Upload To Server</a>';
     117                }
    116118            }
    117119            return $links;
  • hiweb-plugins-server/trunk/inc/class-local.php

    r1497455 r1502337  
    9898         */
    9999        public function data_update(){
    100             $pluginData = get_plugin_data( $this->path() );
    101             $keys = call_user_func( 'get_object_vars', $this );
    102             if( is_array( $pluginData ) ){
    103                 foreach( $pluginData as $key => $value ){
    104                     if( array_key_exists( $key, $keys ) ){
    105                         $this->{$key} = $value;
     100            if( $this->is_exists() ){
     101                $pluginData = get_plugin_data( $this->path() );
     102                $keys = call_user_func( 'get_object_vars', $this );
     103                if( is_array( $pluginData ) ){
     104                    foreach( $pluginData as $key => $value ){
     105                        if( array_key_exists( $key, $keys ) ){
     106                            $this->{$key} = $value;
     107                        }
    106108                    }
    107109                }
  • hiweb-plugins-server/trunk/readme.txt

    r1497455 r1502337  
    1 === hiWeb Plugins / Scripts Server ===
     1=== hiWeb Plugins Server ===
    22Contributors: Den Media
    33Donate link:
     
    2020
    2121
     22= Setting up the client sites for download plugins from you'r own server =
     23
     24 -. Go to "Settings → hiWeb Plugins Server"
     25 -. Enter the address of a site on WordPress, where you installed the plugin "hiWeb Plugins Server", working in the "server" mod.
     26 -. Click on the "Update" button.
     27 -. If the server is running and you are connected to it, the left will see a message about the status of the connection.
     28 -. After a successful connection, you can go to the list of remote plugins, where you can download them on the current site. Go to "Plugins → hiWeb Remote plugins"
     29
     30
    2231= Create a archive server =
    2332
    24  Coming Soon...
    25 
    26 
    27 = Setting up the client sites =
    28 
    29  Coming Soon...
     33 -. To start the server, go to "Settings → hiWeb Plugins Server" and click on the button "Start Local Server".
     34 -. After starting the server, go to "Plugins Server" in the admin panel. Here you can place on your server with the required plug-ins to client sites.
     35 -. Done! Now all the site with WordPress plugin "hiWeb Plugins Server" in "client" mode, connected to the server will be able to download featured plugins.
    3036
    3137
     
    4349== Screenshots ==
    4450
    45 1. Scheme of organization
     511. Client Site settings
     522. Client site plugins list for download to current site and activate them
     533. Start server
     544. Server plugins list for host them
    4655
    4756== Changelog ==
  • hiweb-plugins-server/trunk/templates/options-page.php

    r1497455 r1502337  
    3737        </tr>
    3838       
    39         <tr>
     39        <!--<tr>
    4040            <th scope="row">
    4141                Kickback. Allow to take remote plugins : <code><?php echo hiweb_plugins_server()->host()->kickback_status() ? 'ENABLE' : 'DISABLE' ?></code>
     
    5757                <?php endif; ?>
    5858            </td>
    59         </tr>
     59        </tr>-->
    6060       
    6161        </tbody>
Note: See TracChangeset for help on using the changeset viewer.