Plugin Directory

Changeset 728448


Ignore:
Timestamp:
06/19/2013 04:55:31 PM (13 years ago)
Author:
atvdev
Message:

General plugin rewrite

Location:
amazon-s3-uploads/trunk
Files:
1805 added
6 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • amazon-s3-uploads/trunk/asssu.php

    r496903 r728448  
    66Author URI: https://profiles.google.com/117859515361389646005
    77Description: Moves your uploads to Amazon S3 via cron jobs.
    8 Version: 1.09
     8Version: 1.9.1
    99*/
    1010
    11 require_once dirname(__FILE__).'/asssu-models.php';
    12 $asssu = new AsssuPlugin();
     11require_once __DIR__.'/plugin/asssu/__init.php';
     12$asssu = new \asssu\Asssu();
     13
     14register_activation_hook(__FILE__, 'activation_hook');
     15function activation_hook() {
     16   
     17}
     18
     19register_deactivation_hook(__FILE__, 'deactivation_hook');
     20function deactivation_hook() {
     21    global $asssu;
     22    $asssu->deactivation_hook();
     23}
  • amazon-s3-uploads/trunk/readme.txt

    r496903 r728448  
    33Contributors: atvdev
    44Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7T88Q3EHGD9RS
    5 Requires at least: 2.3
    6 Tested up to: 3.3
    7 Stable tag: 1.09
     5Requires at least: 3.5.1
     6Tested up to: 3.5.1
     7Stable tag: 1.9.1
     8License: GPLv2.1
    89
    910Moves your uploads to Amazon S3 via cron jobs.
     
    1314Amazon S3 Uploads does exactly what you ask, it moves all your uploads to Amazon S3, deletes the uploaded files from your server and everytime that a file is requested, it automaticaly redirects to the file that is on Amazon S3.
    1415
    15 Be aware that files from your server are uploaded to the Amazon S3 via cron job and not immediately. So you will have to wait some minutes (around 10) to see results.
     16Be aware that files from your server are uploaded to the Amazon S3 via cron job and not immediately. So you will have to wait some minutes (half hour) to see results.
    1617
    1718Cheers!
     
    21223. Activate the plugin
    22234. Goto 'Amazon S3 Uploads' page under plugins and set up your Amazon S3 credentials
    23 5. This plugin will not create any S3 buckets. You have to create the bucket with public read access and use the same
    24 6. The plugin will not work until all the configs are completed
     245. The plugin will not work until all the configs are completed
    2525
    2626== Frequently Asked Questions ==
     
    4545
    4646= How can I setup advanced configuration for MultiSite? =
    47 When you are finished with your MultiSite configuration, add the following code
    48 require_once(ABSPATH . 'wp-content/plugins/amazon-s3-uploads/asssu-multisite-config.php');
    49 to wp-config.php right before the line
    50 /* That's all, stop editing! Happy blogging. */
    51 
    52 = To use or not to use SSL for S3 transfers? =
    53 Actually, I don't think this function is needed in a simple blog. But if you blog's web functions are wider than just providing text to readers (travel blogs that sell tickets, books or any kind of web selling), then it might be useful to you.
    54 
    55 To tell you the truth I don't like SSL certificates :) but would be glad to investigate this topic if this function is needed to someone.
     47Sorry, but you can not. Maybe in a future release.
    5648
    5749== Changelog ==
     50
     51= 1.9.1 =
     52* General plugin rewrite
    5853
    5954= 1.09 =
     
    8580== Upgrade Notice ==
    8681
     82= 1.9.1 =
     83General plugin rewrite
     84
    8785= 1.09 =
    8886Oh, some goodies packed in this one.
     
    104102
    105103== Screenshots ==
    106 No screenshots available
     104* No screenshots available yet.
     105
     106== Terms of use ==
     107* The developer of this plugin is not held responsible for any file loss or and damage due to this plugin.
     108* It may so happen that this plugin may be discontinued at any point. The developer of the plugin will not be held responsible for that.
Note: See TracChangeset for help on using the changeset viewer.