View Full Version : Moderation per usergroup
Admin
03-28-2002, 10:00 PM
This hack was requested by Burns:
https://vborg.vbsupport.ru/showthread.php?s=&threadid=36517
With it you can turn on moderation only for certain usergroups, so you can have a group of "trusted" users that don't need moderation.
I also split it to two options: moderate new threads and new replies, so you can only moderate new threads and not replies if you want.
To install this hack download the attached file (modusergroup.hack.php), upload to your /admin folder and use vbHacker (https://vborg.vbsupport.ru/showthread.php?s=&threadid=36378).
Anyway, have fun, hope this is useful. :)
Floris
03-29-2002, 08:29 AM
Great work FireFly!! Thanks!
alanvo
03-29-2002, 03:11 PM
wow! works like charm!!! the installation went great!!!
Bill Thebert
03-29-2002, 04:52 PM
Originally posted by FireFly
With it you can turn on moderation only for certain usergroups, so you can have a group of "trusted" users that don't need moderation.
Can you explain how this is different from the hack at:
https://vborg.vbsupport.ru/showthread.php?s=&threadid=14075
(Part 3 of the above hack, that is.)
I posted a few days ago over on vbulletin.com looking for just this sort of thing, and SMachol directed me here.
I see now that I appear to have a couple of different choices for achieving the desired function, yet I'm unclear on the difference.
Thanks,
Bill
Burns
03-29-2002, 08:20 PM
Originally posted by Bill Thebert
Can you explain how this is different from the hack at:
https://vborg.vbsupport.ru/showthread.php?s=&threadid=14075
(Part 3 of the above hack, that is.)
I posted a few days ago over on vbulletin.com looking for just this sort of thing, and SMachol directed me here.
I see now that I appear to have a couple of different choices for achieving the desired function, yet I'm unclear on the difference.
Thanks,
Bill
Hi!
You can check my thread, there i listed 4 reasons why
not to use other hack ;)
https://vborg.vbsupport.ru/showthread.php?s=&threadid=36517
( Post # 9 )
This one i'm still testing, so far looking great,
actually i wanted to complete my tests before i answer on these threads,
just dont want to let you wait...
So my advice : go with this last hack !
Burns
Burns
03-30-2002, 12:35 AM
I finished my tests ( with 2.2.4 ),
it woks perfect, i would recommend everyone who need to approve posts
install this hack ;)
Burns
Jawelin
03-30-2002, 07:37 AM
Very very nice!!
I followed the thread on Request and now it's out!!! Wow!
Just an exension I would need. ;)
Could be there an extra option - instead of actually 'moderating' threads or replies - for Admin to receive an email (just like ad subscription to thread) when a silent-moderated user posts something ?
It could be a simple 'supervision' without actually marking the user... who otherwise I guess should subscribe with a new account .... ;)
Thanks a lot.
Bye
Can someone post the text install version of this hack...I tried to get vbhacker to work, but am having some issues. I have an immediate need for this hack in the meantime...
Thanks!!
Hey thanks
the install went well and I like the hack. Will be useful
steveprice
04-30-2002, 01:54 PM
Hi,
I notice that the hack is designed for VB 2.2.4. I'm using VB 2.2.1, and really don't want to mess with it if I don't have to. Will this hack work with my version, or must I upgrade?
Many thanks,
Steve Price
Admin
04-30-2002, 02:31 PM
It *should* work, but no guarantee for that. :)
steveprice
04-30-2002, 04:06 PM
Hi,
It seems to work just fine in VB 2.2.1; I'll post again if any problems arise, just so others will know.
I do have one question, though. Is there a way to make the system send an e-mail to the Administrator when a posting goes into the queue awaiting validation?
Thanks,
inetd
04-30-2002, 06:06 PM
Good hack!
steveprice
05-08-2002, 04:06 PM
Hi,
I installed the hack, and it worked great, up to a point. Here's my history with it.
1. All my registered people except the two Administrators were in a group called "Registered".
2. I set the thing to let Members post without moderator approval, but to require approval for posts by Guests and Registered.
3. I transferred a bunch of people from Registered to Member.
4. Things seemed to work perfectly.
5. A day or two later, I moved more people into Member.
6. Those people show up in my user list as Members, but their messages still go into the moderator queue.
Any suggestions?
Thanks,
Steve Price
Admin
05-08-2002, 06:01 PM
Yes I got your email Steve, but I really can't see any connection between the two (5 + 6). It really shouldn't matter when the users were moved into the usergroup, there is no cache or something like that...
steveprice
05-08-2002, 06:14 PM
Hi Chen,
It makes no sense to me either. I don't get lots of new registrants anymore, so it won't be a big problem even if I never get it to move anyone into the Member group again, but it is puzzling.
Thanks again. I really do appreciate having the hack and the work you surely put into it.
Steve Price
works AOK with 2.2.5, too. :)
steveprice
06-04-2002, 04:57 PM
Hi,
I just upgraded from version 2.2.1 to 2.2.6. The hack works perfectly in the new version (with the new PHP version in the server, too).
Thanks again.
Will this hack work on version 2.2.7?
D. Hollingworth
09-02-2002, 05:34 PM
Wow, this time Im truly lost. This is a great hack, but where are the instructions? Vb hacker? Whats that? Could someone post setup instructions please?
Thanks all!
Dave Hollingworth
steveprice
09-02-2002, 06:12 PM
Hi David,
This is probably the most useful hack in my forums. It really lets me keep the morons from getting their messages into view by the public, yet I never have to bother moderating messages from the rest of the users.
If you go to the very first message in this thread, the word "VBHacker" is a link to the VBHacker. Installation is a piece of cake, and I doubt that you'll need any instructions beyond what you find there. If you do, please feel free to e-mail me.
Regards,
Steve Price
D. Hollingworth
09-02-2002, 08:46 PM
Originally posted by steveprice
Hi David,
This is probably the most useful hack in my forums. It really lets me keep the morons from getting their messages into view by the public, yet I never have to bother moderating messages from the rest of the users.
Exaaaactly!
I have a forum, which has its fair share of new sign-ups that flagrantly violate the no-spam policy, and sometimes to amazing extremes. For this reason, I too am forced to moderate just about everything. The only other option is to assign, (the good users) moderator privileges, and scale back the options, but it?s tedious, and also causes confusion for the other users--- Um.. Why are there 30 moderators? Hehe... I eventually gave up on this one :)
Originally posted by steveprice
If you go to the very first message in this thread, the word "VBHacker" is a link to the VBHacker. Installation is a piece of cake, and I doubt that you'll need any instructions beyond what you find there. If you do, please feel free to e-mail me.
Appreciate the help Steve. Everything is installed, and works awesome! I would also like to extend a thanks to Firefly for his many wonderful contributions that never cease to amaze me.
Excellent work!
Dave Hollingworth
Actually, I wouldn't mind having a few more instructions either. I installed it (quite easily) on my board (2.2.7) and there were boxes under user groups asking whether I wanted to moderate the group or not. However, even after marking them "yes" the groups were able to post freely. I'm guessing there are some other settings that need to be changed in order for it to work, but I have no clue what they are.
D. Hollingworth
09-02-2002, 09:10 PM
Hmmm? How to explain this.
This is the step I stumbled on as well.
Try this. In your CP:
- Go to Forums & Moderators
- Select Modify
- Select the ?Edit? on the forum that was previously set to ?moderate the posts.?
- If moderation is enabled, ?disabled? it.
Now, go to:
- Modify User Groups--- Select ?Modify.?
- Select ?Edit? on the forum you want to moderate
- Scroll down to the ?moderate? option and turn it on.
- In your ?trusted? group, scroll down and do that same thing, except ?disable? moderation.
As I see it, the hack controls moderation from through the individual Usergroups, as opposed to the ?actual? single forum itself. I thing I got that right:confused:
In any event, if this is not the problem, sorry for wasting your time, but I hope it helps to some degree.
Dave Hollingworth
http://nightclubbiz.net/
Thank you for replying. :cool: I tried doing it that way, but it didn't work. It's still either totally moderating or not by forum.
wolfman
09-04-2002, 01:58 AM
I have a small problem with this one I do the sql query and I get this during the install
Query number 1:
The query "ALTER TABLE usergroup ADD moderatethread SMALLINT(6) UNSIGNED DEFAULT "0"
NOT NULL, ADD moderatepost SMALLINT(6) UNSIGNED DEFAULT "0" NOT NULL" was not executed due to database errors.
I got this trying to do the same thing in phpmyadmin
Error
SQL-query :
ALTER TABLE usergroup ADD moderatethread SMALLINT(6) UNSIGNED DEFAULT "0" NOT NULL, ADD moderatepost SMALLINT(6) UNSIGNED DEFAULT "0" NOT NULL
MySQL said:
Duplicate column name 'moderatethread'
I do have several mods installed so I am thinking it is having a conflict with something I had to do in another mod.
Thanks
wolfman
09-04-2002, 02:13 AM
Blah never mind that last post of mine, this is a nice mod thanks :)
I'm still having problems. I have the hack installed on my live board now and it doesn't seem to work there either. Any help would be greatly appreciated.
Okay, I figured out what the problem(s) were. Or at least, I got it working now (I have essentially no knowledge in php or mysql, so this may have been obvious to others but it wasn't to me). In case anyone cares, in newreply.php this code was put in // auto bypass queueing for admins/mods
if (ismoderator($foruminfo[forumid])) {
$visible=1;
} elseif ($permissions['moderatepost']) {
$visible=0;
}
I had to take out the apostrophes around moderatepost (and moderatethread for newthread.php) in order for it to read the correct value from the table.
Even after that, the moderation didn't work on replies, just new threads.
ptenthus
09-10-2002, 06:46 PM
I'm getting similar results to what Ang is seeing.
Any idea what is wrong?
Dynamic One
11-10-2002, 08:07 PM
Thanks for this hack. will give it a try :).
Excellent Hack. I generated a text file and manually installed in 2.3.0 just to be sure there weren't any code issues. Works great and all the code was right on for the latest build.
Thanks Firefly :)
good2laugh
05-20-2003, 07:12 PM
Never installed a hack before, just (sort of) installed it and it worked like a dream - thanks for this!
*nb sort of means on my test board as I'm in process of moving server :)
Thanks again! btw - any clue if this will work on the pending release of VB? hope so! :)
Zachery
07-09-2003, 01:00 PM
does this hack work with 2.3.0 and could a txt version be posted??
morey
07-09-2003, 10:47 PM
Faranth,
I am running it on 2.3 and it seems to be working fine.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.