-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Few questions #3
Comments
to add a view counter basically analysis just add a new schema in property in userSchema i.e profileViews and update its value i.e currentview + 1 whenever new user visits its page make sure to add cookie to make it unique per user and about profile image just update the value of the image:{ pretty simple and i am gonna add detailed views analysis in some days |
Thanks for the fast answer! One thing, I meant the background of the user, not the profile image. |
misunderstood but its pretty simple you need to add a new value in the user schema and add a div with img in it and in the dashboard add a input to update the value and the img src thats it |
Thanks! I will try that. Still I would be glad if you could add it in the next update if you have free time. |
By the way I want to mention a small but important bug |
yah fixing it |
fixed!! |
Works amazing, thanks 👍🏻 |
in |
Hey, removing it solved the issue of link being disappear from dashboard, however I still can't see the background on my profile 🤔 |
did you added img tag with proper fetching and assigning src? in the UserSocials.jsx? |
Probably not. I tried these but they only display videos or images, I don't know how to display both videos and images at once |
pretty easy fix just add a logic, if theres .mp4 in the
|
it will work ig |
I just changed places of ? and : and it works!! You are a genius 😄 |
haha mistakenly swapped the place glad it worked 😁 |
I changed few things about the user links, I tried for an hour to center the buttons but I couldn't do it im pretty sure its easy but can u help?
|
just add |
and why |
dude thats what making it to not be in center the |
Oh I fixed it by changing few things on the div |
Hey, amazing project! I just have few questions I would be really happy if you can answer.
The text was updated successfully, but these errors were encountered: