Multiple blogs and approve workflow?

Author Message

Nicklas Lundgren

Thursday 18 January 2007 12:55:33 pm

Hi,

I have a tough question for you, Im afraid...

We´re creating a site with multiple blogs. The blogs will be maintanined by different bloggers, who will all log in to eZ to post their blog-entries.

It is possible to accept comments to these blogs. But if comments are accepted, they will be passed through an approve workflow before being published.

Now to the hard part of it - we want to have comments being added to the blog of Writer 1 passed only to him for approving. Not to all bloggers. Also, we want ONLY Writer 1 to get the notification email, that a comment is awaiting approval.

Until now, all comments is available for approval by all bloggers.Also, all bloggers will get the notification email stating that a new comment is available for approval.

We´re using the ezapprove2 extension.

Any ideas on how to handle this issue?

Best regards,
/Nicklas

Nicklas Lundgren, Managing Director
Novitell AB, Sweden

Francisca Hernández

Thursday 21 June 2007 3:50:38 pm

Hi,

I have the same problem.
-> we want to have comments being added to the blog of Writer 1 passed only to him for approving. Not to all bloggers. Also, we want ONLY Writer 1 to get the notification email, that a comment is awaiting approval.

Did you get a solution for this part? Could you help me?
Thanks in advance.
fran

Iguana IT, SL - http://www.iguanait.com

Xavier Dutoit

Friday 22 June 2007 8:41:01 am

Use sections for that:

I have an event that change the section to "to be approved", and only the blogger got access to the content in this section below his blog node.

Then, display a button to let him change the section to "standard" if he wants to approve it and make it visible.

I have to publish it as a contrib and I'll try to find the time to do that soon. I'd need a hand for the explaination and some modification on the templates. Anyone ?

X+

http://www.sydesy.com

Francesco Trucchia

Monday 11 August 2008 11:18:07 am

I Xavier,
I think your solution is great instead of approve workflow system.

I'm very interesting in this extension and I could help to finishing and publishing on ez project.

Contact me.

--
Francesco Trucchia
CTO

ft@ideato.it
Skype: trucchia

ideato srl - web ideas for sale
http://www.ideato.it

Nicklas Lundgren

Tuesday 04 November 2008 5:43:31 am

Hi,
For my original question in this thread - we solved it by assigning a specific section for every blogger. Then, we used the multiplexer workflow process to control that only one user(the blogger) should have the notification emails, and be able to accept the comments for his blogg.

It´s been working gloriously well for over a year, and now the site has about 20 bloggers.

However - now it turns out that the notification emails once in a while is delivered to the wrong blogger.

An example:
Blogger A gets a comment written for his blogg.
This triggers the workflow system, and the system puts the comment "on hold" for being approved.
An email is sent to the blogger, that he has a comment to approve (this is where it goes wrong - the email goes to another blogger...)
The blogger logs in to eZ Admin and approves the comment.
The comment is published and all is well, besides the problem i described.

Can´t find the source for this problem. Any ideas, someone?

Best regards,
/Nicklas

Nicklas Lundgren, Managing Director
Novitell AB, Sweden

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 11:37:52
Script start
Timing: Jan 18 2025 11:37:52
Module start 'layout'
Timing: Jan 18 2025 11:37:52
Module start 'content'
Timing: Jan 18 2025 11:37:53
Module end 'content'
Timing: Jan 18 2025 11:37:53
Script end

Main resources:

Total runtime0.9680 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0075 594.7344152.6250
Module start 'layout' 0.00750.0031 747.359439.4453
Module start 'content' 0.01050.9560 786.8047659.7422
Module end 'content' 0.96650.0015 1,446.546916.1563
Script end 0.9680  1,462.7031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.3999160.0002
Check MTime0.00180.1838160.0001
Mysql Total
Database connection0.00180.187010.0018
Mysqli_queries0.886091.5295670.0132
Looping result0.00140.1428650.0000
Template Total0.924095.520.4620
Template load0.00310.315320.0015
Template processing0.920995.135720.4605
Template load and register function0.00020.017610.0002
states
state_id_array0.00210.217710.0021
state_identifier_array0.00230.233320.0011
Override
Cache load0.00260.2685500.0001
Sytem overhead
Fetch class attribute can translate value0.00080.083340.0002
Fetch class attribute name0.00180.187590.0002
XML
Image XML parsing0.00250.256940.0006
class_abstraction
Instantiating content class attribute0.00000.0017100.0000
General
dbfile0.00140.1441340.0000
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
7content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 29
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs