xoops forums

Mamba

Moderator
Posted on: 2016/10/20 7:35
Mamba
Mamba (Show more)
Moderator
Posts: 10356
Since: 2004/4/23
#1

XOOPS News 1.71 FINAL available for testing before official release

Resized Image

Before it will be officially released, please help us with final testing:

https://github.com/mambax7/news/releases

This release is for XOOPS 2.5.8+

Changelog:

1.71 FINAL 2016-10-18
=================================
- code cosmetics (mamba)
- removed @version (mamba)
- addNavigation(basename(__FILE__)) (mamba)
- dirname(__FILE__) to __DIR__ (mamba)
- XOOPS 2.5.8, PHP 7 (mamba)
- replaced with (mamba)
- Unnecessary double quotes (mamba)
- reference mismatch (mamba)
- Hardening to type safe (mamba)
- update Help (mamba)

======================
1.71 Beta 2 (NOT RELEASED)
======================
- moved all images, CSS, and JS files to /assets (mamba)
- renamed .html Smarty templates to .tpl (mamba)
- reversed "mod_" prefix on tables (mamba)
- moved WideImage library to XOOPS 2.5.8 /class/libraries/
- added option to display PDF icon for each article (mamba)
- added check to make sure that Tag moodule is active (mamba)
- replaced with (mamba)
- XOOPS 2.5.8 and PHP 7 fixes (mamba)
- removed @version (mamba)

And feel free to make a donation to XOOPS!
Please support XOOPS & DONATE
Use 2.5.8 | Debug | Requests | Bugs

SMEDrieben

Not too shy to talk
Posted on: 2/25 6:14
SMEDrieben
SMEDrieben (Show more)
Not too shy to talk
Posts: 148
Since: 2009/6/17
#2

Re: XOOPS News 1.71 FINAL available for testing before official release

In general, this version is working correctly. Thanks !

I experience several problems with the makepdf.php.

The first problem is that the path to the tcpdf library is wrong. E.g. line 35 of make.pdf:

if (!is_file(XOOPS_PATH '/vendor/tcpdf/tcpdf.php')) {


This should be:
if (!is_file(XOOPS_ROOT_PATH '/class/libraries/vendor/tecnickcom/tcpdf/tcpdf.php')) {


There are several similar problems in the makepdf.php.

The, there is an error message:
XOOPS URL not defined


This can be solved by deleting all lines such as:
SetFont(PDF_FONT_NAME_SUBSUBPDF_FONT_STYLE_SUBSUBPDF_FONT_SIZE_SUBSUB);


I don't know what is wrong, but this code is a few time in the make.pdf and generates the error.

Subtitle is not displayed on the index page. I added after line 207 in index.php:

$story['subtitle'] = $thisstory->subtitle();


Furthermore, I did several adjustments on the layout.

SMEDrieben

SMEDrieben

Not too shy to talk
Posted on: 3/19 8:44
SMEDrieben
SMEDrieben (Show more)
Not too shy to talk
Posts: 148
Since: 2009/6/17
#3

Re: XOOPS News 1.71 FINAL available for testing before official release

I experience two other problems, possibly bugs.

Problem 1:
In the admin there is a tab "Newsletter". The date selection does not work. I tried to export news items from nov 2016 till now and entered the dates using the calendar. The result: all news items in de database were expeorted !

Problem 2:
I tried to download the file created in step 1. It generates an error. The link contains "uploads/news/newsletter.txt", whereas the file is stored as "letter.txt".

SMEDrieben

Mamba

Moderator
Posted on: 3/20 2:17
Mamba
Mamba (Show more)
Moderator
Posts: 10356
Since: 2004/4/23
#4

Re: XOOPS News 1.71 FINAL available for testing before official release

Please test the not-released yet 1.72 Beta 1

https://github.com/mambax7/news
Please support XOOPS & DONATE
Use 2.5.8 | Debug | Requests | Bugs