Autopublish not working

Si vous détectez un bug, signalez-le ici
Ruud
Messages : 6
Enregistré le : mer. 6 juin 2012 10:13

Autopublish not working

Message 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.

Avatar du membre
steevo
Administrateur du site
Messages : 330
Enregistré le : jeu. 17 déc. 2009 22:59
Contact :

Re: Autopublish not working

Message par steevo »

Hi,

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

Ruud
Messages : 6
Enregistré le : mer. 6 juin 2012 10:13

Re: Autopublish not working

Message par Ruud »

Thanks for looking into this!
Looking forward to solution.
regards,
Ruud.

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

Ruud
Messages : 6
Enregistré le : mer. 6 juin 2012 10:13

Re: Autopublish not working

Message 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.

Avatar du membre
steevo
Administrateur du site
Messages : 330
Enregistré le : jeu. 17 déc. 2009 22:59
Contact :

Re: Autopublish not working

Message par steevo »

Hi,

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

Avatar du membre
steevo
Administrateur du site
Messages : 330
Enregistré le : jeu. 17 déc. 2009 22:59
Contact :

Re: Autopublish not working

Message 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

Ruud
Messages : 6
Enregistré le : mer. 6 juin 2012 10:13

Re: Autopublish not working

Message 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.

Avatar du membre
steevo
Administrateur du site
Messages : 330
Enregistré le : jeu. 17 déc. 2009 22:59
Contact :

Re: Autopublish not working

Message par steevo »

Ruud a écrit :/administrator/components/com_collector/tables/collector_items.php
Sorry you're right, it's that path

Ruud
Messages : 6
Enregistré le : mer. 6 juin 2012 10:13

Re: Autopublish not working

Message 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.

Répondre