Forums / Developer / Multiple blogs and approve workflow?

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

eZ debug

Timing: Jan 18 2025 10:41:20
Script start
Timing: Jan 18 2025 10:41:20
Module start 'content'
Timing: Jan 18 2025 10:41:21
Module end 'content'
Timing: Jan 18 2025 10:41:21
Script end

Main resources:

Total runtime1.2913 sec
Peak memory usage4,096.0000 KB
Database Queries204

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 587.7344180.8281
Module start 'content' 0.00551.0644 768.5625664.8203
Module end 'content' 1.06980.2214 1,433.3828341.0547
Script end 1.2912  1,774.4375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.3194210.0002
Check MTime0.00140.1062210.0001
Mysql Total
Database connection0.00070.057810.0007
Mysqli_queries1.195192.54572040.0059
Looping result0.00310.23882020.0000
Template Total1.254897.220.6274
Template load0.00260.202620.0013
Template processing1.252296.970420.6261
Template load and register function0.00010.008010.0001
states
state_id_array0.00130.099310.0013
state_identifier_array0.00120.090520.0006
Override
Cache load0.00230.1748500.0000
Sytem overhead
Fetch class attribute can translate value0.00220.169850.0004
Fetch class attribute name0.00160.127190.0002
XML
Image XML parsing0.00300.233350.0006
class_abstraction
Instantiating content class attribute0.00000.0011100.0000
General
dbfile0.00300.2296450.0001
String conversion0.00000.000430.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 29
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs