xoops forums

goffy

Quite a regular
Posted on: 2/6 23:07
goffy
goffy (Show more)
Quite a regular
Posts: 309
Since: 2010/12/27
#1

Bugs and requests for module wgTimelines

Cifug wrote:
Quote:
I can only find 1 bug so far, in "Items Block" if I click on an item I get a 404 page. Clicking on a timeline works fine.

Some things to consider for update:
1. Allow to select anonymous users to vote?
2 Add time to post? eg; not just the date.
3. Allow comments per item?


I fixed bug in item block.
Additonally I rebuilt pemission system, now you can allow also guest to vote.
Please download last version from https://github.com/ggoffy/wgtimelines

Point 2 and 3 needs more adoptions/changes, if I have time I will check this.

Cifug

Quite a regular
Posted on: 2/10 23:02
Cifug
Cifug (Show more)
Quite a regular
Posts: 207
Since: 2007/12/13
#2

Re: Bugs and requests for module wgTimelines

Quote:

goffy wrote:

I fixed bug in item block.
Additonally I rebuilt pemission system, now you can allow also guest to vote.
Please download last version from https://github.com/ggoffy/wgtimelines

Point 2 and 3 needs more adoptions/changes, if I have time I will check this.

Great work, thanks goffy

Cifug

Quite a regular
Posted on: 11/21 11:08
Cifug
Cifug (Show more)
Quite a regular
Posts: 207
Since: 2007/12/13
#3

Re: Bugs and requests for module wgTimelines

Hi Goffy, I just started a new site and installed your latest version and when I try to create the 1st timeline I get this error and no timeline is created:
Notice: Array to string conversion in file /modules/wgtimelines/class/helper.php line 106


I have updated all the templates which is a great feature too by the way and I have cleared the cache on the site and my browser.

Do you have any suggestions?

XOOPS Version XOOPS 2.5.9
PHP Version 5.6.32
mySQL Version 5.6.38
wgtimelines 1.1RC2

Cheers,
Marty

goffy

Quite a regular
Posted on: 11/22 16:16
goffy
goffy (Show more)
Quite a regular
Posts: 309
Since: 2010/12/27
#4

Re: Bugs and requests for module wgTimelines

Hi

I tested with xoops 2.5.9 RC2 and had no error.

But please replace class/helper.php line 106
$this->addLog("Getting config '{$name}' : " $this->config[$name]);

by
if (is_array($this->config[$name])) {
            
$this->addLog("Getting config '{$name}' : " serialize($this->config[$name]));
        } else {
            
$this->addLog("Getting config '{$name}' : " $this->config[$name]);
        }


and report the error, which should be shown proper then.

Cifug

Quite a regular
Posted on: 11/23 11:29
Cifug
Cifug (Show more)
Quite a regular
Posts: 207
Since: 2007/12/13
#5

Re: Bugs and requests for module wgTimelines

Hi Goffy, I changed that code and it fixed the error, but still no timeline was created. So, I uninstalled the module, deleted it from the server and then reinstalled it. Now it works fine. Sorry for messing you around. This is a great module

Cheers,
Marty