New page for every user [closed] - javascript

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
What i basically want to do is to log in a user and make a new page for every user with its own personal details.
So for example user A signs in, he would have a different view than user B.
I am using javascript ans firebase for back end.
How can i make that happen?
A rough idea would be enough.

You should use Sessions for each user and one the bases of Session value you must populate values for the user each user will have seperate details and each user will have different data page will be same but data will be different so user feels that he has a new page

Related

How do you create a sharable custom url depending on user selected options [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I have seen websites that create a sharable link that is generated depending on what options the user chooses but I'm not really sure how they're implemented (or what this process is called).
e.g. this website has a share button at the bottom that creates a sharable link for a given selection.
You can do a rudimental but easy solution. Add a URL Parameter to the button link and redirect on click depending on the parameter.

Auto update chat system [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I am trying to auto update my chat system whenever a user
Types a message but there are no good tutorials on YouTube i can update when a user starts typing but i want it to be live ive tried:
Infinite loops (page crashed) and
When a user Types update (i want it live)
And my page crashed.
I have access to jquery ajax and built in JavaScript ajax.
Thank you.
You can try to work with long polling or comet or web socket features for auto-updating your chat system, while you want to check the user, starts typing or no.

Fetching and comparing common likes between two profiles using Facebook API [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I need to fetch and compare commom page likes or another data from facebook between different profiles.
For example, using Tinder, when you are reading about the profiles you can see your common page likes, that's it!
Does anyone has some information about it?
https://developers.facebook.com/docs/graph-api/reference/v2.2/user/likes
A user access token with user_likes permission is required to see all pages liked by that person.
You need to read the user likes of both profiles and match them on your own.
Keep in mind that you need to go through a review process for user_likes.

Redirect every third user to another page [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I want to redirect every third user of my website to another page.
For example in js html
window.location = "http://www.yoururl.com";
The reason behind this need, is to attempt to load balance my traffic
Every third user isn't possible without incorporating some kind of backend code on the server. But redirecting approximately one third of all visitors is possible.
if (Math.random() < 0.333333) window.location = "http://www.yoururl.com";

Make an search engine and get result based on the frequency of search [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I want to make a search for my website to search the user form my database. Let say I want maybe the most popular or searched user be search priority instead of some no name guy and without using other search engine api/framework. I rather doing this with my finger. So how can i acheive it?I using php for server side ,javascript client side,mysql for database.
In your database add score column and add +1 to it whenever user is visited from search results.
After that simply add ORDER BY score DESC to your query when displaying results.

Categories