Alister (alister) wrote in lj_dev,
Alister
alister
lj_dev

  • Mood:

Show the people that list you as a friend, you also list (update)

Hi,

I'd like to present this edit_do.bml diff to the group....

It alters your friends page to show which, amongst those people that list you a friend, you also list as a friend.

An example

John Doe and Fred both list Alister as a friend.
Alister has John Doe listed.
User           Name          is friend?
John Doe       John Q. Doe   yes
Fred           Fred Bloggs   no

You know that you could add Fred as a mutual friend, and there's no need to compare the is friend/your friend list..

Potential extentions:
Graphics - ticks and crosses for yes/no
Hyperlink to add username to list of friends (or javascript to insert name in 'Add Friends' at bottom of that page)

Downside: I have not got a live-running local test system, just the CVS - so this is untested. The change isn't rocket-science though, just re-ordered the database search (to collect the who-are-your-friends info) and put another column out, based on that.


Update: The diff above has been verified as working OK, and completes the basic functionality. I can get a test server together to add further to it, or leave as it is (working fine) for now. Your comments appreciated.
Subscribe

  • cl-journal livejournal client

    Hey everyone, I'd like to present a livejournal client that I wrote to fulfill my needs but maybe there are other people that can find it…

  • SessionGenerate and ljloggedin

    Are there any information after release 86 and changes in cookies scheme to use sessiongenerate? It returns ljsession key, but this key is not enough…

  • Retrieving comments

    Hi, Is there a way to retrieve a list of comments made by user XXX (which may or may be not the currently logged in user) in the journals of users…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 12 comments

  • cl-journal livejournal client

    Hey everyone, I'd like to present a livejournal client that I wrote to fulfill my needs but maybe there are other people that can find it…

  • SessionGenerate and ljloggedin

    Are there any information after release 86 and changes in cookies scheme to use sessiongenerate? It returns ljsession key, but this key is not enough…

  • Retrieving comments

    Hi, Is there a way to retrieve a list of comments made by user XXX (which may or may be not the currently logged in user) in the journals of users…