Quote:
Today at 04:59 PM AuthorZone.Com said this in Post #80
THANK YOU SOOOOOOOOO MUCH!
I am going to try it now.
I plan to use it for a book review site and I will add users to a Reviewer's group and only they should be able to post in it and the admins...
Can you tell me how to do this?
Max
|
I noticed you asked the same thing in the links directory thread. This hack was based on it, so the code is pretty much the same. Here is the snippet of code to search for:
PHP Code:
// #################### Add Article ####################
if ($action=="addarticle") {
if ($bbuserinfo[usergroupid]=="1" or $bbuserinfo[usergroupid]=="3" or $bbuserinfo[usergroupid]=="4" or $bbuserinfo[usergroupid]=="0") {
eval("dooutput(\"".gettemplate('vbArticles_error1')."\");");
}else{
Follow the same concept I posted in the links directory thread on how to exclude usergroups.
I'm not a coding expert, but adding ratings to this hack seems like it would be rather difficult. Maybe someone more experienced will be able to help you out. For the time being, I'll look into it, as that seems like a cool feature.