Page 1 sur 1

Autopublish not working

Posté : mer. 6 juin 2012 10:21
par Ruud
Hi,

first off: thanks for this wonderfull and powerfull plugin. We are currently testing it on our site to provide a book reviewing list.

We are running into a 'problem' where when a user submits and item, this item is not automatically enabled.

We have both the Item submission menu entry set to Auto publish = yes and in the Collector compontent's global settings als Auto publish =yes.

The permissions for these users (publishers) = 'edit state' = allowed (not sure if this has something to do with it)

We are using Joomla 2.5.4, php 5.2.17, Collector 0.5 (with the fix to add fields in this version)

Any help or pointers are highly appreciated.
thanks in advance,
Ruud.

Re: Autopublish not working

Posté : ven. 8 juin 2012 16:53
par steevo
Hi,

Yes i tested it on demo site and that doesn't work.
I will check that on post the solution here.

Re: Autopublish not working

Posté : dim. 17 juin 2012 15:24
par Ruud
Thanks for looking into this!
Looking forward to solution.
regards,
Ruud.

PS I didn receive an email notification of your topic reply?

Re: Autopublish not working

Posté : jeu. 28 juin 2012 16:07
par Ruud
steevo a écrit :Hi,

Yes i tested it on demo site and that doesn't work.
I will check that on post the solution here.
Hi,

any news yet :)

thanks,
regards,
Ruud.

Re: Autopublish not working

Posté : ven. 29 juin 2012 22:08
par steevo
Hi,

Sorry i'm on holidays at this time.
I hope i could check this next week.

Re: Autopublish not working

Posté : sam. 7 juil. 2012 23:40
par steevo
Hi,

Ok i found the problem. To solve it, in the file administrator/tables/collector_items.php

at line 610 replace

Code : Tout sélectionner

if ($key!='id')
by

Code : Tout sélectionner

if (($key!='id')&&($key!='state'))
That should work now

Re: Autopublish not working

Posté : mer. 8 août 2012 11:59
par Ruud
Hi,

just backfrom holidays myself :) thanks for your reply!
unfortunately cannot find the lines that you stated?
currently on version 0.5 (beta) and only found this file which also has a different path: /administrator/components/com_collector/tables/collector_items.php

am I missing something?
regards,
Ruud.

Re: Autopublish not working

Posté : jeu. 9 août 2012 12:08
par steevo
Ruud a écrit :/administrator/components/com_collector/tables/collector_items.php
Sorry you're right, it's that path

Re: Autopublish not working

Posté : mer. 15 août 2012 11:54
par Ruud
Hi,

just made the adjustment and it works.
it was actualy on line 585 (as part of the function storeVersion( $version = null ))
just to be complete!

thanks for the fix!
regards,
Ruud.