[AP] Style Suite

  • Thread starter Thread starter apathy's icon apathy apathy
  • Start date Start date
  • 319
  • 14,037
Also it seems when I go into a individual user on the admin panel. If I try to remove their styles and press save. It doesn't get removed and their style settings get passed on to my admin account

Funny I was about to come in and report the same issue that I inherit style changes to the admin account when I change them in the ACP.
 
Last edited:
Hey im trying to delet a user and I get this message. Help
Code:
ErrorException: [E_WARNING] Undefined array key "XF:User[7044]" in src/addons/apathy/StyleSuite/XF/Entity/User.php at line 79
XF::handlePhpError() in src/addons/apathy/StyleSuite/XF/Entity/User.php at line 79
apathy\StyleSuite\XF\Entity\User->canChangeStyleType() in src/addons/apathy/StyleSuite/XF/Entity/User.php at line 25
apathy\StyleSuite\XF\Entity\User->_postDelete() in src/XF/Mvc/Entity/Entity.php at line 1664
XF\Mvc\Entity\Entity->delete() in src/XF/Service/User/Delete.php at line 71
XF\Service\User\Delete->delete() in src/XF/Admin/Controller/User.php at line 727
XF\Admin\Controller\User->actionDelete() in src/XF/Mvc/Dispatcher.php at line 352
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2487
XF\App->run() in src/XF.php at line 524
XF::runApp() in admin.php at line 13
 
I'm also noticing a regression where particular members have different font settings applied (when viewing as admin) i.e. a member has 12px font, system is 16px font. Member has not changed their font settings. Something funky with the admin for sure.
 
Is the username color fixed? There is no option to change.
Yes and no, you can choose to set pre-defined colors for each usergroup. If none are set for a usergroup, then the user will be able to input their own color on the style settings page
 
Yes and no, you can choose to set pre-defined colors for each usergroup. If none are set for a usergroup, then the user will be able to input their own color on the style settings page
I change it from the user group but the color is still the same. Can you show me an example?
 
I get such an error.

