MyBB-Plugins Forums
MyDownloads 1.4 - Printable Version

+- MyBB-Plugins Forums (
+-- Forum: Archived Forums (
+--- Forum: MyBB 1.4.x (
+---- Forum: Paid Plugins (
+---- Thread: MyDownloads 1.4 (/Thread-MyDownloads-1-4)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37

MyDownloads 1.4 - Diogo Parrinha - 06-27-2009

Although everybody can see this section and its threads and posts, only gold subscribers can download attachments. Click here to subscribe.

MyDownloads is a powerful downloads manager for MyBB.

Main Features:
  • Administrators can create/edit/delete categories/downloads and manage new download submissions.
  • Supports PayPal - Your PayPal account must have IPN activated.
  • Each category has its own permissions (visible to certain user groups and only certain user groups can submit downloads in that category)
  • There's no limit for sub categories - it works the same way MyBB does I think.
  • Users can rate and comment downloads.
  • Ratings/Downloads/Comments are logged and administrators can view that log from the Admin panel.
  • Has compatibility with NewPoints - there's a setting you can turn on (make sure you have NewPoints installed) to bridge NP and MyDownloads. Users/Admins can then set a cost for each download and users must pay to download files (cost can be 0). The money paid by the users is given to the author of the download.
  • Each download can have a preview.
  • Twenty seven settings at your disposal - you can customize nearly everything.
and much much more..



(Viewing download)

(Categories and Downloads - Admin CP)

(Submitting download)

(View new submissions)


I couldn't take screenshots of everything because I'd spent around 10 minutes (or more) doing it and I must hurry up with another plugin.

Take a look at the readme before installing.

Upgrading from beta to RC1: run the file upgrade.php, re-upload files and clear your cache
Upgrading from RC1 to RC2: run the file upgrade_rc1_rc2.php and re-upload files
Upgrading from RC2 to RC3: re-upload files
Upgrading from RC3 to RC4: run the file upgrade_rc3_rc4.php and re-upload files
Upgrading from RC4 to RC5: run the file upgrade_rc4_rc5.php and re-upload files
Upgrading from RC5 to RC6: run the file upgrade_rc5_rc6.php and re-upload files
Upgrading from RC6 to 1.0: re-upload all files.
Upgrading from 1.0 to 1.1: re-upload all files.
Upgrading from 1.1 to 1.2: re-upload all files.
Upgrading from 1.2 to 1.3: re-upload all files.
Upgrading from 1.3 to 1.4: run the upgrade file upgrade_13_14.php and re-upload all files.

(upgrade scripts must be run from your MyBB's installation root)

1.3 -> 1.4
  • Fixed a problem in the PayPal IPN, it seems PayPal has done some changes to the IPN system. It now uses cURL so make sure your host has it installed.
  • Changes MyPlaza Support to NewPoints.

1.2 -> 1.3
  • Fixed a very important bug in the PayPal feature.

1.1 -> 1.2
  • Fixed a bug that would display the same author name for each download.

1.0 -> 1.1
  • Fixed a bug that would not delete sub categories

RC6 -> 1.0 Stable
  • Fixed a few minor issues.

RC5 -> RC6
  • Fixed a few minor issues.
  • Recoded the display download template.

RC4 -> RC5
  • Added PayPal support so users can buy downloads with real money.
  • Fixed some minor issues.
  • Fixed a bug that would round MyPlaza Turbo points when editing a download.

RC3 -> RC4
  • Added a new setting called "Limit of characters in file names", whose description is: "When someone downloads a file, the name of the file will not be longer than the number of characters you insert here. Extensions do not count. (Leave 0 to use a generated file name using the user id and an md5 hash - no limit of characters)"
  • So when the limit of characters is greater than 0, it will remove some characters (\/:*?"<>|) from the download name (not the download file name but the download name!) and just use the number of characters set in settings.

RC2 -> RC3
  • Fixed a bug (introduced in RC2) that would pormpt the users to download mydownloads.php instead of the download file. This happened only with non-image files.
  • Increased security: a new name of the downloaded file is generated before the user is prompted to download it. This prevents the user from knowing the name of the file hosted in your server.

RC1 -> RC2
  • New setting: Auto approve downloads submitted by certain usergroups
  • New setting: Percentage of the cost the download author gets
  • Fixed a few minor bugs and a security risk (same as MyBB from 1.4.7 to 1.4.8 in attachments.php)
  • Replaced _blank with _self like Seeker requested

Thank you Smile

I've re-written the readme so take a look at it please if you want to know how you can use the PayPal feature.

RE: MyDownloads RC 1 - kaixer - 06-28-2009

Fatal error: Cannot redeclare mydownloads_info() (previously declared in /home/rentaksi/public_html/ in /home/rentaksi/public_html/ on line 221

Error after enable plugin/upgrade! how to fix this? I don't want to make all my files missing after upgrade.

RE: MyDownloads RC 1 - Diogo Parrinha - 06-28-2009

Looks like you MyDownloads module activated. This is a completely different thing! MyDownloads module has been abandoned. There's no way to upgrade from the module version to the plugin version

RE: MyDownloads RC 1 - kaixer - 06-28-2009

so, I need to upload all my files to New MyDownloads?

this new mydownload still use point to download? (for user)

RE: MyDownloads RC 1 - Diogo Parrinha - 06-28-2009

this MyDownloads is more powerful, faster, more secure and doesn't require MyPlaza Turbo. Yes you'll need to add all files again

RE: MyDownloads RC 1 - Seeker - 06-28-2009

Hi Pirata,
Thank you, for being a good programmer who uses lot's of comments Smile
((I found the spot I was looking for..))

        $db->update_query('users', array(MYPLAZA_MONEY_COLUMN => $submitter_money+floatval($dl['cost'])), 'uid=\''.intval($dl['submitter_uid']).'\'');

You might not be surprised that I'm looking to pay the submitter 80% instead of 100% :yay:

Will this work?
        $db->update_query('users', array(MYPLAZA_MONEY_COLUMN => $submitter_money+floatval($dl['cost'] *.8)), 'uid=\''.intval($dl['submitter_uid']).'\'');

Does it look like I put the "*.8" in the exact right spot?
Correct format??

I'll gladly test it, but I want to avoid spend 5 hours trying to fix it.
Thank you very much.

RE: MyDownloads RC 1 - Diogo Parrinha - 06-28-2009

PHP Code:
$db->update_query('users', array(MYPLAZA_MONEY_COLUMN => $submitter_money+floatval($dl['cost'])*0.8), 'uid=\''.intval($dl['submitter_uid']).'\''); 

I guess this ^ would work. I am not sure if it requires the 0 before the . so I added it. Try it

RE: MyDownloads RC 1 - Seeker - 06-29-2009

Great, I have to work outside today, but will test it soon, thank you. Smile

RE: MyDownloads RC 1 - Diogo Parrinha - 06-29-2009

Ok, I might add thet feature in the non-rc release

RE: MyDownloads RC 1 - DamYan - 06-29-2009

In ACP: logs should be sorted in descending order Smile