- Goto your Admin CP
- Find the "Execute SQL Query" link on the navigation
- Paste the contents of the "SQL" box in my previous post into the textarea
- Click Continue
- Click Continue on the next page that appears
- Find the "Plugin Manager" link on the navigation
- Click "Add New Plugin" on the Plugin Manager Page
- Select [high]attachment_start[/high] as the hook location
- Enter "Download Count Restriction" as the title
- Paste the contents of the "PHP" box in my previous post into the textarea
- Click the "Yes" radio button next to the question of if the Plugin is active
- Save it
- Find the "Phrase Manager" link on the navigation
- Click "Add New Phrase" on the Phrase Manager Page
- Select "Error Messages" as the phrase type
- Enter "dlquotareached" as the varname
- Paste the contents of the "Code" box in my previous post into the textarea
- Save it
- Now create a cron job which resets the downloadcount field of the user table to 0 every 24 hours
It should work - I will check this thread to see if there are any problems
Chris