Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 201
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 178
Total: 178

Author Topic: Downloads Pro with SMF 2.0Rc4  (Read 15036 times)

0 Members and 1 Guest are viewing this topic.

Offline Paddleducks Forum - Damien

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Downloads Pro with SMF 2.0Rc4
« on: November 25, 2010, 02:51:07 am »
Just upgraded everything to the latest versions, and now every file area I have is displayed twice - Even though they are only listed once in the database....

I also use membergroups to limit access - those with less than 3 posts are "newbie" and they should only be able to view files, NOT download - That worked fine with my previous version of Downloads Pro, but with 2.0 they can now download, which shouldn't be allowed!

www.paddleducks.co.uk

Any help would be appreciated...

Regards
Eddy

Offline Paddleducks Forum - Damien

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Re: Downloads Pro with SMF 2.0Rc4
« Reply #1 on: November 25, 2010, 02:55:31 am »
I've just noticed that the file areas are only being displayed twice for Admins - If I login as a normal user they are only displayed once....

The bug which is allowing people to download is still there however :(

Regards
Eddy

Offline Hally_89

  • Member
  • *
  • Posts: 2
    • View Profile
Re: Downloads Pro with SMF 2.0Rc4
« Reply #2 on: November 25, 2010, 07:55:49 am »
Hi i bought the downloads pro system back in july but only registered now to get the updated version. Do i need to make 3 posts before i can download the latest version? If not can you please tell me where to get it. I have added my license key under the licence tab in the menu. Thanks

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Downloads Pro with SMF 2.0Rc4
« Reply #3 on: November 25, 2010, 09:47:32 am »
Hi i bought the downloads pro system back in july but only registered now to get the updated version. Do i need to make 3 posts before i can download the latest version? If not can you please tell me where to get it. I have added my license key under the licence tab in the menu. Thanks
You can download it at
http://www.smfhacks.com/index.php/topic,3489.0.html
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Hally_89

  • Member
  • *
  • Posts: 2
    • View Profile
Re: Downloads Pro with SMF 2.0Rc4
« Reply #4 on: November 25, 2010, 09:50:05 am »
Thank you i overlooked that topic somehow

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Downloads Pro with SMF 2.0Rc4
« Reply #5 on: November 25, 2010, 11:03:54 am »
Eddy try this file for duplicate categories/files attached

Category level permisions work like this
First checks additional membergroups that a user will have. If any of those return true the permission is allowed.
Then checks the main primary group. If any of those return true the permission is allowed.
Last it checks Post Group if that returns true then it is allowed.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Paddleducks Forum - Damien

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Re: Downloads Pro with SMF 2.0Rc4
« Reply #6 on: November 25, 2010, 11:16:12 am »
Thanks SMF - The upgraded file sorted the duplicate categories perfectly.....

I'll double check all the permissions to make sure I don't have anything setup wrongly, and let you know how that goes...

Regards
Eddy

Offline Paddleducks Forum - Damien

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Re: Downloads Pro with SMF 2.0Rc4
« Reply #7 on: November 26, 2010, 04:13:05 pm »
Eddy try this file for duplicate categories/files attached

Category level permisions work like this
First checks additional membergroups that a user will have. If any of those return true the permission is allowed.
Then checks the main primary group. If any of those return true the permission is allowed.
Last it checks Post Group if that returns true then it is allowed.

Hmmm...

I don't use additional membergroups, so that doesn't apply....

In Downloads Pro I have "Regular Users" set to allow 2 downloads per day, as it doesn't allow me to set that for "Post groups".

Then I have numerous "Post groups" set depending (obviously) on how many messages have been posted - The first one is "Newbie" for new users that have posted less than 3 messages - Downloads Pro is set to allow them to view the files, but NOT download.

But sadly they CAN download with Downloads Pro v2.0 :(

The previous beta version I used worked perfectly (sorry I cannot remember the version number), and apart from upgrading to SMF v2.0 RC4 and Downloads Pro v2.0, I haven't changed any settings, so I can only assume that the code in Downloads Pro has been changed and it no longer works as it did....

So from what you've said I'm assuming it should work as follows....

Additional membergroups - Don't exist, so ignore...
Primary membergroup = Regular user - So allow....
Post Group = Newbie - So deny downloads...

But that isn't what's happening :(

Can you take a look at this please SMF?

Regards
Eddy
« Last Edit: November 26, 2010, 04:19:26 pm by Eddy Matthews »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Downloads Pro with SMF 2.0Rc4
« Reply #8 on: November 27, 2010, 04:26:47 pm »
Just spent a couple hours going to have to rework it completely. Turns out the additional checks for other membergroups include post based groups as well so going to have redo it.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Downloads Pro with SMF 2.0Rc4
« Reply #9 on: November 27, 2010, 05:06:36 pm »
Try this file and let me know the results
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Paddleducks Forum - Damien

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Re: Downloads Pro with SMF 2.0Rc4
« Reply #10 on: November 27, 2010, 05:07:14 pm »
Just spent a couple hours going to have to rework it completely. Turns out the additional checks for other membergroups include post based groups as well so going to have redo it.

Sorry to give you extra work SMF :(

Thanks for checking it all out....

Regards
Eddy

Offline Paddleducks Forum - Damien

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Re: Downloads Pro with SMF 2.0Rc4
« Reply #11 on: November 27, 2010, 05:08:06 pm »
Try this file and let me know the results

I'll take a look at that tomorrow afternoon, just about to go to bed now....

Many thanks
Eddy

Offline Paddleducks Forum - Damien

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Re: Downloads Pro with SMF 2.0Rc4
« Reply #12 on: November 28, 2010, 02:26:52 am »
I've just installed the latest downloads2.php file, and it appears to have sorted the problem SMF.... Admittedly I've only done a few quick tests, but it looks good so far.

Many thanks
Eddy

Offline Paddleducks Forum - Damien

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Re: Downloads Pro with SMF 2.0Rc4
« Reply #13 on: December 01, 2010, 03:15:16 am »
Another small problem SMF.....

I have a Primary Membergroup called "No Downloads" to block those that are only there to take and take.....

In category permissions, this membergroup can view files, but CANNOT download. But Downloads Pro v2.0 is allowing them to download because their Post Count group says they have posted enough messages.

I think that Downloads Pro should check Primary Group, Additional Groups, and then Post Count Groups.... If ANY of those say "Deny" then it should exit the checking routine...

ie:

Check Primary membergroup - If "allowed" OR if no primary group exists then check Additional membergroups, if "Deny" then exit...

Check Additional membergroups - If "Allowed" OR If no Additional membergroup exists then check Post groups. If "Deny" then exit....

Check Postgroups - If "Deny" then exit....

In other words, if ANY of the groups say the member is "Denied" downloads, then they should NOT be able to download.

I hope that makes sense? This all worked perfectly in an earlier beta release, and none of my settings have been altered since upgrading.

Regards
Eddy

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Downloads Pro with SMF 2.0Rc4
« Reply #14 on: December 01, 2010, 07:51:59 pm »
I have to think about that case a little more. By default with SMF I think is if any group has access to it they are marked as allowed.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
5426 Views
Last post September 23, 2006, 09:20:19 pm
by SMFHacks
0 Replies
5642 Views
Last post May 19, 2008, 08:57:52 pm
by ApplianceJunk
5 Replies
6169 Views
Last post August 30, 2009, 05:36:57 pm
by SMFHacks
3 Replies
7904 Views
Last post September 23, 2009, 11:13:43 pm
by SMFHacks
2 Replies
2807 Views
Last post November 04, 2010, 01:01:47 pm
by Wickedgood

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal