How to auto-approve new submissions ?
Moderator: Thorsten
How to auto-approve new submissions ?
Hello:
I want to have a small group of people maintain the FAQ without having one of them be the admin. The entire FAQ will be restricted, and will require a password to get to.
Is there a way to "Add content" and not need the admin to approve it ?
thanks.
I want to have a small group of people maintain the FAQ without having one of them be the admin. The entire FAQ will be restricted, and will require a password to get to.
Is there a way to "Add content" and not need the admin to approve it ?
thanks.
Hi,
you have to edit some functions in functions.php to do this.
bye
Thorsten
you have to edit some functions in functions.php to do this.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi,
just open the file save.php and look for the following code:
Then edit this line to:
That's all!
bye
Thorsten
just open the file save.php and look for the following code:
Code: Select all
$db->query("INSERT INTO ".$sqltblpre."faqdata (lang,active,rubrik,thema,content,keywords,author,email,comment,datum) VALUES ('".$lang."', 'no', '".$_REQUEST["rubrik"]."', '".$thema."', '".$content."', '".$keywords."', '".$author."', '".$_REQUEST["usermail"]."', 'y', '".$datum."')");
Code: Select all
$db->query("INSERT INTO ".$sqltblpre."faqdata (lang,active,rubrik,thema,content,keywords,author,email,comment,datum) VALUES ('".$lang."', 'yes', '".$_REQUEST["rubrik"]."', '".$thema."', '".$content."', '".$keywords."', '".$author."', '".$_REQUEST["usermail"]."', 'y', '".$datum."')");
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi,
this is an option for version 1.6 because we do a rewrite for the authorization.
bye
Thorsten
this is an option for version 1.6 because we do a rewrite for the authorization.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi,
the so called version 1.6 in this thread is now called 2.0.
bye
Thorsten
the so called version 1.6 in this thread is now called 2.0.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi,
it's almost equal, look for "no" in the code and change it with "yes". To deactivate the mails, just comment out the function mail().
bye
Thorsten
it's almost equal, look for "no" in the code and change it with "yes". To deactivate the mails, just comment out the function mail().
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist