How to fix user data display and scrolling in a Webflow comment section template? Answered
Hey, I've built a commenting page for community, and I copied everything from the template but still few things are not working:
- the name and last and the image of the member doesn't show, Yes I've added the attributes to them
- And the delete Post div is not working
- I want for the commenting container to have a scrollbar but it doesn't work when i Published it.
here is the link for the preview:
https://preview.webflow.com/preview/skillma?utm_medium=preview_link&utm_source=designe[…]&pageId=66de2e42d8240ad070f1ed97&locale=en&workflow=preview
Comments
8 comments
Hey ilyas el megarbi,
A J you can sign up here https://www.skill.ma/sign-up and then go to this link:
https://www.skill.ma/web-app/communities/skill-original-community
I've set the first name and last name to public and it worked, what about the profile image?
Hey ilyas el megarbi, I tested this out from my end.
A J The Delete Box Worked Pefectly But for The Scrollbar, I've given the height to community-chat-div But when publiching Live Is Not Working. and for the comenting component that I copied is this:
https://www.memberstack.com/webflow/commenting-ui
Hey ilyas el megarbi, okay in that case alternatively have the overflow and height property in the c-comment-has-posts div, doing so should reflect the scrollable tendency as shown in screenshot.
And I tested out the component that you shared, the live site seems to be working on my end when I clone it and unfortunately I was not able to replicate the issue from my site. The profile picture seems to be populating accurately as shown in screenshot #2. Is the profile picture working on the Lessons template of the courses? If yes, you could try copy pasting it to your community page and customize the design as you like, or if you want the exact component you can try cloning it to a dummy page and checking if there is any difference.
A J The profile picture it's not working also in the lesson page template
I checked there is no cutom code in the community besides the hide the scroll bar, I don't think that there is a code interfiring with it
Any Updates?
Hey ilyas el megarbi, if it's not working in lessons template as well, it is likely possible that something on the site-wide is affecting the images. It could be site-wide code / 3rd party plugin / library etc. So to test it, you can clone this in a separate site and publish it to see if you are able to see the profile pictures accurately, which should be the case since I did exactly that and it seems to work as well.
However, since I am not sure about the site setup and what is interfering with the images as of now, I have a workaround for this, which atleast will make the images valid and follow Memberstack data. You can add this custom code to the before </body> section of all the pages where commenting is enabled.
A J The Code Worked Perfectly, Thanks again for your help
Please sign in to leave a comment.