PunBB Resource

Your ultimate PunBB resource!

Keywords:

    (Extended)

You are not logged in.


Login to move these ads to the bottom of the page

#1 2007-02-21 02:04:44

malrawi
Member
Registered: 2006-05-22
Posts: 62

Comment Control 2.0.0

Code:

##
##
##        Mod title:  Comment Control 
##
##      Mod version:  2.0.0 
##   Works on PunBB:  1.2.10 
##     Release date:  2007-02-21
##           Author:  Musab Al-Rawi [isnull77@hotmail.com] 
##
##      Description:  This gives administrators the ability to approve comments before they
##                    can be viewed and posted on the forum
##
##       Affects DB:  Yes
##
##   Affected files:  AP_Comment_Control.php
##              readme.txt
##              post.php
##              admin_groups.php
##              header.php
##              viewforum.php
##                    
##
##            Notes:  _Topic_ approval for guests
##
##       DISCLAIMER:  Please note that 'mods' are not officially supported by
##                    PunBB. Installation of this modification is done at your
##                    own risk. Backup your forum database and any and all
##                    applicable files before proceeding.
##
################################################################################
## CHANGELOG:
## 2.0.0 : allow admin to approve new topics for guests
## 1.2.7 : change header.php to show the message "Comment(s) Waiting for Approval"
## 1.2.6 : correct the the number of replies for each topic
## 1.2.5 : corrected the "last posted" link in the forum and topic info (post.php)
##       correct line numbers in readme.txt
##       modified admin_groups.php to add more clearity to the option
## 1.2.4 : corrected the "last posted" link in the forum and topic info
## 1.2.3 : modified AP_Comment_Control to comply with mysql 4.0.x
## 1.2.2 : "Disapproved and Delete it" option is added to the list. English language updates.
## 1.2.1 : minor correction to the readme.txt and AP_Comment_Control.php files
## 1.2.0 : corrected maintaing forum and topic information
##       added an option for groups to allow auto replies approval owned by group members
## 1.0.0 : initial release 
################################################################################

Download here

Offline

 

#2 2007-02-21 02:07:35

malrawi
Member
Registered: 2006-05-22
Posts: 62

Re: Comment Control 2.0.0

ok finally i am done (hopfully)

This version:
- will allow administrators to moderate guests' TOPICS not just posts.
- doesn't have any effect on post moderation, so if you are not interested in the above note don't install this release.

Please test and let me know if there is anything to improve or correct.
have fun

Last edited by malrawi (2007-02-21 21:22:44)

Offline

 

#3 2007-02-21 19:27:16

jkay
New member
Registered: 2007-01-21
Posts: 7

Re: Comment Control 2.0.0

Hi Malrawi,

Great Mod there! Thanks!

I would like to ask if it is possible for the mod to include approving members' TOPICS not just posts? Perhaps moderate TOPICS and moderate POSTS can be listed under 2 separate permissions?

My other query is if it is possible to make the permission setting of post moderation (approving/ disapproving) FORUM specific. Currently, the permission setting is USER GROUP specific. Is there a way to make it FORUM specific?

Once again, thanks!

Offline

 

#4 2007-02-21 21:23:24

malrawi
Member
Registered: 2006-05-22
Posts: 62

Re: Comment Control 2.0.0

hi jkay,

thanks,
the answer to your questions is yes.
i beielve that the first request can be done in the next release, as it is done with posts, which means DB changes.

the second request is also possible, it takes longer to do though, no promisses as this requires more DB changes.

i will work on the first option, wish me luck smile

Offline

 

#5 2007-02-22 02:09:42

jkay
New member
Registered: 2007-01-21
Posts: 7

Re: Comment Control 2.0.0

malrawi wrote:

hi jkay,

thanks,
the answer to your questions is yes.
i beielve that the first request can be done in the next release, as it is done with posts, which means DB changes.

the second request is also possible, it takes longer to do though, no promisses as this requires more DB changes.

i will work on the first option, wish me luck smile

Thanks Malrawi for being willing!!! smile

Your mod is really nice.

JK

Offline

 

#6 2007-03-23 08:27:14

novatron6
New member
Registered: 2007-03-23
Posts: 1

Re: Comment Control 2.0.0

When will this mod be avalaible for punbb PunBB (1.2.14)?

I got this message when trying to install:  "You are running a version of PunBB (1.2.14) that this mod does not support. This mod supports PunBB versions: 1.2.10"

Is there any other mods similar to this?  thanks!

doug

Last edited by novatron6 (2007-03-23 08:27:34)

Offline

 

#7 2007-03-24 22:15:49

malrawi
Member
Registered: 2006-05-22
Posts: 62

Re: Comment Control 2.0.0

i think you need to check the sticky posts in this forum, that will solve the problem.

Offline

 

#8 2007-04-14 08:49:56

naitkris
Member
From: Cork, Ireland
Registered: 2007-01-26
Posts: 76

Re: Comment Control 2.0.0

the readme in the zip file for 2.0.0 is for 1.2.7. approval for guest topics does not seem to be working but this is most likely because the steps in the readme are for 1.2.7.

Offline

 

#9 2007-04-15 00:03:54

malrawi
Member
Registered: 2006-05-22
Posts: 62

Re: Comment Control 2.0.0

Ops!
thanks for pointing this huge mistake.

this might take a couple of days to remember the things i did and list them down.
thanks again

Offline

 

Board footer

Based on PunBB
© Copyright 2002–2005 Rickard Andersson

© Copyright 2004–2006 Kristoffer Jansson

User contributed files are property of their respective owners.