xoops forums

aerograf

Not too shy to talk
Posted on: 2/13 9:54
aerograf
aerograf (Show more)
Not too shy to talk
Posts: 115
Since: 1/7 14:01
#1

Problems with Soapbox

The problem is as follows:
1. Do not set permissions in the module
2. It is not sent by the user article
Soapbox 1,61 Beta 1
PHP 7.0.11
MYSQL 5.7.13-6-log
XOOPS 2.5.8.1
ModuleAdmin 1.2

aerograf

Not too shy to talk
Posted on: 2/13 11:08
aerograf
aerograf (Show more)
Not too shy to talk
Posts: 115
Since: 1/7 14:01
#2

Re: Problems with Soapbox

Well, the same does not work rating

aerograf

Not too shy to talk
Posted on: 2/14 4:12
aerograf
aerograf (Show more)
Not too shy to talk
Posts: 115
Since: 1/7 14:01
#3

Re: Problems with Soapbox

I Tried Soapbox 1,60
The problem was solved with the access rights to the change in admin / permissions.php on line 46:
Form2 = new XoopsGroupPermForm "", $ xoopsModule -> getVar 'mid'), "Column_permissions"_AM_SB_SELECT_COLS);

The same problem with autoteaser, yet disabled, and a problem with the date when creating or modifying

aerograf

Not too shy to talk
Posted on: 2/15 5:03
aerograf
aerograf (Show more)
Not too shy to talk
Posts: 115
Since: 1/7 14:01
#4

Re: Problems with Soapbox

He has made some corrections, test:
https://www.shmel.org/files/singlefile.php?cid=3&lid=267

aerograf

Not too shy to talk
Posted on: 5/10 12:41
aerograf
aerograf (Show more)
Not too shy to talk
Posts: 115
Since: 1/7 14:01
#5

Re: Problems with Soapbox

Tell me, how to fix it in the rating?

aerograf

Not too shy to talk
Posted on: 5/11 12:30
aerograf
aerograf (Show more)
Not too shy to talk
Posts: 115
Since: 1/7 14:01
#6

Re: Problems with Soapbox

Temporarily replaced the rating function ....
https://github.com/aerograf/soapbox/co ... f4bd879aa18df397a1cfe1e3e
Example: http://xoops.shmel.org/modules/soapbox/article.php?articleID=41

aerograf

Not too shy to talk
Posted on: 5/15 14:02
aerograf
aerograf (Show more)
Not too shy to talk
Posts: 115
Since: 1/7 14:01
#7

Re: Problems with Soapbox

I'm trying to figure out the rating all the same.
The data in the database sdvotedata are recorded, but there are no number of sbarticles voted in the votes. Where can be the problem?

trabis

Core Developer
Posted on: 5/19 7:11
trabis
trabis (Show more)
Core Developer
Posts: 2268
Since: 2006/9/1 1
#8

Re: Problems with Soapbox

Hi, check this branch:
https://github.com/trabisdementia/soapbox/tree/aero

I've merged your changes (except the last one) and fixed the rating issue.

If you have more issues, please report them here:
https://github.com/XoopsModules25x/soapbox

aerograf

Not too shy to talk
Posted on: 5/19 7:33
aerograf
aerograf (Show more)
Not too shy to talk
Posts: 115
Since: 1/7 14:01
#9

Re: Problems with Soapbox

Thank you. But the rating does not work
I'll understand further. But the idea is clear.
The result is recorded in the voting table, and the main result is not written.

trabis

Core Developer
Posted on: 5/19 8:03
trabis
trabis (Show more)
Core Developer
Posts: 2268
Since: 2006/9/1 1
#10

Re: Problems with Soapbox

It works for me:
This article has been read 17 times. | Rating: 7.50 | Votes: 2.

Voted with 10 and 5.