2011-05-20, 01:42 AM
2011-05-20, 02:07 AM
You can restrict downloads of attachments by user group. Simply create a new user group that is allowed to download attachments, then create an automatic User Promotion once the user has reached 5 posts. (Be sure to disable downloading of attachments in the default usergroup).
2011-05-20, 02:17 AM
(2011-05-20, 02:07 AM)Kodaks Wrote: [ -> ]You can restrict downloads of attachments by user group. Simply create a new user group that is allowed to download attachments, then create an automatic User Promotion once the user has reached 5 posts. (Be sure to disable downloading of attachments in the default usergroup).I'd rather have a plugin that will do it instead of making a promotion.
2011-05-20, 02:26 AM
I wrote a simple plugin. I haven't tested it. Plugin should write "no access" after the entry of an attachment, if the user has less than 5 posts. Upload file to "/inc/plugins" and activate it in ACP.
2011-05-20, 02:45 AM
This will allow people lower then 5 post not able to DOWNLOAD attachments?
2011-05-20, 03:04 AM
Yes.
2011-05-20, 08:45 PM
(2011-05-20, 03:04 AM)Tomasz Knapik Wrote: [ -> ]Yes.Can you make it so it will display this message?
"Sorry, you need at least 5 or more post to download these files."
2011-05-20, 08:46 PM
Open plugin file and find;
It should work
error_no_permission();
and Change it into;error("Sorry, you need at least 5 or more post to download these files.");
It should work
2011-05-20, 08:52 PM
(2011-05-20, 08:46 PM)Yaldaram Wrote: [ -> ]Open plugin file and find;And there was MY mistake, I forgot the "" xD
and Change it into;error_no_permission();
error("Sorry, you need at least 5 or more post to download these files.");
It should work
Also if I may ask, for a mod that doesnt allow you to click off site links with out 5 post? Something like the Restricted links plugin.