| Autor |
Nachricht |
ericsson
phpBB2.de User

Anmeldungsdatum: 20.02.2005
Beiträge: 36
|
Verfasst am:
Mo 28 Feb, 2005 00:26 |
  |
Is there a mod for the download section so that people have to have have like a couple of posts before they can download stuff? |
|
|
   |
 |
Google
|
Verfasst am:
|
 |
|
|
 |
mighty b
phpBB2.de User

Anmeldungsdatum: 18.02.2004
Beiträge: 186
|
Verfasst am:
Mo 28 Feb, 2005 15:27 |
  |
Thats what i need as well... apparently there is one out there somewhere but i could not find it.
i know this might mean that people will flood and post pointless threads but if the number of posts required to access downloads is quite low it should be alright i think... |
_________________ Local forum project Owner
!!!bid directory and Forum Directory SEO and Marketing exposed |
|
    |
 |
ericsson
phpBB2.de User

Anmeldungsdatum: 20.02.2005
Beiträge: 36
|
Verfasst am:
Mo 28 Feb, 2005 18:56 |
  |
If you kept it down low people wouldnt spam. I hope I find one. |
|
|
   |
 |
mighty b
phpBB2.de User

Anmeldungsdatum: 18.02.2004
Beiträge: 186
|
Verfasst am:
Di 01 März, 2005 19:32 |
  |
|
    |
 |
mighty b
phpBB2.de User

Anmeldungsdatum: 18.02.2004
Beiträge: 186
|
Verfasst am:
Fr 04 März, 2005 03:40 |
  |
|
    |
 |
mighty b
phpBB2.de User

Anmeldungsdatum: 18.02.2004
Beiträge: 186
|
Verfasst am:
Fr 04 März, 2005 19:31 |
  |
go this on another forum but i dont know how to implement this solution...
where do i put this code and its not correct anyway is it?
--------------------------------------------------
Another system could be inserting a line of code after session management block in dload.php (if you don't want they see your download database) or in auth check about download.
Something like
If userlevel == user and postcount < 5 then show an error message (user non active, or similar)
-------------------------------------------------- |
_________________ Local forum project Owner
!!!bid directory and Forum Directory SEO and Marketing exposed |
|
    |
 |
mighty b
phpBB2.de User

Anmeldungsdatum: 18.02.2004
Beiträge: 186
|
Verfasst am:
Sa 05 März, 2005 17:15 |
  |
right, problem solved!
In dload.php
FIND
Code:
// End session management
//
BEFORE ADD
Code:
if ( !$userdata['user_id'] == ANONYMOUS || ($userdata['user_posts'] < 5) )
{
die("you are not authorized to access this download area. Please check our forum for further information");
}
so basically when people with 5 posts or less click on downloads error message is displayed (you dont have access bla bla)
works great and was quite simple |
_________________ Local forum project Owner
!!!bid directory and Forum Directory SEO and Marketing exposed |
|
    |
 |
dzinga1
phpBB2.de User

Anmeldungsdatum: 16.03.2007
Beiträge: 18
|
Verfasst am:
Fr 16 März, 2007 04:42 |
  |
|
   |
 |
alangr
phpBB2.de User

Anmeldungsdatum: 22.09.2007
Beiträge: 1
|
Verfasst am:
So 13 Jan, 2008 13:06 |
  |
It's possible to allow users with 5 or less posts to view the download section but not allow to download a file? |
|
|
   |
 |
|
|
|
|