Fork me on GitHub

Search

Donat-O-Meter

Make donations with PayPal!
Stats
Goal: $100.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00

Learn XOOPS Core

Local Support

Advertisement

XOOPS Code hosted on SourceForge

Cumulus Tag Cloud

- 2 2.5 2.6 4 6 admin adslight Android AntiHarvesting AntiSpam API Apple Battlefield Blocks Bootstrap Captcha cell cent chronolabs Clicks Cloud content CĂN demo download Dresses facebook Fat floor Gateway giải Google Guide herre Home Honeypot html5 Human HỘ IP iPhone jQuery Language Law Legal List log Loss module modules Monster new newbb news nhiệt NHÀ online PARK Payment phone PHP Plugin Prevention profile project Protector publisher RESIDENCE responsive review Rights rmcommon Room security Sentry Signed site Smartphone Smarty Smoking Solution Spam stem Studio support tag tdmcreate The Theme themes User userlog weight xoops Xortify XPayment ZendFramework

New Users

Registering user

# 138925

asa3478fc

Welcome to XOOPS!

Archives

News archives

Publisher 1.02 Final Released

Posted by Mamba on 2016/1/5 4:50:00 (3488 reads) | Posted on Modules
Resized Image

We are pleased to announce the release of Publisher 1.02 Final module

Publisher module is a Publishing Solution for your XOOPS Website. With it you can publish News, Blogs, Documentation, etc.

The key features:

  • Categories and Subcategories
  • Pages
  • custom templates
  • File Wrapping
  • Page/Category images
  • File attachments
  • Scheduled publishing and expiration
  • Order by date, ratings, sort order
  • Ratings
  • Comments
  • SEO
  • RSS feed
  • Permissions: Submissions, Submit/Edit fields, Categories, Pages, Moderation (global)
  • different XOOPSeditors
  • Import from SmartSection and News modules
  • Easy cloning (change the directory name)


We would like to thank all XOOPS users who contributed to this release by reporting bugs and providing fixes, especially (alphabetically):

- black_beard
- bleekk
- brutalicuss
- cesagonchu
- cifug
- dante7237
- geekwright
- ggoffy
- mjoel
- noo-b
- slider84
- zyspec

Without your support, this release could not happen!

REQUIREMENTS:

