is there a way to add user icons to the recent comments block?

I've tried a few tweaks of the SQL query so as to pull in the relevant users picture field, but this seems to add a whole lot of overhead to the process, and significantly slows things down.

there must be a more efficient way - any help appreciated.

Comments

luyendao’s picture

In 4.6 if you go to admin > themes >settings (curious place to put it),

You can check the User pictures in posts and User pictures in comments

I believe if an image exists, it will add it automatically if I remember correct from the node template. Hope that helps.

noizyboy’s picture

yeah, that works for comments and posts, but not the 'recent comments block'.

currently using this thread for a few ideas.

luyendao’s picture

You're quite correct, you'd have to write a custom query like what drupal does for its other blocks.