Hello Red_Bee,
I believe you could abuse ccb/newbb for this.
allthough not really the ways things should work you could try this:
make XOOPS groups
- group A (users with + 30 posts)
- group B (users with + 50 posts)
- group C (users with + 100 posts)
make cbb/newbb forums A,B,C
- group A can access forum A
- group B can access forum B, A
- group C can access forum C, B, A
you can then add your downloads to the posts in the coreect forums. (edit newbb/cbb preferences)
Your making posts with the downlaods connected to them.
Now all you need is a way to tranfer users into the coreect groups. As far as I know there is no XOOPS way of doing this (yet).
You could try the following :
on a daily basis run the follwing SQL commands :
UPDATE xoops_groups_users_link g LEFT JOIN xoops_users u ON g.uid = u.uid set g.groupid=10 WHERE u.posts >30;
UPDATE xoops_groups_users_link g LEFT JOIN xoops_users u ON g.uid = u.uid set g.groupid=11 WHERE u.posts >50;
UPDATE xoops_groups_users_link g LEFT JOIN xoops_users u ON g.uid = u.uid set g.groupid=12 WHERE u.posts >100;
change g.groupid to the correct groupID's for groups A,B,C and amke sure you run them in this order.
These sql commands will change a users group membership based on the number of posts they have made.
You might even run these sql-commands from a cron job on a hourly basis.
As you can clearly see this is not how things are meant to be done but it might just help you.
This might be an uphill struggle but I believe it will get the job done.
Does anyone else have a more elegant solution ?
kind regards, Highlander