- PHP 5.5+ (the new official minimum PHP version for XOOPS. It might work on PHP 5.3.7+, but we don't test anymore on it)
- XOOPS 2.5.7.2 (if you don't have it, you should update TODAY)


DOWNLOAD: Publisher repository on GitHub


CONTRIBUTING: please fork Publisher on GitHub and submit your improvements there


BUGS/ISSUES:GitHub Issues


Resized Image

TUTORIAL: Available on GitBooks. It is in the early stages, and we need your help to make it really cool, especially with sharing your "tips and tricks"

To help, you can fork the Tutorial from GitHub and provide you submissions there

To check out other XOOPS Tutorials, please visit XOOPS section on GitBooks

Happy Xoopsing and May the Source be with You!

Changelog for the Publisher 1.02 Final release:

- fixed bug: wrong options in Latest News block (mamba)
- added "All" checkbox in Category for group permissions (mamba)
- fixes in clone.php (ggoffy)
- fix error when uploading category image (ggoffy)
- fix for creating upload folders for category images (ggoffy/mamba)
- fix for RSS problem with date (dante7237/mamba)
- fix for file deletes (mamba)
- adding link to on-line Tutorial (mamba)
- fix issues with Popeye images (mamba)
- removed 500px hardcoded width for image preview in Admin, as it looks bad for small images (mamba)
- fixed bug: wrong flag for status after modification in frontend (Dante7237/mamba)
- added sort by Rating, Hits, # of Votes and Comments (brutalicuss/mamba)
- added extra columns in Admin's Summary view (mamba)
- remove non-existent XoopsFormCalendar in blocks (mamba)
- replace XoopsLocal::formatTimestamp() with formatTimestamp() so we have User local time (mamba/geekwright)
- replaced hard-coded GMT date in PublisherFormDateTime with formatTimestamp (mamba)
- adjusted apostrophes to prevent the define translation errors (slider84)
- bug #6: Array to string conversion (cesagonchu/mamba)
- fixed bug: not able to delete category (Dante7237/mamba)
- fixed bug: cloning of article (mamba)
- updated to XOOPS 2.5.7 version of jQuery UI Tabs (noo-b/mamba)
- replaced PublisherRequest with calls to XoopsRequest (mamba)
- redesigned archives section to have months horizontally (mjoel/Mithrandir/mamba)
- added count of articles in archive section (mamba)
- moved TCPDF library to /xoops_lib (mamba)
- updated makepdf.php file for the latest TCPDF (black_beard, mamba)
- replaced $i++ with ++$i for consistency/performance (mamba)
- started conversion to PSR-2 coding (mamba)
- moved constants to class interface (mamba, based on zyspec's work)
- updated TimThumbnail to 2.8.14 (mamba)
- added few missing English translations (mamba)
- replaced $_REQUEST with $_POST/$_GET and XoopsRequest in mimetypes.php (mamba)
- indicated required fields when adding new MIME types (mamba)
- centered mimetypes in the table (mamba)
- updated popeye.js to 2.1 (mamba)
- changed popeye mode to imagelist (mamba)
- replacing intval() with (int) (mamba)
- added ID column in Admin's Category view (mamba)
- fixed preg_replace /e in request.php (mamba)
- added Views column in Admin's Articles view (mamba)
- ensured that short_url is under 255 characters (mamba)
- added import from C-Jay Content (mamba)
- added import from xNews (bleekk, mamba)
- moved all images, CSS, and JS files to /assets (mamba)
- renamed .html Smarty templates to .tpl (mamba)
- added Preference option for PDF icon (cifug/mamba)


Printer friendly page Send this story to a friend Create a PDF from the article
Bookmark Me
Bookmark to Google Plus
The comments are owned by the author. We aren't responsible for their content.

thanks
Published: 2016/1/5 8:38 • Updated: 2016/1/5 8:38
Excellent module, essential in most sites, thanks.
Published: 2016/1/5 9:20 • Updated: 2016/1/5 9:20
Since you guys are using it a lot and are experts, what we need from you as a "Thank you" to the developers, is a nice tutorial!

If you don't have time or don't feel that you have skills, why don't you hire a local student to write it for you, under your direction? We can help with English, etc., but on the other hand, we have now options to write documentation in multiple-languages, so a version in Spanish, French, German, Arabic, or any other language just fine with us! We can always translate it later into English!

Honestly, I think that fixing bugs and adding features is better use of my time for XOOPS users than writing documentation!

I have now a choice to make:

a) should I write documentation for Publisher, or
b) fix bugs in NewBB so we could release it as Final

What do you think? What should I do?
Published: 2016/1/5 9:43 • Updated: 2016/1/5 9:43
Could you tell me how to use the TinyMCE editor when articles are published?
Published: 2016/1/5 11:26 • Updated: 2016/1/5 11:26
Quote:
Could you tell me how to use the TinyMCE editor when articles are published?

What do you mean? You just switch the editor...
Published: 2016/1/5 11:33 • Updated: 2016/1/5 11:33
It not appear

On the screen to create an article only appear the options: plain text and DHTML with Xcode, TinyMCE is missing.

Resized Image

Xoops 2.5.7.2
Publisher 1.02 Final
Published: 2016/1/5 15:39 • Updated: 2016/1/5 16:21
Quote:
On the screen to create an article only appear the options: plain text and DHTML with Xcode, TinyMCE is missing.

You need to update the System module, and then the Publisher module.
Published: 2016/1/5 16:38 • Updated: 2016/1/5 16:38
I updated both but noting.
Published: 2016/1/5 16:46 • Updated: 2016/1/5 16:46
Just in case, clear also cache.

What version of XOOPS do you have?
Published: 2016/1/5 16:50 • Updated: 2016/1/5 16:50
Versión del Sistema XOOPS 2.5.7.2
Versión de PHP 5.4.30
Versión de mySQL 5.1.73-cll
API del Servidor cgi-fcgi
OS Linux

Cache clear and nothing
Published: 2016/1/5 17:02 • Updated: 2016/1/5 17:02
I don't know your configuration, or how you've upgraded it before.

My advise would be to:

1) copy all the files from 2.5.7.2 /htdocs over to your XOOPS installation
2) copy the /upgrade folder to your XOOPS installation
3) run /upgrade
4) update System
5) update Publisher

Normally it should work, unless there are some internal problems with your configuration/setup
Published: 2016/1/5 18:35 • Updated: 2016/1/5 18:35
Thanks Mamba, all is ok, I uninstall and then reinstall the module and is working.

I do not know what had happened, because is a new installation of Xoops, probably was that I overwrote the files over publisher RC5.

And sorry I forgot that it was in the forum when I had to ask.

Have a Nice Year.
Published: 2016/1/6 7:48 • Updated: 2016/1/6 7:49
Thank to all for your heavy job!!!

My trouble:
Xoops 2.5.7.2 + Publisher 1.0.2 + latest xbootstrap (included on Xoops 2.5.7.2) = all OK

Xoops 2.5.7.2 + Publisher 1.0.2 + latest xbootstrap (included on Xoops 2.5.7.2) + xoops_and_module_changes (included on latest xbootstap) = blank page

The problem could be in
xoops_and_module_changes/modules/publisher/class/
category.php
item.php
until they are inserted everything is ok.

Anyone know the solution?

Stefano
Published: 2016/1/8 15:19 • Updated: 2016/1/8 15:19
Quote:
Anyone know the solution?

There could be a problem with the extensions for templates. I suspect that they are still are as ".html", so try to change them to ".tpl" and and

Also inside these template files, change any links to the Publisher templates to .tpl. (they normally look something like this: "publisher_categories_table.html", so change the extension to "tpl" as in here "publisher_categories_table.tpl"

Then clear cache and update Publisher

In XOOPS 2.5.8 these issues should go away.

Once you're done, you can also compare these files to these on GitHub:
Published: 2016/1/8 16:42 • Updated: 2016/1/8 16:43
I made it, but.... not working....
Only blank page...
Published: 2016/1/9 16:11 • Updated: 2016/1/9 16:11
Read this post

Quote:
"missing upload directory for category images: uploads/publisher/images/category/"

Published: 2016/1/9 21:20 • Updated: 2016/1/10 8:20
i have the same problem as ilsanto...

i want to use latest xoops, publisher and xbootstrap i received black page

XOOPS Version XOOPS 2.5.7.2
Publisher 1.02
PHP Version 5.5.
mySQL Version 5.5.42
Xbootstrap final 1.03 from github


with this errors


Errors
Notice: Use of undefined constant _PUBLISHER_STATUS_PUBLISHED - assumed '_PUBLISHER_STATUS_PUBLISHED' in file /modules/publisher/class/category.php line 694
Notice: Use of undefined constant _PUBLISHER_STATUS_PUBLISHED - assumed '_PUBLISHER_STATUS_PUBLISHED' in file /modules/publisher/class/item.php line 1632
Published: 2016/1/10 8:41 • Updated: 2016/1/10 8:41
Quote:
i have the same problem as ilsanto...
i want to use latest xoops, publisher and xbootstrap i received black page

Can you test it with the "Default" theme, and with the xBootstrap that comes with XOOPS 2.5.7.2?

There might be a problem with the xBootstrap theme that is on GitHub.

Please note: we test modules with the themes that are part of the official release. Everything else: it's a risk and you're on your own!
Published: 2016/1/10 10:39 • Updated: 2016/1/10 10:39
i tried the original bootstrap from xoops 2.57.2

i have the same problem ..blank page with publisher

so i tried the new xbootstrap from github

i tried again with xbootstrap original..same error
Published: 2016/1/10 18:21 • Updated: 2016/1/10 18:22
mjoel, I looked into your errors that you posted:

Quote:
Notice: Use of undefined constant _PUBLISHER_STATUS_PUBLISHED - assumed '_PUBLISHER_STATUS_PUBLISHED' in file /modules/publisher/class/category.php line 694
Notice: Use of undefined constant _PUBLISHER_STATUS_PUBLISHED - assumed '_PUBLISHER_STATUS_PUBLISHED' in file /modules/publisher/class/item.php line 1632


They indicate that you didn't upgrade properly your site

There is no such constants with the current code. Please compare the lines

- file /modules/publisher/class/category.php line 694 in GitHub
- file /modules/publisher/class/item.php line 1632 in GitHub

The constant "_PUBLISHER_STATUS_PUBLISHED" seems to be in an older version of Publisher, but not in the latest one.

So somewhere something went wrong and you didn't overwrite the old files with the new ones properly
Published: 2016/1/10 18:50 • Updated: 2016/1/10 18:50
in xbootstrap of xoops 2.5.7.2 there is a folder named xoops_and_module_changes inside the themes/xbootstrap/modules/publisher

To have the publisher module working 100% with the xBootstrap theme you have to overwrite some module files
-
Copy all files from "themes/xBootstrap/modules/publisher/xoops_and_module_changes/modules/publisher/
to
/modules/publisher/
Published: 2016/1/11 1:23 • Updated: 2016/1/11 1:23
Quote:
To have the publisher module working 100% with the xBootstrap theme you have to overwrite some module files

Can you try without it, and tell me what is missing, if you don't have it?
I'll look into it from my end too, but it might take couple of days...
Published: 2016/1/11 12:53 • Updated: 2016/1/11 12:53
i forgot to paste the main error

Fatal error: Call to undefined function publisher_seo_genUrl() in \modules\publisher\class\category.php on line 230


None All Errors (2) Deprecated (0) Queries (23) Blocks (3) Extra (2) Timers(5)
Errors

Notice: Use of undefined constant _PUBLISHER_STATUS_PUBLISHED - assumed '_PUBLISHER_STATUS_PUBLISHED' in file /modules/publisher/class/category.php line 694
Notice: Use of undefined constant _PUBLISHER_STATUS_PUBLISHED - assumed '_PUBLISHER_STATUS_PUBLISHED' in file /modules/publisher/class/item.php line 1632

http://sourceforge.net/p/xoops/svn/HE ... /xbootstrap/docs/TODO.txt
Published: 2016/1/12 8:32 • Updated: 2016/1/12 8:44
Quote:
Can you try without it, and tell me what is missing, if you don't have it?


i remember ive seen the enhanced publisher template with xbootstrap screenshot from here by bleek
http://xoops.org/modules/newbb/viewto ... id=356595#forumpost356595

but its not available anymore

from what i see in my site if overwrite is not applied publisher will look ordinary
Published: 2016/1/12 8:39 • Updated: 2016/1/12 8:41
Hi mjoel,
These templates are included in the xbootstrap theme.

I will take a look at this problem
Published: 2016/1/15 1:14 • Updated: 2016/1/15 1:14
Thanks for the module !

This is mentioned in the readme.txt:

You will need to copy the folder /xoops_lib from the XOOPS 2.5.7 Basic Module Pack (includes TCPDF Library)


I searched the GitHub repository, but couldn't find the Basic Module Pack.

Where can I find the most recent one ?

SMEDrieben
Published: 2016/1/17 9:15 • Updated: 2016/1/17 9:15
Hi,

since upgrade from 2.5.7 to 2.5.7.2 and from publisher 1.02 beta 3 to 1.02 final, i can't add files : https://github.com/XoopsModules25x/publisher/issues/19
Published: 2016/1/19 2:16 • Updated: 2016/1/19 2:16
Quote:
since upgrade from 2.5.7 to 2.5.7.2 and from publisher 1.02 beta 3 to 1.02 final, i can't add files

We need more information - how can I reproduce it?
For example, what folders are you using? What are the error messages? Can you check error logs (e.g. PHP error log, and MySQL error log)?

Please try to be in my shoes: just coming and saying that you can't upload is not helpful, if I can't reproduce it :(
Published: 2016/1/19 3:59 • Updated: 2016/1/19 3:59
Quote:
I searched the GitHub repository, but couldn't find the Basic Module Pack.

Where can I find the most recent one ?


You can download it from the SourceForge SVN.

I have also uploaded it now to GitHub. You might have to download the whole repository, but the TCPDF files that you're interested in are in the:

/xoops_lib/vendor/tcpdf

folder, and you should place them the same way in your XOOPS installation.

Let us know if this worked for you....
Published: 2016/1/19 4:33 • Updated: 2016/1/19 4:33
Hi,
I see a different. After an upgrade publisher to version 1.02 I've got "double blocks", but only one of a couple has a content ("old" block is without content and without possibility to delete it - the message "You can't delete this block when the module is active").
It looks like a problem with refreshing a tables in database during upgrade.

XOOPS 2.5.7.2
PHP 5.5.31
mySQL 5.5.45-cll-lve
Serwer API litespeed
OS Linux
Published: 2016/1/21 7:52 • Updated: 2016/1/21 7:52
@mjoel

PLEASE DO NOT THIS!!!
DO NOT OVERWRITE YOUR FILES!

Publisher has changed some code so it is not recommended to do this

[quote]Copy all files from "themes/xBootstrap/modules/publisher/xoops_and_module_changes/modules/publisher/
to
/modules/publisher/ [/qoute]
Published: 2016/1/21 8:38 • Updated: 2016/1/21 8:38
Quote:
PLEASE DO NOT THIS!!! DO NOT OVERWRITE YOUR FILES!

I didn't.
Published: 2016/1/21 10:37 • Updated: 2016/1/21 10:37
thanks bleek.. i have backup....just testing this..i reverted the changes

btw any update on xbootstrap+publisher ?
Published: 2016/1/23 5:50 • Updated: 2016/1/23 5:50
Found a bug and reported here
https://github.com/XoopsModules25x/publisher/issues/20
Published: 2016/1/29 17:37 • Updated: 2016/1/29 17:37
I felt very stupid because I couldn't download the files. Finally, I managed to download the complete 257-package.

SMEDrieben
Published: 2016/1/31 11:22 • Updated: 2016/1/31 14:51
Look top left.
Click on "code"
Look top right
Click on "download zip"
Published: 2016/1/31 11:31 • Updated: 2016/1/31 11:32
Did not work for me :/

code error:

Quote:
Unable to install publisher-1.03_Beta-2. Error(s):
Installing Publisher

Table 'xf33_publisher_categories' already exists

Published: 2016/4/8 12:44 • Updated: 2016/4/8 12:44
Go to your phpMyAdmin and delete the table "xf33_publisher_categories"

Also, there has been a new test release for XOOPS 2.5.8 and PHP7, and you might test it as well:

https://github.com/XoopsModules25x/publisher/releases
Published: 2016/4/8 14:16 • Updated: 2016/4/8 14:16
Thanks for your help Mamba!
Published: 2016/4/8 15:19 • Updated: 2016/4/8 15:19