Support for SermonSpeaker 5.x is in bugfix mode only, the same as it is for Joomla 3.10.
I will not add any new features to this releases.
Please upgrade to SermonSpeaker 6.x and Joomla 4.x, which is better anyway.

Default new / freshly imported sermons Unpublished

More
22 Sep 2015 10:36 #5537 by Ken Lee
Dear Thomas,
There are 2 questions and the first question leads to the second.
First question:
I would like you consider making the default publish status as "Unpublished" for new sermons and those sermons imported by Tool "Create Sermons Automatically". (Or making it a global configuration option)
I am thinking a sermon should go through some editing (adding description, add picture, etc) before going published.
Second question:
In addition to "publish" in SermonSpeaker, I need to be able to further copy sermons marked Published out from Joomla to some external parties regularly. (e.g. SELECTing some rows and get the audiofile VALUE from sermon_sermons table) To that end SermonSpeaker is more than an end-system. It is a part in a workflow.
So would advise how it can be done like this: Log the action of a sermon being changed from "Unpublished" to "Published" (PublishLog). At some time I could: SELECT audiofile FROM PublishLog WHERE sermon IS PUBLISHED. Then I copy the audiofile to somewhere else by FTP, etc. Then rotate PublishLog.
Greatly welcome if you suggest alternate implementations.
Ken

Please Log in or Create an account to join the conversation.

More
22 Sep 2015 12:06 #5538 by Thomas Hunziker
Did you try with a user who can create, but isn't allowed to change the state? Eg an "author" should have these permissions by default. Then it should create the items unpublished. If not, it would be a bug I have to fix :)
That would be the way articles and all other core items work. An author would create it and a publisher would publish afterwards.

The second part could be done already with a custom plugin. The saving of a sermon (or any item) triggers a plugin event and if you catch that you can do whatever you want. Even automatically uploading the file to another place.

Please Log in or Create an account to join the conversation.

More
23 Sep 2015 04:59 #5539 by Ken Lee
Dear Thomas,
I did the test as below. Seems sermons created by script tool "Create Sermons Automatically" are default published and SermonCast also published.
Details as below.
I created a user "Pydio" assigned to group "Backend Author", with Site Login, Create and Edit Own at Global Configuration, Permission tab. (attachment PydioUser1.)


I set Create, Edit Own and Run scripts for Backend Author at SermonSpeaker component. (attachment PydioUser2)


With Pydio user create a sermon at front-end
, and use a script to call /index.php?option=com_sermonspeaker&task=script.createAutomatic&us
ername=pydio&password=XXXXXXX which created sermon "cc0012". (attachment PydioUser3) You can see the states differ.
Attachments:

Please Log in or Create an account to join the conversation.

More
23 Sep 2015 10:29 #5540 by Thomas Hunziker
I see, the state is actually hardcoded in the tools method. I should be able to fix that easily.
The frontend looks like working as expected.

Please Log in or Create an account to join the conversation.

More
24 Sep 2015 08:26 #5542 by Thomas Hunziker
The following user(s) said Thank You: Ken Lee

Please Log in or Create an account to join the conversation.

More
24 Sep 2015 08:42 #5544 by Ken Lee
Dear Thomas,
Problem solved. Script imported sermons are now unpublished and its Sermoncast unpublished.
Thanks a lot.

Please Log in or Create an account to join the conversation.

Time to create page: 0.320 seconds
Powered by Kunena Forum