Active
Project:
FriendList
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Feature request
Assigned:
Reporter:
Created:
9 Feb 2009 at 15:34 UTC
Updated:
7 Aug 2009 at 14:47 UTC
Related issue in the issue-queue of FLSM module: http://drupal.org/node/316055
Comments
Comment #1
mariusooms commentedHi irakli,
I noticed this is marked as critical, but the maintainer of that module might rebuild the whole code. I just wanted to chime in to show there is another way to so status messages. It requires a bit more configuration and a few more modules, but it can be done. The site below is actually not just statuses, but micro-blogging as a whole.
I have set up a test site here: http://druplr.ywamnation.com. Login: Batman / Pass: marvel
The idea is to use a simple content type setup with a hidden title field. Than using the from block module display the form anywhere and redirect to that page upon submission. The downside is that each set status is a node. The advantages are that you can track statuses from friends, ala facebook. You can also mark statuses as favorites using flags.
It is a good alternative, which I implement on one other site I'm developing. It is not out of the box, but can be equally powerful if not more.
Just wanted to share another solution.
Regards,
Marius
PS. The reason it is so unique and why I tried to create something like this is because Friendlist is the ONLY module that can currently filter by relationship to show only the nodes of friends.
Comment #2
bensemmel commentedHi,
as the heartbeat module already integrates with friendlist, you should have a look at it. It provides a submodule called "shouts" which can be used in a similar way as the fb-like status
See http://drupal.org/node/365649
Hope that helps.
Regards,
Ben
Comment #3
icecreamyou commented@irakli: I'm glad you're looking into this, but I think it would be a good idea to wait until the 2.x branch, since I'm expecting to rewrite much of the module to have a cleaner API for better integration. If you happen to produce a patch for the 1.x branch I will certainly commit it, but it may not be worth the effort for now.
@mariusooms: I specifically designed FBS not to use nodes because on an even moderately large site of, say, 50K regular users, if each one is posting two status updates a day, that's 100K nodes added to the DB every day. That's way too much overhead for the node table, especially assuming you have other content types like most social networks would. Your solution would certainly work for small-scale operations, but it's unrealistic as you look at a larger user base.
Also, FBS 2.x will probably integrate with Views, which by definition adds the same FriendList integration that your solution would have in relation to nodes.
@bensemmel: I have contacted the Heartbeat developers to try to get them to retire the Shout module and cooperate on building the new FBS 2.x branch, since FBS is more mature, more feature-rich, and at least 3 times as popular as the entire Heartbeat module.
Comment #4
mariusooms commentedHi IceCreamYou,
Thanks for keeping us up-to-date/in-the-loop, Views integration would be awesome. It solves most issues out of the box. I agree with the node overhead...I also use activity stream, which creates nodes for each stream item. I believe that module suffers equally with the overhead as well, even though it takes a great approach on feeds, I wish it would its own table data.
In any case, looking forward for FBS 2.x
Thanks,
Marius
Comment #5
mariusooms commentedPostponing this one. We should wait to see how FBS evolves to 2.x as it looks like 1.x will be abandoned soon after.
http://drupal.org/node/316055
Regards,
Marius
Comment #6
irakli commentedIceCreamYou,
thank you.
Comment #7
icecreamyou commentedNo problem--since there is now Views integration in FBSS I think this issue should be solved, but I won't set it to fixed until someone can test with FL and confirm. Cheers
Comment #8
irakli commentedMaking it active again and increasing priority.
Thank you
Comment #9
mercmobily commentedHi,
THis was made critical two months ago... Irakli, did you get a chance to test this and see if this issue is now a non-issue?
Thanks,
Merc.
Comment #10
icecreamyou commentedI'm 99.99% sure FBSS/FL integration works. FBSS/Views integration has been stable for well over a month now, and obviously FL has Views integration, so there's no reason they shouldn't work together. If anyone has a problem it seems like more of a case for the FBSS support queue, so marking this as fixed.
Comment #11
bensemmel commentedSorry for setting this active again,
I agree that both modules are relatively stable and are well integrated with views 2. But this doesn't mean automatically that they work together in terms of using views.
In my thinking, I would create a fbss view and then would simple choose a filter to only show statuses of a certain relationship. As the Fbss view is based on the fbss tables this filter is not available. So I tried to add a relationship in views which has something to do with friendlist. But still no luck.
Probably I'm missing something here. Can you give me a hint how to create a view with the statuses of my friends?
Regards,
Ben
PS: I didn't changed the queue because I'm not sure at all which module should have the lead here
Comment #12
icecreamyou commentedI tried it. While it should in theory be possible, it appears that the unusual setup of Views integration in FL is producing problems, namely because FL doesn't use the {user} table like I expected it to. I would think that all that would be needed here (to fix this in the code) would be a relationship from the UID column of the {facebook_status} table to the requester and requestee column in whatever FL table is relevant, but I'm not sure. I'm quite confused by the FL Views integration actually, and I won't have any time to look into it for at least the next several weeks most likely.
Comment #13
mercmobily commentedHi,
"I tried it. While it should in theory be possible, it appears that the unusual setup of Views integration in FL is producing problems,"
There is nothing unusual in the way FriendList integrates with Views... But I don't think this is possible "a relationship from the UID column of the {facebook_status} table to the requester and requestee column in whatever FL table is relevant"
Ideas welcome. I need to fix a few important bugs in FL, then some important bugs in Drigg, and *then* will start looking at feature requests...
Merc.
Comment #14
icecreamyou commentedFL's Views integration is unusual in the sense that, by not having any relationship to the {users} table, almost all integration with FL through Views must be explicitly written. This is a consequence of having two users in the equation (something that FBSS also has to deal with, making things even more confusing) - however, I've tested Flag Friend integration with FBSS and that works fine without any additional code to specifically support FF, so I know this kind of thing can be done. I'm not criticizing your design decision, but it just means that FL/FBSS integration will be more complicated than I expected it to be.
I'm not sure that what I suggested is possible either, so we'll have to wait and see until someone gets a chance to investigate deeper.
Comment #15
dummas_324324_32 commentedHi,
when I create a view which should show me the status of a friend it only shown n/a.
But when I execute this mysql-query in phpmyadmin it shows me the status..
whats wrong??
Here is my query.
Comment #16
icecreamyou commentedmathias2711, will you export your View and attach it here?
Comment #17
dummas_324324_32 commentedhi,
this is my view
Comment #18
icecreamyou commentedYeah, that's weird, I get the same result. Oddly the status ID works but the status text doesn't. Not sure why that is.
Comment #19
dummas_324324_32 commentedI`ve fixed the problem by using the flag friend module for friends ;-)