MyBB-Plugins Forums
MyDownloads 1.4 - Printable Version

+- MyBB-Plugins Forums (http://forums.mybb-plugins.com)
+-- Forum: Archived Forums (http://forums.mybb-plugins.com/Forum-Archived-Forums)
+--- Forum: MyBB 1.4.x (http://forums.mybb-plugins.com/Forum-MyBB-1-4-x)
+---- Forum: Paid Plugins (http://forums.mybb-plugins.com/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


RE: MyDownloads 1.3 - Diogo Parrinha - 12-18-2009

Okay, I found the problem. Do you have the board closed for guests or something similar? I've tested it myself and there's a problem with that.
In mydownloads_paypal.php find:
PHP Code:
require_once "./global.php"

Replace with:
PHP Code:
require_once "./inc/init.php"



RE: MyDownloads 1.3 - Scoutie44 - 12-18-2009

Damn.. I would've never thought of that. Yes, the board is closed atm. I've just tested it and it appears to be working.

Now, when I open the site to the public, should I change that back to global.php instead of inc/init.php?

Thanks a bunch! Big Grin


RE: MyDownloads 1.3 - Diogo Parrinha - 12-18-2009

Will still work, in 1.4, it will require init.php and no longer global.php to avoid problems like these


RE: MyDownloads 1.3 - Scoutie44 - 12-18-2009

Oh okay, sounds great.
Thanks again!


RE: MyDownloads 1.3 - Diogo Parrinha - 12-18-2009

You're welcome Smile


RE: MyDownloads 1.3 - Seeker - 12-19-2009

Glad I found this, just changed it now.


RE: MyDownloads 1.3 - Infranight - 01-03-2010

Thanks, this is amazing!
However, is it possible to also set who is able to directly download the file without paying through the category settings as well?


RE: MyDownloads 1.3 - Diogo Parrinha - 01-03-2010

Nope, there's no way to do that and might be kinda complicated due to the multiple checks that are done throughout the code.


RE: MyDownloads 1.3 - Glas - 01-04-2010

I am just curious ¿estimated, when will be the mydownloads newpoints compatibilty done?


RE: MyDownloads 1.3 - Infranight - 01-04-2010

Oh, sorry, by who, I meant usergroups.