By HMED on Friday, 09 December 2022
Posted in General Issues
Replies 9
Likes 0
Views 324
Votes 0
Hello,

80% of my news members are bots, i was wondering how i can add some thing to detect them !?
do i need to install a new service or app ?

thanks !
I noticed that you already activated the Honeypot antispam, by right those bots shouldn't be able to register on your site.

Can you share with us which spam users are already registered on your site so that we can investigate this?

Also, may I know how many registration forms you have available for the user to register on your site?
·
Friday, 09 December 2022 17:00
·
0 Likes
·
0 Votes
·
0 Comments
·
I noticed that you already activated the Honeypot antispam, by right those bots shouldn't be able to register on your site.

Can you share with us which spam users are already registered on your site so that we can investigate this?

Also, may I know how many registration forms you have available for the user to register on your site?


Yes, please check the latest members registred on my website that are disabled/banned.
·
Friday, 09 December 2022 17:07
·
0 Likes
·
0 Votes
·
0 Comments
·
I've checked those latest registered members on your site, it seems like those required custom fields were also filled in, you can check my attached screenshot below.

Do you have any evidence that to show those users were registered automatically by bots?
·
Friday, 09 December 2022 17:20
·
0 Likes
·
0 Votes
·
0 Comments
·
I've checked those latest registered members on your site, it seems like those required custom fields were also filled in, you can check my attached screenshot below.

Do you have any evidence that to show those users were registered automatically by bots?


No evidence but since many days almost registration are spamers, probably bots.
·
Friday, 09 December 2022 17:38
·
0 Likes
·
0 Votes
·
0 Comments
·
I believe those new register users are human. If those users are bots, the bots will not activate their account automatically because your current registration type was set to required user activation via email.

If you would like to stop these real human spammer, then you can temporary change your registration type to "Require user confirmation and admin approval" so whoever register on your site, they will receive an email notification and need to click a confirmation link to prove that this email account is a human instead of bots, so the admin need to approve their account then the user only can login to the site.
·
Friday, 09 December 2022 18:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok i ll do this !

How i can include more informations about registred users in the email to be able to decide without accessing the admin cp and check profils ?

I would like to see some custom fields inside this email, this will help lot.
actually i see email + name.
·
Friday, 09 December 2022 18:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Unfortunately, we do not have a setting to show more user profile information in the email, it requires modifying the core file in order to achieve this.
·
Friday, 09 December 2022 18:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you, maybe you can share some tips or examples to achieve it my self ?
·
Friday, 09 December 2022 21:27
·
0 Likes
·
0 Votes
·
0 Comments
·
You're most welcome.

From what I checked in the code, it is quite complicated to show a specific field value in the email because each of the different types of custom fields also needs to use a different way to retrieve the custom field value.

If you would like to set to use this registration type "Require user confirmation and admin approval", it will be involved the following core files (confirmationUserEmail method), what you need to do is get the newly registered user id from the method.

For example:


// current new register user id
$userId = 100;

// Get this user profile obj data
$userData = ES::user($userId);

// Get a specific custom field value, the URL is the field's unique key
$customField = $userData->getFieldValue('URL');

// You can test the result using this echo php function and see whether it returns the string or not
// because not all the custom field will return you as a string, if the value return to an array then need to use different way to show to the string
echo $customField;exit;


JoomlaFolder/components/com_easysocial/controllers/registration.php (confirmationUserEmail method)


Once you got the custom field value, then you need to pass this custom field value into $params array, so you can pass this variable to the email template file to populate your custom field value.

JoomlaFolder/components/com_easysocial/themes/wireframe/emails/registration/moderator.approvals.php
·
Monday, 12 December 2022 12:14
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post