Adding "Author" label to posts
I noticed that the label appears when I open a discussion from the All Discussion pages, but it not appears if I recall the url directly. Any way to fix or it's because is just a css?
[deleted]
enricodx Odd. That should work regardless. Can you send me a URL so I can check ?
It's this from a mobile device ?
[deleted] it happen to me also on flarum.it
- Edited
[deleted] @Justoverclock It's curious that happens quite the opposite with the Topic Starter extension.
Same old story
[deleted]
enricodx Can you provide a link so I can check ?
Thanks
[deleted]
Ok. I just tried this on my own forum, and it works fine. I choose a random discussion from the list, and the AUTHOR tag shows. I then copy the URL and open it in another browser, and the AUTHOR tag shows there, too. If you can provide me with a URL so I can check, I'd appreciate it.
Thanks
- Edited
[deleted] u can try any url on Flarum.it
[deleted]
I think this is a bug in core to be honest. I can replicate this, and the reason as to why the author badge doesn't show is because the CSS class it relies on is not loaded unless triggered from the discussion list. There's nothing I can do to fix this sadly.
[deleted] u think is good to open an issue? But I don't know how to explain that in technical terms
[deleted]
enricodx no idea, but perhaps they should meet
I think it makes more sense for the 'author' badge to not be part of the link to the usercard/profile.
So, I think I'd be tempted to use
article.CommentPost.Post.Post--by-start-user .Post-header h3:after
instead of
article.CommentPost.Post.Post--by-start-user .Post-header h3 span.username:after
JohnP with this code works on mobile, but not on desktop
Justoverclock That's weird, I'm looking at it on a desktop now and it's working. Which browser?
- Edited
JohnP google chrome
EDIT: fixed, it was the cache
but if i use a direct link, same issue, it works only if i choose a discussion from discussion list, not for direct link
another strange thing:
here: https://flarum.it/d/53-language-pack-italiano-by-flarumit/20 i can see the label
here not: https://flarum.it/d/72-cookie-policy