Topic: After X number of pnphpbb2 posts, a user gains access to dls
jmcivor
avatar
Helper
Helper
Posts: 217

Posted:
5.Apr 2006 - 21:06

Is there any way to make it so users must be active in order to access downloads? like a user must post atleast 5 posts and wait 24 hours prior to being able to access the downloads section?

im using pn762 and PNphpBB2
edfel
avatar
Professional
Professional
Posts: 831

Posted:
9.Apr 2006 - 10:42

Hi:

This is interesting, also able to define to which download categories but that will complicate the idea I gues...

Later
jmcivor
avatar
Helper
Helper
Posts: 217

Posted:
10.Apr 2006 - 21:08

Nobody has a suggestion? I've seen this feature on lots of sites, I'm sure it must be possible.

--
Currently installed : PN762

jmcivor.com
jlm@jmcivor.com
cannibus
avatar
Helper
Helper
Posts: 401

Posted:
10.Apr 2006 - 21:52

i dont use PNphpBB, but does it utilize PN groups or its own groups system?
jmcivor
avatar
Helper
Helper
Posts: 217

Posted:
10.Apr 2006 - 22:12

Im pretty sure it runs off its own permissions, but dont quote me on that >.<

--
Currently installed : PN762

jmcivor.com
jlm@jmcivor.com
jbirchett
avatar
Helper
Helper
Posts: 203

Posted:
10.Apr 2006 - 22:53

It uses its own permissions. It also has its own user database. The first time a PN user goes tou the forum, the user is auto-created in PNphpBB2, so group management operates on the PNphpBB2 users, not the PostNuke users. It makes it a pain to maintain a privileged group on the forum because you have to manage it through PNphpBB's admin panel.
cannibus
avatar
Helper
Helper
Posts: 401

Posted:
11.Apr 2006 - 00:02

with that being the case, maybe you can do downloads in the form of attachments in a special forum.

only give certain PNphpBB users access to the forum, and set up the download as an attatchemtn
jmcivor
avatar
Helper
Helper
Posts: 217

Posted:
11.Apr 2006 - 00:47

Maybe I should switch over to pnForum... Do any of you know of a way to convert PNphpBB2 mysql DB's to pnForum?

--
Currently installed : PN762

jmcivor.com
jlm@jmcivor.com
HalbrookTech
online
avatar
Legend
Legend
Posts: 6596

Posted:
11.Apr 2006 - 01:01

Eitherway, you'd have to write something to:

1. Check the user's post count
2. Adjust their permissions properly.

It is possible, I wrote a workflow for Pagesetter that will add a user to a group upon acceptance of a submission in Pagesetter, but exactly how to best do it, I don't know.
chance1376
avatar
Softmore
Softmore
Posts: 71

Posted:
11.Apr 2006 - 01:24

I can't quite remember for sure, but I think sometime ago on Chestnut's site someone wanted to do something like that with the pncuserpoints system (which you could assign points for each forum post). As my fuzzy memory recalls I think there were a few lines of code given to add to the downloads module to get it to work. You may want to look around there and see if you can dig it up.