6 Aug 2019 #1

Default avatar with Hovercards

Ultimate subscriber
@Shade Great job. However, how to set a default avatar if user has none?
day-day 8 Aug 2019
inc/plugins/bankpipe.php, line 388:

$users[] = $user
Add before:

if (!$user['avatar']) {
$user['avatar'] = 'what you want';

Btw, it's not overkill even for hundreds thousands of users. You could run a single query to set a default avatar, and install a plugin that takes care of new users when they register. Just my two cents.
Shade (6 Aug 2019)
This worked for me, but you might want to fix that typo!