e107inc / e107

e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
https://e107.org
GNU General Public License v3.0
322 stars 214 forks source link

Forum latest posts menu doesn't shows real avatars and wrong post date #3040

Closed chimcen closed 6 years ago

chimcen commented 6 years ago

Hi,

i've enabled the latest forum posts menu on my site - but since update to e107 v2.1.7 it will show me the default blank_avatar image instead of the user avatar from post owner/writer...

And it shows me the wrong post date...

btw. i changed the default blank_avatar image to an bf1 char image... ;)

Can anyone help?

latest posts

chimcen commented 6 years ago

I've downloaded the lates forum plugin files from git and the problem remains... image

when print out the data within the array looks good - 10 digit unix timestamp... image

does anyone have the same problem?

chimcen commented 6 years ago

Found the solution - some errors in "newforumposts_menu_template.php". I use the template "minimal".

In e107git you use {POST_DATESTAMP} and {POST_AUTHOR_NAME}

Another failure is the used class <h4 class='media-header'>

But i don't know how to get the post message also visible... you use {POST_CONTENT} but this didn't work...

Moc commented 6 years ago

Confirmed the above as bugs.

There is also an issue with the menu title. If left empty, it will display Array (

Moc commented 6 years ago

Fixes in #3132 and just added some additional template changes from media-header to media-heading. All issues reported here should be fixed now