I am working with Activity Module 6.x-2.x-dev and FBSS 6.x-2.0, everything is working fine expect for this issue I am facing when a user saves a new FBSS message the activity message for it is not shown to public, only on the activity page of the very same user.
If the user writes something on other user's FBSS it's show in the activity template. both on the poster's, owner's and public page.
On posting on one's own FBSS the user posting it can see it on his/her activity, however, it's not displayed to other users' they only see time stamp and comment form, no Activity message.
Even the user-> 1 can't see the message.
The activity templates I have created for FBSS are:
- Owner message:
<span class="fbss_icon1">[poster] added a new scrap "[status-raw]" to your wall</span>- Poster message:
<span class="fbss_icon2">You added a new scrap "[status-raw]" to [owner]'s wall</span>- Self message:
<span class="fbss_icon3">You added a new scrap "[status-raw]" to your wall</span>- Public message:
<span class="fbss_icon4">[poster] added a new scrap "[status-raw]" to [owner]'s wall</span>I am attaching a screenshot to show the activity page... I have been battling with this issue for quite sometime, I even changed the permission tables on the activity to other users.
* I am using localhost machine.
Thanks for any help..
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | Screenshot.png | 35.98 KB | tnlone |
| #4 | Screenshot-1.png | 37.8 KB | tnlone |
| #4 | Screenshot-2.png | 28.9 KB | tnlone |
| #4 | Screenshot-3.png | 30.62 KB | tnlone |
| #1 | Screenshot.png | 41.93 KB | tnlone |
Comments
Comment #1
tnlone commentedsorry for some reason it didn't attach the image..attaching it again
Comment #2
tnlone commentedI check the activity table in the DB, and it seems that Activity does not write the data even to the Activity tables, I have missing/empty table structures
Comment #3
Scott Reynolds commentedYou need to fill out the public message in the template.
Comment #4
tnlone commentedThanks for your respond however, I have already filled the public message template....which is as the following...
Public message template:
<span class="fbss_icon4">[poster] added a new scrap "[status-raw]" to [owner]'s wall</span>I tried to fill a single public message manually into the DB table "Activity Messages" where the value is empty...it did show up on the "wall".. so from my point of view, activity is not properly writing the public message to the DB, as their is no DB query to fill out.
Also just for the info I did a whole fresh install of Drupal 6.15, and install just the inbuilt optional modules, 6.x-2.x-dev, FBSS 6.x-2.0 however the issues still eludes me.
As they say picture is worth a million words so I have attached the screenshots to the issue...
I am investigating it further...
Comment #5
Scott Reynolds commentedUnless Activity isn't working for the other templates then its a FBSS issue they implement the Activity API. And I know they do some strange things around 'if someone else writes on wall' vs 'myself writing on my own wall' that I caution against when it was committed.
Comment #6
tnlone commentedThanks for the prompt reply,
Yes the Activity API is working with other modules, and is displaying options correctly, with FBSS Activity the only issue is when a user posts on his/her own wall the Activity is not shown to public just the user. Public Activity template is not written correctly to the DB,
I will have to look at the handlers for that in the FBSS
Comment #7
icecreamyou commentedYou should have two public message fields, one called Public message (one user to another): and the other called Public message (self-update):. You need to fill in the second one.
On the back end, this is achieved through an annoyingly complex process mainly because Scott declined to make available a crucial variable in one of the _alter() hooks, instead starting an argument about whether my use case was valid. This discussion was a long time ago and I don't remember the details.
However, I haven't tested FBSS with Activity for awhile, and I wouldn't be surprised if that doesn't work any more. This is because I have been repeatedly very frustrated with the Activity 2.x API. Activity 2.x is essentially the recommended branch for new sites, but it has been under development for a long time and there is still no stable release for developers to use as a reference point for integration. I am simply not going to put my development time into actively supporting a moving target. I don't have the time and it will just break anyway and without warning it seems. Literally one-third of the open (non-fixed) issues in the FBSS queue right now are a problem with Activity integration, in part for these reasons.
Scott: I appreciate the work you do, and Activity is a great module. I really, really want FBSS and Activity to work together nicely because they complement each other quite well. They have almost the same usage stats and the user bases probably heavily overlap. And I don't mean to criticize you specifically, as you've been very helpful at various times as well. But I hope you understand my frustration here. How am I supposed to keep up with API changes without even an alpha release to base my code off of? You can change the API between alphas... just put it in the release notes when you do, please! (Plus, Activity 2.x is so much nicer than Activity 1.x, it seems like a shame not to use the 2.x branch... 1.x can't do nearly as much awesome.) I understand the reasoning for not having a stable release yet, but for developers' sakes, this is why iterated development exists.
Comment #8
icecreamyou commentedComment #9
Scott Reynolds commented#725146: Fix Activity Integration