Closed (fixed)
Project:
Facebook-style Statuses (Microblog)
Version:
6.x-1.x-dev
Component:
Code - Functionality
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
7 Sep 2008 at 16:41 UTC
Updated:
13 Oct 2008 at 02:02 UTC
Comments
Comment #1
icecreamyou commentedComment #2
icecreamyou commentedComment #3
josecancel commentedThanks alot...IceCreamYou
Comment #4
icecreamyou commentedI decided against adding the status to the profile, for various reasons.
I need you to test NoticeFeed integration for me before I add it to the actual module. To do that, you should insert this code at the very end of facebook_status.module (without the PHP tags!):
Then, in the function
facebook_status_update_form_submit, search for the phrase "status has been updated" (without the quotes) and add this code (also without the PHP tags) immediately after the two lines on which the phrase occurs:...then try adding/changing a status and see whether everything works. Check your log as well to make sure it's not throwing up errors.
Comment #5
icecreamyou commentedComment #6
icecreamyou commentedPlease note that I cannot add this code to the module if it has not been confirmed that it works.
Comment #7
Flying Drupalist commentedI'll do it, cheers :D
Comment #8
Flying Drupalist commentedSorry, I don't know if I'm doing something wrong, but I got:
Parse error: syntax error, unexpected '}' in /public_html/sites/all/modules/facebook_status/facebook_status.module on line 340
The function looks like this, did I do something bad?
Comment #9
icecreamyou commentedThat's my fault actually, you need a semicolon (;) right after
fbs_notice_insert($user->uid)(in both places).Comment #10
Flying Drupalist commentedThanks, just wanted to say that I'm having some unrelated issues. I'll get right back to you on the testing.
Comment #11
Flying Drupalist commentedHi, I'm not sure if I'm doing anything wrong, but it is not working as far as I can discern. No notices about changed statuses show up. I think I'm going to drop the notice module in favor of activity log though.
Comment #12
icecreamyou commentedNotice Feed does seem like a pretty weak module to me. You're probably justified in going for Activity Log instead, which is written by a very good programmer who's likely to support it well.
Because I can't test this to see what's not working, and because it doesn't seem needed at this point, I'm going to mark this as "won't fix." Feel free to change it back if the situation changes.
Comment #13
icecreamyou commentedBy the way, I think the problem is that the module is called 'notice,' not 'noticefeed,' so the function wasn't getting called because it wasn't passing module_exists.
Comment #14
Flying Drupalist commentedI changed it (to notice), and it works. It doesn't display exactly what the new status is though, but it does say status has been changed. And you're right, noticefeed is pretty weak, nothing that friends do show up on the feed, so I don't really understand how it's integrated with friend at all. Thanks for the code, looking at it I think it works as intended.
Comment #15
icecreamyou commentedIn that case, marking as RTBC so I remember to actually add this to the module.
Comment #16
icecreamyou commentedFixed locally, will update CVS soon.
Comment #17
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.