Hi,

I just saw #249927: Activity Vs. workflow-ng's Content log messages . The poster writes:

"If I understand correctly, wf_ng's 'Content log messages' is able to cover the features of Activity. If logs events to a views-integrated log. wf-ng, IMO gives a more general solution."

Does "Rules" have "Content log messages"? At the moment, "activity" is in a bit of a state, with no D6 port in sight. Do you think Rules could be used *instead of* activity? If so, how?

Bye,

Merc.

Comments

mercmobily’s picture

Hi,

Alrighty, if anybody is interested, I hacked together a simple module which 1) Adds a logging action thorough Rules 2) Has simple views support. The table has "uid", "uid_target", "nid_target" and "logged message". All of the fields (well, apart from the message) can be optional. After having a look at facebook & C, I don't think we need anything else. But, I might be wrong.

The beauty of it is that:

1) There is no integration required. Well, modules do need to integrate with Rules, but they should do that anyway :-D
2) Is _immensely_ flexible. YOU get to decide what the messages say. And you get to create the right views.

I am not particularly attached to this code. And, I am not even 10000% sure it would suffice. Plus, I haven't tested it at all.

Any comments would be most welcome. I am very happy to keep this for myself, for my sites (I am not really willing to enter another duplication competition, and am not willing to run half-maintained code on my production sites). But, as I said, comments will be welcome.

I will take _special_ care of those who help me out now if this module is uploaded to the Drupal repository.
(I won't ignore the others, but they will definitely join a longer queue)

Bye,

Merc.

mariusooms’s picture

Hi Merc, I'm following your development around friendlist closely. Any added functionality that you would have control over, in contrast to modules that are out of your control, are welcomed! The integration with Rules is well implemented.

I have actually used workflow-ng as an activity feed in dp5, but back then (early on) it didn't support html in log messages yet. I believe Rules does accept html, together with tokens it could be very powerful. So YES, please share modules you develop that could benefit modules you have already created. In fact, I wish I could put you on a payroll, haha, but hey most of us are all doing this in our private hours.

Regards,

Marius

mercmobily’s picture

Hi,

I have _already_ created such a module... I just haven't tested it _that_ well -- I want to see what people say about my idea, in case it's flawed or in case it already exists...

In the meantime, http://groups.drupal.org/node/15088

Bye,

Merc.

fago’s picture

>I have actually used workflow-ng as an activity feed in dp5, but back then (early on) it didn't support html in log messages yet

In the latest version, this has changed. Now you can use html there.

mercmobily’s picture

Hi,

From my message on the 20th of September, things have changed a bit.
I wrote a full module that does Activity Logging. It's a "glue" module between Views and Rules.

http://drupal.org/project/activity_log

The port of wf_ng's "Content log messages" to D6 won't be beneficial to Drupal in the context of Social Networking.
Please see the README.txt in "Activity Log" to see why -- and to see what Activity Log does, and how.

It's only an idea, and things might change, but it's definitely a good start.

Merc.

mercmobily’s picture

Status: Active » Fixed

Hi,

Closing this issue.

Merc.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

mitchell’s picture

Component: Miscellaneous » Rules Core

Updated component.