Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
chimcen opened this issue Feb 15, 2018 · 4 comments
Closed
Assignees
Labels
type: bug A problem that should not be happening
Milestone

Comments

@chimcen
Copy link

chimcen commented Feb 15, 2018

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 chimcen changed the title Forum latest posts menu doesn't shows real avatars Forum latest posts menu doesn't shows real avatars and wrong post date Feb 15, 2018
@chimcen
Copy link
Author

chimcen commented Mar 5, 2018

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?

@Moc Moc added the type: bug A problem that should not be happening label Mar 5, 2018
@Moc Moc added this to the e107 2.1.8 milestone Mar 5, 2018
@chimcen
Copy link
Author

chimcen commented May 30, 2018

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}

  • if you use {TOPIC_DATESTAMP} and {TOPIC_AUTHOR_NAME} instead, it works...

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

  • if you use <h4 class='media-heading'> instead, the user icon will be centered correctly (source w3schools).

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

@Moc
Copy link
Member

Moc commented Jun 26, 2018

Confirmed the above as bugs.

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

@Moc Moc closed this as completed in 89e3716 Jun 27, 2018
@Moc
Copy link
Member

Moc commented Jun 27, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A problem that should not be happening
Projects
None yet
Development

No branches or pull requests

3 participants