Code:
ErrorException: [E_WARNING] Undefined array key "avatar_frame" src/addons/apathy/StyleSuite/XF/Template/Templater.php:282
Tarafından: Bilinmeyen hesap 05.02.2025 21:45'de
Yığın izleme
#0 src/addons/apathy/StyleSuite/XF/Template/Templater.php(282): XF::handlePhpError(2, '[E_WARNING] Und...', '/home/oltamis/p...', 282)
#1 src/addons/apathy/StyleSuite/XF/Template/Templater.php(163): apathy\StyleSuite\XF\Template\Templater->isPropEnabled('avatar_frame')
#2 src/addons/Snog/Avatar/XF/Template/Templater.php(25): apathy\StyleSuite\XF\Template\Templater->fnAvatar(Object(SV\StandardLib\XF\Template\Templater), false, Object(SV\AdvancedBbCodesPack\XF\Entity\User), 's', false, Array)
#3 src/addons/SV/UserActivity/SV/StandardLib/TemplaterHelper.php(55): Snog\Avatar\XF\Template\Templater->fnAvatar(Object(SV\StandardLib\XF\Template\Templater), false, Object(SV\AdvancedBbCodesPack\XF\Entity\User), 's', false, Array)
#4 src/XF/Template/Templater.php(1220): SV\UserActivity\SV\StandardLib\TemplaterHelper->fnArrayAvatar(Object(SV\StandardLib\XF\Template\Templater), false, Object(SV\AdvancedBbCodesPack\XF\Entity\User), 's', false, Array)
#5 src/addons/LiamW/MentionMiniAvatar/XF/BbCode/Renderer/Html.php(54): XF\Template\Templater->func('avatar', Array)
#6 src/XF/BbCode/Renderer/Html.php(356): LiamW\MentionMiniAvatar\XF\BbCode\Renderer\Html->renderTagUser(Array, '1', Array, Array, Object(LiamW\MentionMiniAvatar\XF\BbCode\Renderer\Html))
#7 src/addons/s9e/MediaSites/XF/BbCode/Renderer/Html.php(17): XF\BbCode\Renderer\Html->renderTag(Array, Array)
#8 src/XF/BbCode/Traverser.php(63): s9e\MediaSites\XF\BbCode\Renderer\Html->renderTag(Array, Array)
#9 src/addons/SV/AdvancedBbCodesPack/BbCode/Tag/AbstractTag.php(173): XF\BbCode\Traverser->renderSubTree(Array, Array)
#10 src/addons/SV/AdvancedBbCodesPack/BbCode/Tag/ModInterrupt.php(147): SV\AdvancedBbCodesPack\BbCode\Tag\AbstractTag->renderEscapedSubTree(Array, Array)
#11 src/XF/BbCode/Renderer/Html.php(356): SV\AdvancedBbCodesPack\BbCode\Tag\ModInterrupt->render(Array, '', Array, Array, Object(LiamW\MentionMiniAvatar\XF\BbCode\Renderer\Html))
#12 src/addons/s9e/MediaSites/XF/BbCode/Renderer/Html.php(17): XF\BbCode\Renderer\Html->renderTag(Array, Array)
#13 src/XF/BbCode/Traverser.php(63): s9e\MediaSites\XF\BbCode\Renderer\Html->renderTag(Array, Array)
#14 src/XF/BbCode/Traverser.php(39): XF\BbCode\Traverser->renderSubTree(Array, Array)
#15 src/XF/BbCode/Traverser.php(22): XF\BbCode\Traverser->renderAst(Array, Object(SV\AdvancedBbCodesPack\XF\BbCode\RuleSet), Array)
#16 src/XF/Pub/View/FeedHelper.php(121): XF\BbCode\Traverser->render('[B]Olta Misina[...', Object(SV\AdvancedBbCodesPack\XF\BbCode\Parser), Object(SV\AdvancedBbCodesPack\XF\BbCode\RuleSet), Array)
#17 src/XF/Pub/View/Forum/Rss.php(72): XF\Pub\View\FeedHelper::setupEntryForThread(Object(Laminas\Feed\Writer\Entry), Object(XFMG\XF\Entity\Thread))
#18 src/XF/Pub/View/Forum/Rss.php(31): XF\Pub\View\Forum\Rss->createEntry(Object(Laminas\Feed\Writer\Feed), Object(XFMG\XF\Entity\Thread), 'last_post_date')
#19 src/XF/Mvc/Renderer/AbstractRenderer.php(92): XF\Pub\View\Forum\Rss->renderRss()
#20 src/XF/Mvc/Renderer/Xml.php(72): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('XF:Forum\\Rss', '', Array)
#21 src/XF/Mvc/Dispatcher.php(471): XF\Mvc\Renderer\Xml->renderView('XF:Forum\\Rss', '', Array)
#22 src/XF/Mvc/Dispatcher.php(453): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Rss), Object(XF\Mvc\Reply\View))
#23 src/XF/Mvc/Dispatcher.php(412): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Rss), Object(XF\Mvc\Reply\View))
#24 src/XF/Mvc/Dispatcher.php(66): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'rss')
#25 src/XF/App.php(2826): XF\Mvc\Dispatcher->run()
#26 src/XF.php(806): XF\App->run()
#27 index.php(23): XF::runApp('XF\\Pub\\App')
#28 {main}
Durum isteği
array(4) {
  ["url"] => string(21) "/forumlar/-/index.rss"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
I change it from the user group but the color is still the same. Can you show me an example?
Theres not much to say, removing the set "Selectable username colors " from Admin Panel -> Users & Groups -> Usergroups should restore back to the original standard/gradient color selection.
I'd double check all your groups to make sure there aren't any lingering colors set.

I get such an error.
I'll have this fixed in the next update, should be out in a couple of days.
 
When I try to change the color from here, I get this error.

IMG_2542.webp

Code:
InvalidArgumentException: Attempted to convert string to JSON array [color] in src/XF/Mvc/Entity/Entity.php at line 808
XF\Mvc\Entity\Entity->_castValueToType() in src/XF/Mvc/Entity/Entity.php at line 682
XF\Mvc\Entity\Entity->set() in src/XF/Mvc/Entity/Entity.php at line 612
XF\Mvc\Entity\Entity->__set() in src/addons/apathy/StyleSuite/XF/Entity/UserGroup.php at line 51
apathy\StyleSuite\XF\Entity\UserGroup->_postSave() in src/XF/Mvc/Entity/Entity.php at line 1324
XF\Mvc\Entity\Entity->save() in src/XF/Mvc/FormAction.php at line 72
XF\Mvc\FormAction->XF\Mvc\{closure}() in src/XF/Mvc/FormAction.php at line 190
XF\Mvc\FormAction->run() in src/XF/Admin/Controller/UserGroupController.php at line 125
XF\Admin\Controller\UserGroupController->actionSave() in src/XF/Mvc/Dispatcher.php at line 362
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 264
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2826
XF\App->run() in src/XF.php at line 806
XF::runApp() in admin.php at line 15
 
When I try to change the color from here, I get this error.
odd, its working on my end :S

I'll take a look and see if I can find out whats wrong with it but again the update wont be out for a few days still
 

Attachments

  • color.webp
    color.webp
    3 KB · Views: 2
I completely removed the plugin, set the php file upload size to 20M, installed the plugin as a package, and now there are none of the errors I just mentioned.
 
I completely removed the plugin, set the php file upload size to 20M, installed the plugin as a package, and now there are none of the errors I just mentioned.
I'm not sure what the file upload size would have to do with anything, but hey if it works :D
 
Hello bro

I have this problem with

Rebuild caches​

...


LogicException: Entity apathy\StyleSuite:AvatarFrame (class: apathy\StyleSuite\Entity\AvatarFrame) could not be found in src/XF/Mvc/Entity/Manager.php at line 53​

XF\Mvc\Entity\Manager->getEntityClassName() in src/XF/Mvc/Entity/Manager.php at line 69
XF\Mvc\Entity\Manager->getEntityStructure() in src/XF/Mvc/Entity/Manager.php at line 225
XF\Mvc\Entity\Manager->getFinder() in src/XF/Mvc/Entity/Repository.php at line 35
XF\Mvc\Entity\Repository->finder() in src/addons/apathy/StyleSuite/Repository/Style.php at line 116
apathy\StyleSuite\Repository\Style->rebuildUserStyleCache() in src/addons/apathy/StyleSuite/Job/UserStyleCache.php at line 39
apathy\StyleSuite\Job\UserStyleCache->run() in src/XF/Job/Manager.php at line 260
XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 202
XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 118
XF\Job\Manager->runByIds() in src/XF/Admin/Controller/Tools.php at line 122
XF\Admin\Controller\Tools->actionRunJob() in src/XF/Mvc/Dispatcher.php at line 352
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2487
XF\App->run() in src/XF.php at line 524
XF::runApp() in admin.php at line 13
 
My froum 2.2
support for XF2.2 has ended, so I womt be able to issue an update to fix this

however, the avatar frames do not have a user style cache in the 2.2 versions, only an asset cache
so the errors just ugly and shouldnt be stopping the addon from working. you should be able to still rebuild the caches of custom title, username, tooltip etc
 
Hi Apathy! I recently took over a forum (so the previous inquiries are from a prior owner), and I’m incredibly new to all of this. I’ve been trying to add more fonts, but any I add keep defaulting to Times New Roman... I'm pretty sure? (Might be wrong.)

I had reached out to the previous owner of the forum, and they think there was a specific format that new fonts need to be in order to upload as intended. They can't recall the specifics, so they recommended I reach out to you. We’re using version 2.12.0. Is this something you'd be able to help with?

Thank you in advance!
 
@tabbytales hey, if I remember right with 2.12.0 only TTF is properly supported, even though the uploader might accept other stuff like WOFF. However I could also be totally wrong as its been a while since I saw that build.

If you're already trying with TTFs, then double check in the "Network" tab of your browser console to see if the fonts are 404ing
 
hello sir

i upgrade my site from 2.2.5 to 2.3.7

i went to upgrade Style Suite · 2.11.14 -> 2.16.4
i receive this error

Error
: Call to undefined method apathy\StyleSuite\Repository\UserStyleRepository::getBackgroundImageRepeatValues() in src/addons/apathy/StyleSuite/Install/Upgrade2120030.php at line 165
  1. apathy\StyleSuite\Setup->formatBackgroundImageRepeat() in src/addons/apathy/StyleSuite/Install/Upgrade2120030.php at line 152
  2. apathy\StyleSuite\Setup->upgrade2120030Step3() in src/XF/AddOn/StepRunnerUpgradeTrait.php at line 124
  3. apathy\StyleSuite\Setup->upgradeStepRunner() in src/XF/AddOn/StepRunnerUpgradeTrait.php at line 73
  4. apathy\StyleSuite\Setup->upgrade() in src/XF/Admin/Controller/AddOnController.php at line 612
  5. XF\Admin\Controller\AddOnController->actionUpgrade() in src/XF/Mvc/Dispatcher.php at line 362
  6. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 265
  7. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
  8. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
  9. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2824
  10. XF\App->run() in src/XF.php at line 806
  11. XF::runApp() in admin.php at line 15
 
Last edited:
hello sir

i upgrade my site from 2.2.5 to 2.3.7

i went to upgrade Style Suite · 2.11.14 -> 2.16.4
i receive this error

Error
: Call to undefined method apathy\StyleSuite\Repository\UserStyleRepository::getBackgroundImageRepeatValues() in src/addons/apathy/StyleSuite/Install/Upgrade2120030.php at line 165
  1. apathy\StyleSuite\Setup->formatBackgroundImageRepeat() in src/addons/apathy/StyleSuite/Install/Upgrade2120030.php at line 152
  2. apathy\StyleSuite\Setup->upgrade2120030Step3() in src/XF/AddOn/StepRunnerUpgradeTrait.php at line 124
  3. apathy\StyleSuite\Setup->upgradeStepRunner() in src/XF/AddOn/StepRunnerUpgradeTrait.php at line 73
  4. apathy\StyleSuite\Setup->upgrade() in src/XF/Admin/Controller/AddOnController.php at line 612
  5. XF\Admin\Controller\AddOnController->actionUpgrade() in src/XF/Mvc/Dispatcher.php at line 362
  6. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 265
  7. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
  8. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
  9. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2824
  10. XF\App->run() in src/XF.php at line 806
  11. XF::runApp() in admin.php at line 15
you can not upgrade directly like this. you need to do it in steps. upgrade to 2.12.X first, then 2.13.X, and then jump to 2.16.13

Please check out my latest post in the xenforo thread because you may need to perform some steps in FTP to get to 2.13.X
 
Back
Top