You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of now, friends work one-way, i.e. Alice can have Bob in her friends even if Bob does not.
This way users have more control over their privacy settings.
As of now, the friend list of a user is stored in JSON string format, in the DB table users. This make it easy to see if one can ask/view a user (at profile.php sent.php viewq.php) and change the whole list at once (at friends.php)
We could also store the friends in another table (user, friend). Then it would be easier to add/delete a friend and see if a particular user is a friends of another user (for example "Add Friend" button at profiles). Would this be better, and in what way?
The text was updated successfully, but these errors were encountered:
Removed old useless files, began working on Search (waiting to see if
the way friends are stored will change at #8 ), added style for error
messages in profile.php (You cannot ask/view) , removed backticks at SQL
queries
As of now, friends work one-way, i.e. Alice can have Bob in her friends even if Bob does not.
This way users have more control over their privacy settings.
As of now, the friend list of a user is stored in JSON string format, in the DB table
users
. This make it easy to see if one can ask/view a user (at profile.php sent.php viewq.php) and change the whole list at once (at friends.php)We could also store the friends in another table (user, friend). Then it would be easier to add/delete a friend and see if a particular user is a friends of another user (for example "Add Friend" button at profiles). Would this be better, and in what way?
The text was updated successfully, but these errors were encountered: