Forum Moderators: rogerd

Message Too Old, No Replies

altering phpBB forum script

programming for a special room

         

spaceylacie

4:14 pm on Jun 7, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm trying to set up a certain room that would allow allow members who have reached a certain number of posts to comment. There's an area where you can select to only allow mods etc to access so I'm thinking that could be altered to include extra options. Any ideas how much work this would be? Would it be something easy for an experienced programmer? I'm going to have to hire someone to do it for me and I want to have an understanding of how difficult this would be before I proceed. Thanks in advance for any comments.

linear

4:38 pm on Jun 7, 2006 (gmt 0)

10+ Year Member



fairly easy using usergroups. In fact I don't see why it would need custom work at all, just someone who understands the group system built into phpbb.

Edit:
[phpbb.com...]

My bad, apparently phpbb groups can't be postcount-based. To size the effort for you, it would require some script that queried the db for users who've met your postcount criteria, and assign them to the group. This script could run entirely ooutside the forum and work daily, hourly, whatever. So it would be custom, but could live outside the phpbb entirely.

If you could live with manually adding the members to the group, it can be done with only out-of-box phpbb.

spaceylacie

4:13 pm on Jun 8, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks so much. So either way it will start with a user group. I might start it out doing it manually until I get someone to do the script for me. I'm glad to hear that even with a script automatically adding members manually would also be possible.

PeteM

12:09 pm on Jun 13, 2006 (gmt 0)

10+ Year Member



This would be easy to code. The phpBB users table contains a post count. Find the php script that updates it then when it reaches a certain figure insert the userid into the groups table.

Pete