PDA

View Full Version : Attachment Download Restriction


tnguy3n
12-26-2005, 10:00 PM
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
12-27-2005, 04:43 AM
nice idea to encourage participation.

Hornstar
12-27-2005, 05:36 AM
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
12-27-2005, 05:38 AM
86400 to what if i want it 30 day?

tnguy3n
12-27-2005, 06:08 AM
if they spam, ban them! simple as that!

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

sensimilla
12-27-2005, 06:54 AM
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
12-27-2005, 11:16 AM
Excellent!

ahmed-samara
12-27-2005, 12:06 PM
Excellent!

LincolnForums
12-27-2005, 03:29 PM
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
12-28-2005, 09:55 PM
Can this code be edited to make it that members have to be registered 30 days and must have 10 posts ?

TIA

Robert Basil
12-29-2005, 06:47 PM
This can all be done through user permissions WITHOUT a hack.

akanevsky
12-29-2005, 07:01 PM
This could be done with simple usergroup promotions...

tnguy3n
01-04-2006, 03:25 PM
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
02-22-2006, 06:57 PM
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
02-25-2006, 12:54 PM
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
02-26-2006, 06:13 PM
Open Attachment Download Restriction plugin,

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

kartik786
04-15-2006, 12:02 PM
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
05-04-2006, 06:08 PM
Phrase Type: Error Messages

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

board.trash
06-04-2006, 12:37 AM
Me too.. How to change the minimum number of posts required ???

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

julia27
02-02-2007, 04:02 AM
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.