I have a site where the JS error cause my menus not to work when javascript aggregation was set on. So, I made a patch from the form to apply until the next version of Cleantalk is released.
Patch #6 works for me.
I had to downgrade to version 3.2
It would be great if the patch could be re-rolled for 3.3
I encourage a new release with the lazy loading. Google implemented an update to it's algorithm in April 2024, and our site's organic traffic dropped significantly afterwards when our mobile performance rating dropped into the Failed rating. After lazy-loading the recaptcha, our mobile performance rating improved by 20 points.
I confirm the code in the merge does fix the problem. I wanted to use it now, so I created a patch file using those same edits to LinkedInAuthManager.php.
Thank you @drakythe
I added a css rule
.mm-listitem a {
max-width: 285px;
}
Which made the child links clickable for my client on an Android phone.
austin_brian → created an issue.
I have a site that is using Views Infinite Scroll module, and the view has the Rate module used to present a thumbs-up "Like" rating for nodes in the view. After the user scrolls past several nodes and more content is loaded via AJAX, the Rate liking stops working, so in our experience the Rate module is not compatible when AJAX is used in a view.
I have changed the view to use a pager in the short term, and we're looking at creating some custom javascript/JQuery event listener to overcome the problem with Rate not being compatible with AJAX.
austin_brian → created an issue.
austin_brian → created an issue.
I also encountered the problem with non-admins not being able to see the checkbox to allow them to subscribe to notifications about comments made to their content.
I made the attached patch based on mtoscano's comment #2.
I also wanted to mark all existing users so they received notifications by default, so I wrote this hook_update_n, put it in a custom module, and ran drush updb to execute it. I had just installed the module, so I decided to delete any existing user content_notify settings and then set the settings across all users.
/**
* Set all users comment_notify to 1 for comments about their content and 2 for comments about their comments
*/
function air_utility_update_8005() {
# DELETE CURRENT ENTRIES IN users_data WHERE module like content_notify
$connection = \Drupal\Core\Database\Database::getConnection();
$num_deleted = $connection->delete('users_data')
->condition('module', 'comment_notify')
->execute();
\Drupal::logger('mymodule_notifications')->notice("Deleted comment_notify settings for ".$num_deleted." users");
# LOAD DATA FOR ALL USERS
$query = \Drupal::entityQuery('user')
->condition('status', 1)
->sort('uid');
$uids = $query->execute();
\Drupal::logger('mymodule_notifications')->notice("Loaded all users");
# LOOP THROUGH USERS AND SET DEAFULT FOR entity_notify and comment_notify
$counter = 1;
$count_users = count($uids);
foreach ($uids as $thisuid => $user) {
\Drupal::logger('mymodule_notifications')->notice("Start update for user(".$counter." of ".$count_users."): ".$thisuid."");
$counter++;
$result = $connection->insert('users_data')
->fields([
'uid' => $thisuid,
'module' => 'comment_notify',
'name' => 'entity_notify',
'value' => 1,
'serialized' => 0,
])
->execute();
$result2 = $connection->insert('users_data')
->fields([
'uid' => $thisuid,
'module' => 'comment_notify',
'name' => 'comment_notify',
'value' => 2,
'serialized' => 0,
])
->execute();
} # END FOREACH LOOP
}