With the latest update to discourse , we are facing the issue of user portfolio feature not working. The button on the user card is gone and the page can’t be accessed.
Is the portfolio functionality deprecated?
With the latest update to discourse , we are facing the issue of user portfolio feature not working. The button on the user card is gone and the page can’t be accessed.
Is the portfolio functionality deprecated?
Not at all, it’s just the usual Discourse core updates occasionally forcing compatibility changes. Fixed here:
If you think Topic List Previews is awesome & I did a great job, you can buy me a coffee
Thank you so much, it works again
According to the plugin documentation, the “Topic List Featured Images count” can be set to “unlimited”.
However, in practice, it seems that the number of featured images is limited by the /tag/.json endpoint, which only returns a maximum of 30 topics.
Phenomenon observed:
Sounds about right. Silly description but sensible behaviour
I will change the description to something more suitable.
Thanks for clarifying! I understand now that the 30-item limit comes from the /tag/.json
endpoint itself.
I was wondering: would it be possible to either
I’m not sure whether this is technically possible within the current plugin or Discourse APIs, but I think it could make the display feel more dynamic. What do you think?
It would need to be redesigned so as to successively load each “page” on demand.
PR welcome.
hi, i am a newbee here, your plugin is so wonderful and i really enjoy it, but i have a question, is it able to show the more than one thumbnail on one topic? let’s say, the topic contain 4 or more images, and i wish to show all the image on the topic card. tried research some theme component and dive on discourse doc, i can’t really find a good way to extract image from topic, the last option was using dicourse api. Really appreciate if you can help/explain/give some idea
Thanks for your kind words.
Unfortunately at present it is not possible. It leverages core thumbnail code which only allows one to be chosen at a time.
However, at least it lets you choose which thumbnail and doesn’t restrict you to the first post.
It would be significant work to add the option of several thumbnails in part because you would need to pay particular attention to Topic List performance.
I would accept a high quality PR.
Thanks for the swift reply.
U r correct. performance is headache, if using api to get topic.cooked field and extract it.
Hi Rob - I’d love to highlight the OP Author using tiles in TLP for a little project I’m doing.
I’ve worked out that I can hide the other participants with this CSS:
.topic-footer .topic-users .inline a {
display: none;
}
.topic-footer .topic-users .inline a:first-child {
display: inline-block; /* Display only the first link/image */
}
However, I can’t work out how to make the OP Author’s avatar thumbnails bigger - certainly I can’t with CSS alone.
Can you suggest anything?
I don’t seem to be able to select thumbnails from posts other than the OP (with the sidecar installed). It would be very helpful sometimes to be able to do so!
I’m afraid I do not have a lot of time atm, but try this:
.tiles-style .topic-users .inline .avatar {
width: 34px;
height: 34px;
}
that seems to do the trick on my site …
Thanks Rob!
I had already tried that, but unfortunately it gives fuzzy avatars. The problem is that it is pulling the low res (24px) files, and I want it to get the 48px files.
Being a rubbish dev, I can’t see where in your code (if anywhere) I could hack that.