PDA

View Full Version : Attachment Download Restriction


tnguy3n
27 Dec 2005, 05:42
Author: tnguy3n
Support Site: ++++++.org

What this hack does is to disable new users with 0 posts to download attachments on the board. If the users join the board and do not post, they got to wait for 1 day (or whatever days as you assign) in order to download the attachment.

It's a simple, yet effective hack to force new users to post on your site.

Installation: 2-3 mins
Plugin: 1
New phrases: 1

##############################
# NEW PHRASE

Phrase Type: Error Messages
varname: hackdlrule
Text:
<font color=red>As of December 23, 2005, new user may not be able to download hacks or any attachment if you have 0 post and your registration is less than 1 day. You must either have one post or wait for 1 day to be able to download.</font> You currently have {1} post.

To change the download restriction, change value of 86400.

EasyTarget
27 Dec 2005, 06:43
nice idea to encourage participation.

Hornstar
27 Dec 2005, 07:36
Good idea. However spam will go up alot. What you need is for them to post and once they get the set amount that we set, Then they go in a cue, for the staff to accept once they take a look at a few of their posts to make sure there not spam. If it looks like they are just spamming then we can decline them from downloading from the site.

However I will give this a go, and see how it goes, as I do have the advanced warning system installed, anyone who spams will soon be banned anyway lol.

Nice work

pimpfelix
27 Dec 2005, 07:38
86400 to what if i want it 30 day?

tnguy3n
27 Dec 2005, 08:08
if they spam, ban them! simple as that!

for 30 days, multiply 86400 by 30 (or 3600*24*30).

sensimilla
27 Dec 2005, 08:54
Great hack, I was looking for something like that
I have been told it can be easily made trough promotion system and permissions
but thanks anyway

Snake
27 Dec 2005, 13:16
Excellent!

ahmed-samara
27 Dec 2005, 14:06
Excellent!

LincolnForums
27 Dec 2005, 17:29
Good idea. However spam will go up alot. What you need is for them to post and once they get the set amount that we set, Then they go in a cue, for the staff to accept once they take a look at a few of their posts to make sure there not spam. If it looks like they are just spamming then we can decline them from downloading from the site.

However I will give this a go, and see how it goes, as I do have the advanced warning system installed, anyone who spams will soon be banned anyway lol.

Nice work

why not just have it moderate new posts for new members when they sign up, its already a vb function this way?

phonexpo
28 Dec 2005, 23:55
Can this code be edited to make it that members have to be registered 30 days and must have 10 posts ?

TIA

Robert Basil
29 Dec 2005, 20:47
This can all be done through user permissions WITHOUT a hack.

akanevsky
29 Dec 2005, 21:01
This could be done with simple usergroup promotions...

tnguy3n
04 Jan 2006, 17:25
This could be done with simple usergroup promotions...

I was aware of promotion system; however, I chose to add a few line codes (well, a plugin to be exact) rather then to add/manage an extra usergroup.

ConKien
22 Feb 2006, 20:57
Can this hack set to require last X day must have X post? Like

In the last 3 day you have to have 3 post to be able to download. You currently have {1} in the last 3 days.

bashy
25 Feb 2006, 14:54
Hi

I have installed and appears to be working well, thank you.. (clicked install)
How can i change the amoutn of posts please, i would like it set to 2 posts
and 2 days, I have changed the days already, just couldnt figure out how to
change the amount of posts?
TIA

tnguy3n
26 Feb 2006, 20:13
Open Attachment Download Restriction plugin,

Change the value of 86400 to (3600*24*2) , 86400 = 1 day

kartik786
15 Apr 2006, 14:02
Hi

I have installed and appears to be working well, thank you.. (clicked install)
How can i change the amoutn of posts please, i would like it set to 2 posts
and 2 days, I have changed the days already, just couldnt figure out how to
change the amount of posts?
TIA


Me too.. How to change the minimum number of posts required ???

Eagle Creek
04 May 2006, 20:08
Phrase Type: Error Messages

I don't have that phrase type at all, hu??

board.trash
04 Jun 2006, 02:37
Me too.. How to change the minimum number of posts required ???

same question here... we need more posts. :banana:

julia27
02 Feb 2007, 06:02
is this hack for 3.6.4 as well?
If you do want to make a promotion how? I just want whatever is the easier.