• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed News Feed Item for Media Insert displays incorrectly

#1
After updating from v1 to 1.0.2 (I skipped the important security update release), my news feed items for Media Inserts don't show the album they were added to.
xfmg-err.png xfmg-err2.png
Upon further inspection, I noted that the template news_feed_item_xengallery_media_insert had the following (first) line removed from the earlier version of XFMG

Code:
<xen:set var="$containerType">{xen:if '{$content.album_id} > 0', album, category}</xen:set>
Restoring that line to the start of the template restored my news feed items to their correct display.
xfmg-err3.png xfmg-err4.png

I don't see the problem replicated here at XenForo itself, so I'm not sure if this is an issue that I've somehow inflicted upon myself, or if it was already corrected here, or if the latest version isn't running here.
 

Chris D

XenForo developer
Staff member
#2
I think you may have had an outdated template.

We did make a change in XFMG 1.0.2, which it appears didn't take effect for you, for some reason.

If you revert the template, does that make it work now as expected?