xoops forums

Mamba

Moderator
Posted on: 2015/11/14 13:02
Mamba
Mamba (Show more)
Moderator
Posts: 10873
Since: 2004/4/23
#1

Publisher 1.02 RC-3 available for testing

The Publisher 1.02 RC3 (Release Candidate 3) is available for testing.

You can download it from GitHub.

You can also fork it from there, and submit your improvements or bug fixes.

We encourage everybody to open an account on GitHub and get used to working with Git, as this is the current Industry Standard.

Please note:

a) This version is developed and tested ONLY on XOOPS 2.5.7.1 and XOOPS 2.5.8 Beta
b) this is RC-3, so your testing and feedback is appreciated
c) the TCPDF library has been updated and moved to

/xoops_lib/vendor

If you would like to test PDF, you can download it from our SVN as well (use the "Download Snapshot" link)

We'll be offering it soon on GitHub as well.

We are also looking for help with the Tutorial for Publisher and for few other modules.

You can fork the Publisher Tutorial in GitHub, and then use GitBook to modify it, or you can modify it manually, directly in GitHub, or on your local PC with your own editor.

The beauty of this approach is that once you learn how to use GitHub, you can use these skills for both source code and for Documentation
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

Dante7237

Friend of XOOPS
Posted on: 2015/11/15 13:04
Dante7237
Dante7237 (Show more)
Friend of XOOPS
Posts: 288
Since: 2008/5/28
#2

Re: Publisher 1.02 RC-3 available for testing

The 1st and only thing I tested so far was editing an existing article from user side.
It still eats the article.

Trying to edit an existing article from admin menu works. At least it doesn't eat the article, but further trying to edit or comment from user side doesn't work.

Comments don't show at all.

Mamba

Moderator
Posted on: 2015/11/15 19:19
Mamba
Mamba (Show more)
Moderator
Posts: 10873
Since: 2004/4/23
#3

Re: Publisher 1.02 RC-3 available for testing

Fresh installation?
What editor are you using?
Can you check in the DB if the article is there?

On few occasions, when your Timezone is equal to the server, and the server is set to GMT, I've seen that Publisher sets the "publishing time" to GMT, i.e. you'll see the article in 5 hours, and it is not visible in the Admin, but only in DB.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

Dante7237

Friend of XOOPS
Posted on: 2015/11/15 22:00
Dante7237
Dante7237 (Show more)
Friend of XOOPS
Posts: 288
Since: 2008/5/28
#4

Re: Publisher 1.02 RC-3 available for testing

I'm overwriting previous r2 install.
Editor is: TinyMCE Version: 3.5.11
Yes, the articles ARE present in DB, but are no longer listed or displayed.
You can display them by adding the correct article number in the address bar. But they never re-appear as viewable in either admin menus or user side.

On the bright side, I forgot to mention I was finally able to delete existing categories.
That bug is gone.

I'll look into time zone settings. But I'm pretty sure that isn't the issue here.

Dante7237

Friend of XOOPS
Posted on: 2015/11/15 22:05
Dante7237
Dante7237 (Show more)
Friend of XOOPS
Posts: 288
Since: 2008/5/28
#5

Re: Publisher 1.02 RC-3 available for testing

*IF* the timezone issue were the thing, why do newly created articles display fine?
The issue only happens after editing an existing article.

Mamba

Moderator
Posted on: 2015/11/16 4:47
Mamba
Mamba (Show more)
Moderator
Posts: 10873
Since: 2004/4/23
#6

Re: Publisher 1.02 RC-3 available for testing

Quote:
*IF* the timezone issue were the thing, why do newly created articles display fine?
The issue only happens after editing an existing article.


Can you check the dates being saved in your DB, just to confirm it?

The date should be saved as GMT in all cases. It's possible that Publisher is not correctly converting back the "edited" articles.

I'll investigate it, but you can help by giving me more date from your end...

Thank you!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

Mamba

Moderator
Posted on: 2015/11/16 5:21
Mamba
Mamba (Show more)
Moderator
Posts: 10873
Since: 2004/4/23
#7

Re: Publisher 1.02 RC-3 available for testing

Quote:
I'll investigate it, but you can help by giving me more date from your end...

It's not the date, it's the "status" - it seems like Publisher is changing the status of the article to "-1" after editing in the frontend. I'll let you know once I fix it and commit to GitHub.

Thanks for testing!!!! That's very helpful!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

Mamba

Moderator
Posted on: 2015/11/16 5:34
Mamba
Mamba (Show more)
Moderator
Posts: 10873
Since: 2004/4/23
#8

Re: Publisher 1.02 RC-3 available for testing

Quote:
It's not the date, it's the "status" - it seems like Publisher is changing the status of the article to "-1" after editing in the frontend. I'll let you know once I fix it and commit to GitHub.

OK, this has been fixed - the flag is now set as "1", i.e. "submitted", i.e. the Admin will need to approve it after the edit.

The change is now in GitHub
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

Dante7237

Friend of XOOPS
Posted on: 2015/11/16 12:58
Dante7237
Dante7237 (Show more)
Friend of XOOPS
Posts: 288
Since: 2008/5/28
#9

Re: Publisher 1.02 RC-3 available for testing

Thanks Mamba!
I'll give it a try later today..

Dante7237

Friend of XOOPS
Posted on: 2015/11/16 13:11
Dante7237
Dante7237 (Show more)
Friend of XOOPS
Posts: 288
Since: 2008/5/28
#10

Re: Publisher 1.02 RC-3 available for testing

It's better, but not quite right.

So after creating a new article, I went user side and edited the article. The original remains, but anything added or changes made revert back to original after save.

Comments do not show at all.


**edit**
Actually it isn't any better. You just added the loss of comments to the trouble list.
I didn't account for the cache time. The article still gets eaten.
I'm going to have to find a better solution.
What exactly are you using here?