Contact lists

Nao

  • Dadman with a boy
  • Posts: 16,079
Contact lists
« on October 19th, 2013, 01:20 PM »Last edited on July 5th, 2014, 09:31 AM
Feature: Contact lists
Developer: Nao
Target: users
Status: 80% (contact lists implemented, format is final; privacy implemented. need to remove buddy lists.)
Comment: this is a bit like the Facebook feature, but Noisen-style. Feel free to ask if you want more details.

Re: Contact lists
« Reply #1, on July 5th, 2014, 09:38 AM »
Okay, so... It's done! The editor is implemented.
I'm still missing a way to add a new list member (or a new list entirely) FROM the editor page; right now, you have to go to someone's profile, check the checkboxes, and hit submit, then go to your profile and modify the rest from there. I'll try to make that easier, so at this point it's no longer a problem of actually allowing you guys to play with your contact lists. AFAIK, everything's there.

Please go to your profile page, Contacts, and tell me what you think of it all!

Remember that Restrict lists are similar to Ignore lists, but they're more powerful (eventually everyone and every feature will be using privacy settings, right..?), and right now they don't hide user posts or prevent PMs from showing up, because... Well... I don't know. I have to implement that, I guess... Or maybe keep ignore lists next to restrict lists, but I doubt it..!

Also, everything in the page is updated by Ajax. Meaning, there are no "Save" buttons anywhere. You just do the change you wanna do, and that's it. If you rename a list, don't forget to blur out of the input box, i.e. press Tab or Return, or click outside of it, otherwise the change won't be reflected. You can reorder with the handles next to the avatars. It's just that easy...

PS: 'hidden' status isn't implemented for now. It's remembered, but not 'used'. It should be done today...

Re: Contact lists
« Reply #2, on July 5th, 2014, 11:49 AM »
Hmmm, I get an error on selecting Contacts.

 Profile.png - 7.56 kB, 925x114, viewed 300 times.


Re: Contact lists
« Reply #3, on July 5th, 2014, 01:36 PM »
Same here:

Code: [Select]
Notice: Undefined index: edit_contacts_desc in (Beginning removed)/wedge/core/html/Profile.template.php on line 616

Re: Contact lists
« Reply #4, on July 5th, 2014, 01:51 PM »
That was me not clearing the cache, not a bug.

Any feedback..?

Re: Contact lists
« Reply #5, on July 5th, 2014, 03:08 PM »
I still get an error and the sidebar isnt displayed correct. However it looks good :cool:

Re: Contact lists
« Reply #6, on July 5th, 2014, 04:22 PM »
'kay, I'd forgotten to upload the Profile.english.php file, quite simply...

Man, that Wimbledon match today was fast... (And boring.)

Re: Contact lists
« Reply #7, on July 5th, 2014, 06:56 PM »
Very cool!
Nice work. Perhaps we should extend the help for the use of "hidden". ?

Re: Contact lists
« Reply #8, on July 5th, 2014, 11:57 PM »
Sure could, but that would imply making Hidden work... ;)

Regarding the database tables, I'll probably remove the 'is_synchronous' bit, because you won't need to get contact synchronicity status anywhere outside of the contact list page, and it's easily retrieved with a query anyway...

Also, thinking of adding a 'position' index, but for this I guess I'll need your opinion on whether it's of any use. There's unlikely to be many people for each list, so, well, maybe it could even be sorted through PHP... :^^;:

I've committed all of my WIP, so you can look into these things.
I'll probably be doing more work later.

Also, I just noticed that contact_lists also have a 'position' field... Hell. It's not implemented in the current version, and I don't know if it's going to be very useful. I don't know, what do you think..? Do we need to be able to reorder lists, as opposed to list members?


Re: Contact lists
« Reply #9, on July 6th, 2014, 07:48 PM »
Quote
Regarding the database tables, I'll probably remove the 'is_synchronous' bit, because you won't need to get contact synchronicity status anywhere outside of the contact list page, and it's easily retrieved with a query anyway...
Full ACK!
Quote
Also, thinking of adding a 'position' index, but for this I guess I'll need your opinion on whether it's of any use. There's unlikely to be many people for each list, so, well, maybe it could even be sorted through PHP...
It's useless. The best way to display list members is to list them in alphabetical order.
Quote
Also, I just noticed that contact_lists also have a 'position' field... Hell. It's not implemented in the current version, and I don't know if it's going to be very useful. I don't know, what do you think..? Do we need to be able to reorder lists, as opposed to list members?
There's no need for it.... with one exception:
If you're planning a stream of news regarding from each of your lists, this could help sorting the real stuff from it.
But since there's no function... drop it for the moment!

Re: Contact lists
« Reply #10, on August 17th, 2014, 01:00 AM »
So tired, but it's working... (At least, the basics!)

Profile privacy is implemented. Have fun. Please send any praise, constructive criticism and suggestions!