On Jul 30, 2013, at 4:21 PM, Sergiu Dumitriu <[email protected]> wrote:
On 07/30/2013 09:11 AM, Clemens Klein-Robbenhaar wrote:
Hi,
I just noticed that whenever someone creates a new blog page, this new blog page shows up in the Activity Stream, even if the page entry is not yet published. I guess this makes just sense from the point of view of the Activity-stream, as creating the blog page always creates an entry in the activity stream DB of type "create". However I feel it might upset some users who expect that their unpublished blog pages remain "secret".
I wonder where I should dig in to prevent these entries showing up. Is it possible to suppress logging the "create" event in the activity DB until the Blog entry gets published? Or should I better try to filter these events in the macro displaying the activity stream.
Oh, and is there any general interest in suppressing these entries in the activity stream, or is it just me and I can look for a solution on the "works-for-me" level instead of something others might find reusable?
Cheers, Clemens
That's kind of a bug/missing feature. The blog app was developed before the "hidden documents" feature was fully adopted, so it used a poor-man's document hiding method that only works inside the blog application itself. It needs an update so that unpublished blog posts are also hidden.
Hmm I'm not sure about that Sergiu. Imagine the following: * I am a normal user (I haven't touched my preferences) * I create a blog post and save * Suddenly when I go to the blog home page, my blog post doesn't show any more (because it's hidden) * I also search in the wiki and I don't see it. I go to AllDocs index page and I don't see it listed either. I click ctrl+G and I don't get it too… Published doesn't mean that page is visible/not visible. It means visible to RSS feeds. The notion of draft vs published page is a different concept that we don't currently have. Now what we need to do with the planned rewrite of the AS is introduce the notion of persistent filters for the AS so that you can decide what to display or not display. Clements, FYI this notion of filters was in the spec of the AS UI from the beginning but it's not been implemented yet (a first version was done by Edy on a research project AFAIK but not integrated). We wanted to do this in 5.2 (the rewrite of the AS but it got delayed). I don't know if anyone will have the time to work on this before the end of the year but it's pretty high in our todo list since the AS is a hog ATM… What you could do in the meantime is edit the Main.Activity page objects to modify the activity macro and filter out what you want. Thanks -Vincent