Hi wpForo Team.
I just noticed these Issues on another new forum we are setting up, using the latest version of wpForo.
We use long titles on our topics and posts, so on the Widget Area, we have disabled the "Display Avatars" in our other forum (that other forum still uses the previous version of wpForo and has not been updated yet).
And so when I was setting this up on the new forum, with that same old wpForo widget settings, that's when I noticed these two issues.
I am creating two different topics on this so that if in case I find a fix, I can also contribute and update this post. Just thought I'd report it to the wpForo Team as well.
Here's how you can recreate the issue,
when I go to the wpForo Recent Topics Widget,
#1) - and then I unclick the "Display with Avatar" box,
and then I click the "Save" button,
#2 - the "Display with Avatar" box, automatically gets checked, and it is saved as is.
So essentially, the result is, the "Display with Avatar" can't be disabled.
I'm attaching the screenshot below of these two steps.
I think I found the setting that was causing the "Recent Topics Widget - Display Avatar" Issue, that automatically saves it to display the avatar.
It was - on the "$this->default_instance = array", the display_avatar was set to "true" on Line #419. (wpf-includes > functions-template.php file)
My fix was to change it to "false". (If it is set to "false", the user can enable and disable this anyway on the wpForo Widget area. To set it to "true" does not allow this Display Avatar to show or hide, it just shows. 🙂
THE CODE (Line 412 - 422):
private function init_local_vars(){
$this->default_instance = array(
'title' => 'Recent Topics',
'forumids' => array(),
'orderby' => 'created',
'order' => 'DESC',
'count' => 9,
'display_avatar' => true,
'forumids_filter' => false,
'current_forumid_filter' => false
);
WHAT I CHANGED (on Line #419):
private function init_local_vars(){
$this->default_instance = array(
'title' => 'Recent Topics',
'forumids' => array(),
'orderby' => 'created',
'order' => 'DESC',
'count' => 9,
'display_avatar' => false,
'forumids_filter' => false,
'current_forumid_filter' => false
);
This type of manual "fix" is for those users (like me) who have long Forum Post Titles and would like to Disable the avatars ONLY on the Widget area.
I hope this helps. 🙂
Screenshot of the fix:
Hi @crisw,
Thank you for these reports. All issues with Widgets are fixed, we're preparing next 1.6.1 version, it'll be released the end of this week.
Hi @robert. You are welcome and thank you as well. 🙂
And I added a signature on my profile here, with a link to my own wpForo review. The signature didn't go through at first, but I guess it's on now.
Let's see if we can have more of the current 5900 Members of the wpForo Community to add their 5 star review over at WordPress. 🤣 (I would have given more stars if I could, but I guess we can all just gaze up at the sky for more stars these days). And in case you and the wpForo Team check out my 5 star WordPress review, it's long, so bring popcorn. 🙂