vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Attachment Download Restriction (https://vborg.vbsupport.ru/showthread.php?t=103809)

tnguy3n 12-26-2005 10:00 PM

Attachment Download Restriction
 
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

Quote:

Originally Posted by hornstar1337
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


All times are GMT. The time now is 08:48 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00974 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete