- Posts: 1
- Thank you received: 1
Kunena 7.0.4 Released
The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0
This is for users to help other users, to discuss topics that are related to forum administration in general or problems in running Joomla. This is not the place to ask for Joomla support. If you want assistance with Joomla please ask at
forum.joomla.org
Sticky How to protect my forum from spam
15 years 1 month ago #90262
by katalyst
Replied by katalyst on topic How to protect my forum from spam
I've taken the hack from here:
www.kunena.org/forum/114-user-written-ha...for-x-first-messages
and updated it to work with Kunena 1.6.3
To use it, you would edit the /components/com_kunena/lib/kunena.posting.class.php file around line 389 and add the below code. You can edit the $ks_minposts variable to however many posts you want to set as the minimum before the user is no longer moderated.
I'm open to suggestions on how to improve it. I would love to see something like that implemented in the core. I hope its useful to someone.
// Hold the post for new users
$ks_minposts = 2;
$query = "SELECT (count(*)<{$ks_minposts}) AS review FROM #__kunena_messages WHERE userid={$this->_my->id} AND hold=0";
$this->_db->setQuery ( $query );
$this->_db->query ();
$dberror = $this->checkDatabaseError ();
if ($dberror){
return $this->setError ( '-post-', JText::_ ( 'COM_KUNENA_POST_ERROR_SAVE' ) );
}
$ks_userposts = $this->_db->loadResult ();
if ($ks_userposts <= $ks_minposts) {
$this->set ( 'hold', 1 );
}
www.kunena.org/forum/114-user-written-ha...for-x-first-messages
and updated it to work with Kunena 1.6.3
To use it, you would edit the /components/com_kunena/lib/kunena.posting.class.php file around line 389 and add the below code. You can edit the $ks_minposts variable to however many posts you want to set as the minimum before the user is no longer moderated.
I'm open to suggestions on how to improve it. I would love to see something like that implemented in the core. I hope its useful to someone.
// Hold the post for new users
$ks_minposts = 2;
$query = "SELECT (count(*)<{$ks_minposts}) AS review FROM #__kunena_messages WHERE userid={$this->_my->id} AND hold=0";
$this->_db->setQuery ( $query );
$this->_db->query ();
$dberror = $this->checkDatabaseError ();
if ($dberror){
return $this->setError ( '-post-', JText::_ ( 'COM_KUNENA_POST_ERROR_SAVE' ) );
}
$ks_userposts = $this->_db->loadResult ();
if ($ks_userposts <= $ks_minposts) {
$this->set ( 'hold', 1 );
}
The following user(s) said Thank You: Denny
Please Log in or Create an account to join the conversation.
- Groenteman
-
- Offline
- Junior Member
-
Less
More
- Posts: 73
- Thank you received: 2
15 years 1 month ago #90601
by Groenteman
Replied by Groenteman on topic How to protect my forum from spam
I couldn't find it in the board but can a guest be banned?
If so .... how?
If not ... can it be a future request.
Let me tell you why I look for this possibility.
I let people who want to join write an introduction.
When they are accepted all is ok but some who get refused start to spam
and can be very rude and threatening. Now I have to put the ip number manual
in the htaccess file. Would be a help to have the ban option for guest simply
by ip address.
Thanks in advance,
Groenteman
If so .... how?
If not ... can it be a future request.
Let me tell you why I look for this possibility.
I let people who want to join write an introduction.
When they are accepted all is ok but some who get refused start to spam
and can be very rude and threatening. Now I have to put the ip number manual
in the htaccess file. Would be a help to have the ban option for guest simply
by ip address.
Thanks in advance,
Groenteman
Please Log in or Create an account to join the conversation.
15 years 1 month ago #90641
by sozzled
Blue Eagle vs. Crypsis reference guide
Read my blog and
Replied by sozzled on topic How to protect my forum from spam
Yes, it would be simpler to allow banning by IP and this want an idea intended for K 1.6 by it was not implemented because it requires the writing of a special plugin. Perhaps this will be included in the future.
Rather than banning guests (after you have allowed them to post on your forum) perhaps it would be better and more appropriate in your case to not allow non-registered users the means to post on your forum. This is the default setting for Kunena. When you allow non-registered users the ability to post to your website you also offer a means for spammers to disrupt the smooth operation of your forum. The choice is yours. I hope this helps.
Rather than banning guests (after you have allowed them to post on your forum) perhaps it would be better and more appropriate in your case to not allow non-registered users the means to post on your forum. This is the default setting for Kunena. When you allow non-registered users the ability to post to your website you also offer a means for spammers to disrupt the smooth operation of your forum. The choice is yours. I hope this helps.
Blue Eagle vs. Crypsis reference guide
Read my blog and
The following user(s) said Thank You: Groenteman
Please Log in or Create an account to join the conversation.
- Groenteman
-
- Offline
- Junior Member
-
Less
More
- Posts: 73
- Thank you received: 2
15 years 1 month ago #90809
by Groenteman
Replied by Groenteman on topic How to protect my forum from spam
Thanks Sozzled for the reply.
You are correct about the spam but with chaptca its reduce to 3 spams a day.
I have to allow guest to post else they can't write an introduction why we
should grand them access to our information.
People who register have to take a nickname, enter chaptca, reply link in e-mail and
a administrator will grand access. The most spam is by rejected who want to become
member in the community.
This is why the IP blocking would be a big help. Who knows it will be implemented
in future. It would be a help to disable guest to post a url. This was a small hack
in the TMF forum for years. I don't know this is possible in Kunena?
Kind regards,
Groenteman
You are correct about the spam but with chaptca its reduce to 3 spams a day.
I have to allow guest to post else they can't write an introduction why we
should grand them access to our information.
People who register have to take a nickname, enter chaptca, reply link in e-mail and
a administrator will grand access. The most spam is by rejected who want to become
member in the community.
This is why the IP blocking would be a big help. Who knows it will be implemented
in future. It would be a help to disable guest to post a url. This was a small hack
in the TMF forum for years. I don't know this is possible in Kunena?
Kind regards,
Groenteman
Please Log in or Create an account to join the conversation.
15 years 1 month ago #91444
by MrChuky
Replied by MrChuky on topic How to protect my forum from spam
Hi, I need my users stop spam with a continuous post.
Exist some feature for set time between create post and create new post?
Thanks friends.
Exist some feature for set time between create post and create new post?
Thanks friends.
Please Log in or Create an account to join the conversation.
15 years 1 month ago - 15 years 1 month ago #91458
by sozzled
Blue Eagle vs. Crypsis reference guide
Read my blog and
Replied by sozzled on topic How to protect my forum from spam
G'day, MrChuky, and welcome to Kunena.
You can use the flood control feature of Kunena.
You can use the flood control feature of Kunena.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Last edit: 15 years 1 month ago by sozzled.
Please Log in or Create an account to join the conversation.
Time to create page: 0.282 seconds