• Unfortunately, we are forced to report that an accident has occurred on the server, due to which all user data has been lost :(

    You can restore your funds and/or license by creating a thread in this forum.

    All users will receive compensation in the form of 30 additional days to the license or $10 for internal balance.

    We apologize for the inconvenience.
[BS] Live forum statistics

[BS] Live forum statistics 1.2.1

Pints

New member
Nov 12, 2020
1
0
1
ParseError: syntax error, unexpected 'array' (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST) in src/addons/BS/LiveForumStatistics/Tab/Members.php at line 12
  1. Composer\Autoload\includeFile() in src/vendor/composer/ClassLoader.php at line 322
  2. Composer\Autoload\ClassLoader->loadClass()
  3. spl_autoload_call()
  4. class_exists() in src/addons/BS/LiveForumStatistics/Entity/TabDefinition.php at line 47
  5. BS\LiveForumStatistics\Entity\TabDefinition->_preSave() in src/XF/Mvc/Entity/Entity.php at line 1355
  6. XF\Mvc\Entity\Entity->preSave() in src/XF/Mvc/Entity/Entity.php at line 1208
  7. XF\Mvc\Entity\Entity->save() in src/addons/BS/LiveForumStatistics/Install/AbstractSetup.php at line 76
  8. BS\LiveForumStatistics\Install\AbstractSetup->createLfsDefinition() in src/addons/BS/LiveForumStatistics/Install/AbstractSetup.php at line 16
  9. BS\LiveForumStatistics\Install\AbstractSetup->importLfsDefinitions() in src/addons/BS/LiveForumStatistics/Setup.php at line 105
  10. BS\LiveForumStatistics\Setup->installStep5() in src/XF/AddOn/StepRunnerInstallTrait.php at line 60
  11. BS\LiveForumStatistics\Setup->installStepRunner() in src/XF/AddOn/StepRunnerInstallTrait.php at line 27
  12. BS\LiveForumStatistics\Setup->install() in src/XF/Admin/Controller/AddOn.php at line 403
  13. XF\Admin\Controller\AddOn->actionInstall() in src/XF/Mvc/Dispatcher.php at line 350
  14. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 261
  15. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
  16. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
  17. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2300
  18. XF\App->run() in src/XF.php at line 465
  19. XF::runApp() in admin.php at line 13

  1. LIVEerror.jpg
 
Last edited:

021

Administrator
Jun 11, 2020
118
63
28
ParseError: syntax error, unexpected 'array' (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST) in src/addons/BS/LiveForumStatistics/Tab/Members.php at line 12
  1. Composer\Autoload\includeFile() in src/vendor/composer/ClassLoader.php at line 322
  2. Composer\Autoload\ClassLoader->loadClass()
  3. spl_autoload_call()
  4. class_exists() in src/addons/BS/LiveForumStatistics/Entity/TabDefinition.php at line 47
  5. BS\LiveForumStatistics\Entity\TabDefinition->_preSave() in src/XF/Mvc/Entity/Entity.php at line 1355
  6. XF\Mvc\Entity\Entity->preSave() in src/XF/Mvc/Entity/Entity.php at line 1208
  7. XF\Mvc\Entity\Entity->save() in src/addons/BS/LiveForumStatistics/Install/AbstractSetup.php at line 76
  8. BS\LiveForumStatistics\Install\AbstractSetup->createLfsDefinition() in src/addons/BS/LiveForumStatistics/Install/AbstractSetup.php at line 16
  9. BS\LiveForumStatistics\Install\AbstractSetup->importLfsDefinitions() in src/addons/BS/LiveForumStatistics/Setup.php at line 105
  10. BS\LiveForumStatistics\Setup->installStep5() in src/XF/AddOn/StepRunnerInstallTrait.php at line 60
  11. BS\LiveForumStatistics\Setup->installStepRunner() in src/XF/AddOn/StepRunnerInstallTrait.php at line 27
  12. BS\LiveForumStatistics\Setup->install() in src/XF/Admin/Controller/AddOn.php at line 403
  13. XF\Admin\Controller\AddOn->actionInstall() in src/XF/Mvc/Dispatcher.php at line 350
  14. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 261
  15. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
  16. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
  17. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2300
  18. XF\App->run() in src/XF.php at line 465
  19. XF::runApp() in admin.php at line 13

  1. View attachment 197
.minimum PHP version for add-on to work is 7.4
 

Malcolm

New member
Aug 27, 2020
10
3
3
Hey @021, do you know why this may be triggering for me?
Code:
    XF\Db\Exception: MySQL query error [1292]: Truncated incorrect INTEGER value: '' src/XF/Db/AbstractStatement.php:228

    Generated by: Unknown account Dec 3, 2020 at 7:03 PM

Stack trace

DELETE  FROM `xf_bs_lfs_sticked_thread_purchase` WHERE is_payed = ? AND create_date > ?
------------

#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL query err...', 1292, '22007')
#1 src/XF/Db/Mysqli/Statement.php(77): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1292, '22007')
#2 src/XF/Db/AbstractAdapter.php(94): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(289): XF\Db\AbstractAdapter->query('DELETE  FROM `x...', Array)
#4 src/addons/BS/LiveForumStatistics/Repository/StickedThread.php(54): XF\Db\AbstractAdapter->delete('xf_bs_lfs_stick...', 'is_payed = ? AN...', Array)
#5 src/addons/BS/LiveForumStatistics/Cron/Sticks.php(22): BS\LiveForumStatistics\Repository\StickedThread->clearExpiredThreadPurchases()
#6 [internal function]: BS\LiveForumStatistics\Cron\Sticks::clearThreadPurchases(Object(XF\Entity\CronEntry))
#7 src/XF/Job/Cron.php(34): call_user_func(Array, Object(XF\Entity\CronEntry))
#8 src/XF/Job/Manager.php(258): XF\Job\Cron->run(G)
#9 src/XF/Job/Manager.php(200): XF\Job\Manager->runJobInternal(Array, G)
#10 src/XF/Job/Manager.php(84): XF\Job\Manager->runJobEntry(Array, G)
#11 job.php(43): XF\Job\Manager->runQueue(false, 8)
#12 {main}
Code:
array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(50) "https://mywebsite.com/forums/general-discussion.9/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 

MrRobot

New member
Jun 18, 2020
17
3
3
Хотелось бы, чтобы у типа вкладки было так же время.
1607934916832.png
1607934924185.png
 

021

Administrator
Jun 11, 2020
118
63
28
Is it possible to show activity from within a category in the resource manager?
.unfortunately, there is no separate tab definition for displaying resources, so they cannot be filtered by category. But if you need to display the resource activity, you can do it with the help of tab definition "Latest activity".
 
  • Like
Reactions: Malcolm

neomaradona

New member
Feb 8, 2021
3
0
1
Hello. If I post a thread and someone comments it - we will see the latest commentator instead of the author of the post. Is it possible to keep an author of the thread shown despite of replies in the thread?
In practice, I want a thread author being kept. 1581878032281.png
 
Last edited:

021

Administrator
Jun 11, 2020
118
63
28
Hello. If I post a thread and someone comments it - we will see the latest commentator instead of the author of the post. Is it possible to keep an author of the thread shown despite of replies in the thread?
In practice, I want a thread author being kept. View attachment 214
.hello. There are several solutions:
1. Change the order of the tabs. Make the "New Threads" tab first. It can be easily done by dragging it in the control panel. (Recommended)
2. Change the code in the template of the "Latest posts" tab
 

erck

New member
Jun 19, 2020
4
0
1
cryptotr.net
Hello,
the category names appear to be hover.
can we show category names normally?
 

Attachments

  • Ekran Resmi 2021-03-01 16.16.31.png
    Ekran Resmi 2021-03-01 16.16.31.png
    40.8 KB · Views: 7
  • Ekran Resmi 2021-03-01 16.16.40.png
    Ekran Resmi 2021-03-01 16.16.40.png
    37.3 KB · Views: 6