[AP] Style Suite

[AP] Style Suite [Paid] 2.15.0 Beta 2 & 3

No permission to buy (€15.00)
Hey @apathy , When will this be ready for 2.3.x (If it doesn't already work with it?)
Most of it should work with XF2.3, but the previews won't and it could possibly stop member tooltips from appearing unless tooltip styles are disabled

But to actually answer your question, I have the necessary Javascript written but its only been tested a little bit. I'm unsure of how many people want to upgrade to XF2.3 ASAP, and since I'll be dropping support for XF2.2 when I release style suites 2.3 compatible update, I dont want to leave the XF2.2 folk stuck with bugs.
So, I'll be testing the JS over the next couple of weeks, while giving time for any last minute bug reports to come in.
 
Most of it should work with XF2.3, but the previews won't and it could possibly stop member tooltips from appearing unless tooltip styles are disabled

But to actually answer your question, I have the necessary Javascript written but its only been tested a little bit. I'm unsure of how many people want to upgrade to XF2.3 ASAP, and since I'll be dropping support for XF2.2 when I release style suites 2.3 compatible update, I dont want to leave the XF2.2 folk stuck with bugs.
So, I'll be testing the JS over the next couple of weeks, while giving time for any last minute bug reports to come in.
Alrighty. I might do some test upgrades on a test bed and see how it goes but i'm most likely going to wait a bit longer before jumping over to 2.3 anyway :) might even wait for 2.3.1.
 
@apathy I got this error in the admin panel when trying to edit my account:

Code:
Error: Call to undefined method XF\Mvc\Reply\Error::run() in src/addons/apathy/StyleSuite/XF/Admin/Controller/User.php at line 77apathy\StyleSuite\XF\Admin\Controller\User->userSaveProcess() in src/addons/DBTech/Credits/XF/Admin/Controller/User.php at line 15DBTech\Credits\XF\Admin\Controller\User->userSaveProcess() in src/addons/DBTech/Shop/XF/Admin/Controller/User.php at line 15DBTech\Shop\XF\Admin\Controller\User->userSaveProcess() in src/addons/Hampel/WhatsNewDigest/XF/Admin/Controller/User.php at line 9Hampel\WhatsNewDigest\XF\Admin\Controller\User->userSaveProcess() in src/addons/XP/VB/XF/Admin/Controller/User.php at line 10XP\VB\XF\Admin\Controller\User->userSaveProcess() in src/addons/SV/UserMentionsImprovements/XF/Admin/Controller/User.php at line 15SV\UserMentionsImprovements\XF\Admin\Controller\User->userSaveProcess() in src/XF/Admin/Controller/User.php at line 563XF\Admin\Controller\User->actionSave() in src/XF/Mvc/Dispatcher.php at line 352XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 258XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2485XF\App->run() in src/XF.php at line 524XF::runApp() in admin.php at line 13

Just a heads up.
 
Hi again apathy 👋 I hope youre doing well!

When using a text based profile block, there is a 500 character limit, which a lot of my users complain about. Is there a way to raise the character limit?

Thank you!
 
getting this error since installing;
  • ap_ss_ignored_user_style
XF\Db\Exception: MySQL query error [1364]: Field 'ap_ss_ignored_user_style' doesn't have a default value src/XF/Db/AbstractStatement.php:230

Users unable to register.
 
getting this error since installing;
  • ap_ss_ignored_user_style
XF\Db\Exception: MySQL query error [1364]: Field 'ap_ss_ignored_user_style' doesn't have a default value src/XF/Db/AbstractStatement.php:230

Users unable to register.
1724683276099.webp

Shouldn't this be deleted when not used or the call be disabled if turned off?

EDIT: Reinstalled and uninstalled and it removed the field this time.
 
apathy updated [AP] Style Suite with a new update entry:

2.12.0

This version hard-requires Xenforo 2.3. It is not compatible with Xenforo 2.2, and support for XF2.2 has ended.
  • Improve handling of asset importing during a fresh install
  • Rebase username icons off XF2.3's icon system
  • Replace Font Awesome picker library
  • Create "Optimize assets" rebuild job
  • Support WebP for assets
  • Rename controller, repository, service classes
  • Create app_registry_preload listener to optimize...

Read the rest of this update entry...
 
2.3 demo board install test produced this

Code:
erver error log
Error: Call to undefined function apathy\StyleSuite\Service\Admin\finfo_open() src/addons/apathy/StyleSuite/Service/Admin/AssetFontService.php:55
Generated by: MentaL Sep 5, 2024 at 11:11 PM
Stack trace
#0 src/addons/apathy/StyleSuite/Service/Admin/AbstractAssetService.php(119): apathy\StyleSuite\Service\Admin\AssetFontService->validateFileAsAsset('styles/fonts/ap...', NULL)
#1 src/addons/apathy/StyleSuite/Install/Asset.php(185): apathy\StyleSuite\Service\Admin\AbstractAssetService->setAssetFromFilename('styles/fonts/ap...')
#2 src/addons/apathy/StyleSuite/Install/Asset.php(92): apathy\StyleSuite\Setup->importAssetByType(Object(apathy\StyleSuite\Entity\Asset), 'styles/fonts/ap...')
#3 src/addons/apathy/StyleSuite/Setup.php(139): apathy\StyleSuite\Setup->importAssetsFromFilesystem()
#4 src/XF/AddOn/AddOn.php(575): apathy\StyleSuite\Setup->postInstall(Array)
#5 src/XF/Job/AddOnInstallBatch.php(389): XF\AddOn\AddOn->postInstall(Array)
#6 src/XF/Job/AddOnInstallBatch.php(103): XF\Job\AddOnInstallBatch->stepFinalize(Object(XF\Timer))
#7 src/XF/Job/Manager.php(275): XF\Job\AddOnInstallBatch->run(8)
#8 src/XF/Job/Manager.php(205): XF\Job\Manager->runJobInternal(Array, 8)
#9 src/XF/Job/Manager.php(121): XF\Job\Manager->runJobEntry(Array, 8)
#10 src/XF/Admin/Controller/ToolsController.php(146): XF\Job\Manager->runByIds(Array, 8)
#11 src/XF/Mvc/Dispatcher.php(362): XF\Admin\Controller\ToolsController->actionRunJob(Object(XF\Mvc\ParameterBag))
#12 src/XF/Mvc/Dispatcher.php(264): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\ToolsController), NULL)
#13 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\ToolsController), NULL)
#14 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#15 src/XF/App.php(2826): XF\Mvc\Dispatcher->run()
#16 src/XF.php(806): XF\App->run()
#17 admin.php(15): XF::runApp('XF\\Admin\\App')
#18 {main}
Request state
array(4) {
  ["url"] => string(24) "/admin.php?tools/run-job"
  ["referrer"] => string(54) "https://hugsandkisses.domain.com/admin.php?tools/run-job"
  ["_GET"] => array(1) {
    ["tools/run-job"] => string(0) ""
  }
  ["_POST"] => array(3) {
    ["_xfRedirect"] => string(91) "https://hugsandkisses.domain.com/admin.php?add-ons/install-from-archive-complete&batch_id=477"
    ["_xfToken"] => string(8) "********"
    ["only_ids"] => string(7) "2337612"
  }
}
 
2.3 demo board install test produced this

Looks like the fileinfo PHP extension isnt active (this is necessary for importing fonts)

However, fileinfo should only be a soft requirement, the setup should skip over fonts if it sees fileinfo is not enabled, not throw an error, so ill see whats causing that over the next few days
 
Looks like the fileinfo PHP extension isnt active (this is necessary for importing fonts)

However, fileinfo should only be a soft requirement, the setup should skip over fonts if it sees fileinfo is not enabled, not throw an error, so ill see whats causing that over the next few days
Good eye, batman. Recompiled fileinfo extension and all is well.

1725610812302.webp

Cheers
 
XF 2.3 demo board


Code:
Server error log
ErrorException: [E_WARNING] Undefined variable $output src\addons\apathy\StyleSuite\Repository\BlockRepository.php:95
Generated by: Admin Sep 8, 2024 at 7:13 AM
Stack trace
#0 src\addons\apathy\StyleSuite\Repository\BlockRepository.php(95): XF::handlePhpError(2, '[E_WARNING] Und...', 'E:\\laragon\\www\\...', 95)
#1 src\addons\apathy\StyleSuite\Pub\Controller\BlockController.php(104): apathy\StyleSuite\Repository\BlockRepository->fetchBlocks()
#2 src\addons\apathy\StyleSuite\Pub\Controller\BlockController.php(129): apathy\StyleSuite\Pub\Controller\BlockController->actionAddEdit(Object(apathy\StyleSuite\Entity\Block))
#3 src\XF\Mvc\Dispatcher.php(362): apathy\StyleSuite\Pub\Controller\BlockController->actionAdd(Object(XF\Mvc\ParameterBag))
#4 src\XF\Mvc\Dispatcher.php(265): XF\Mvc\Dispatcher->dispatchClass('apathy\\StyleSui...', 'Add', Object(XF\Mvc\RouteMatch), Object(apathy\StyleSuite\Pub\Controller\BlockController), NULL)
#5 src\XF\Mvc\Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(apathy\StyleSuite\Pub\Controller\BlockController), NULL)
#6 src\XF\Mvc\Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#7 src\XF\App.php(2826): XF\Mvc\Dispatcher->run()
#8 src\XF.php(806): XF\App->run()
#9 index.php(23): XF::runApp('XF\\Pub\\App')
#10 {main}
Request state
array(4) {
  ["url"] => string(37) "/index.php?account/block-settings/add"
  ["referrer"] => bool(false)
  ["_GET"] => array(1) {
    ["account/block-settings/add"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
 
@lucien_lies thanks for reporting, I'm hoping the next update will be just a few days away and the fix will be included in there, or if I run into any hurdles then I'll push out a quick hotfix for the issue sooner.
 
Back
Top Bottom