[XFA] Custom Username Icons - XF2

[XFA] Custom Username Icons - XF2 [Paid] 5.0.8

No permission to buy (€10.00)
This is found around social media such as Facebook Pages:
204008

Is possible apply that icon near of the username like above screen and tooltip with your add-on?
Actually i want to put that icon for verified profiles from the social networks like facebook (so it mean connected accounts)

Your add-on does that with settings? @XFA
Thanks
 
Is possible apply that icon near of the username like above screen and tooltip with your add-on?
Actually i want to put that icon for verified profiles from the social networks like facebook (so it mean connected accounts)

Your add-on does that with settings? @XFA
Thanks

Hi,

No it doesn't do that.

Clément
 
Great mod! I missed it dearly after our forum transitioned to Xenforo 2.

May I ask for some troubleshooting help though, please? After the installation of this one, we seem to be getting a plethora of errors involving editing or creating usergroups. At the top of every usergroup page we have this:

Code:
Template errors

    Template admin:xfa_cui_user_group_edit: Illegal string offset 'icon' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit.php:14)
    Template admin:xfa_cui_user_group_edit: Illegal string offset 'icon' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit.php:33)
    Template admin:xfa_cui_user_group_edit: Illegal string offset 'color' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit.php:40)
    Template admin:xfa_cui_user_group_edit: Illegal string offset 'transform' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit.php:48)
    Template admin:xfa_cui_user_group_edit: Illegal string offset 'transform' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit.php:50)
    Template admin:xfa_cui_user_group_edit: Illegal string offset 'transform' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit.php:52)
    Template admin:xfa_cui_user_group_edit: Illegal string offset 'transform' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit.php:54)
    Template admin:xfa_cui_user_group_edit: Illegal string offset 'transform' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit.php:56)
    Template admin:xfa_cui_user_group_edit: Illegal string offset 'transform' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit.php:58)
    Template admin:xfa_cui_user_group_edit: Illegal string offset 'animate' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit.php:64)
    Template admin:xfa_cui_user_group_edit: Illegal string offset 'animate' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit.php:66)
    Template admin:xfa_cui_user_group_edit: Illegal string offset 'animate' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit.php:68)
    Template admin:xfa_cui_user_group_edit: Illegal string offset 'icon' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit.php:81)
    Template admin:xfa_cui_user_group_edit: Illegal string offset 'icon' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit.php:81)
(There are thousands of these.  Though we have a lot of usergroups.)
    Template admin:xfa_cui_user_group_edit_banner: Illegal string offset 'icon' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit_banner.php:11)
    Template admin:xfa_cui_user_group_edit_banner: Illegal string offset 'icon' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit_banner.php:30)
    Template admin:xfa_cui_user_group_edit_banner: Illegal string offset 'color' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit_banner.php:37)
    Template admin:xfa_cui_user_group_edit_banner: Illegal string offset 'transform' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit_banner.php:45)
    Template admin:xfa_cui_user_group_edit_banner: Illegal string offset 'transform' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit_banner.php:47)
    Template admin:xfa_cui_user_group_edit_banner: Illegal string offset 'transform' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit_banner.php:49)
    Template admin:xfa_cui_user_group_edit_banner: Illegal string offset 'transform' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit_banner.php:51)
    Template admin:xfa_cui_user_group_edit_banner: Illegal string offset 'transform' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit_banner.php:53)
    Template admin:xfa_cui_user_group_edit_banner: Illegal string offset 'transform' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit_banner.php:55)
    Template admin:xfa_cui_user_group_edit_banner: Illegal string offset 'animate' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit_banner.php:61)
    Template admin:xfa_cui_user_group_edit_banner: Illegal string offset 'animate' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit_banner.php:63)
    Template admin:xfa_cui_user_group_edit_banner: Illegal string offset 'animate' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit_banner.php:65)
    Template admin:xfa_cui_user_group_edit_banner: Illegal string offset 'icon' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit_banner.php:78)
(There are thousands of these.)
    Template admin:xfa_cui_user_group_edit_banner: Illegal string offset 'icon' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit_banner.php:78)
Might anyone have any idea what these are implying, please?
 
Are you able to do anything with banner icons selection in usergroup edit ?
If so select and save, edit again and let me know if you still got the error.

Clément
 
Those all do (still) work with the mod enabled, yes. Nobody on the forums notices anything is wrong. Any errors occur strictly on the ACP side. People have their icons and are happy. I had to remove them to do some testing in case I have to disable or uninstall the AddOn. The main problem here is that it's preventing us from making new usergroups.

Here's the errors that populate our error log on the main page of the AdminCP.

Code:
ErrorException: Template error: Illegal string offset 'icon' internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit_banner.php:78
 Generated by: <USERNAME> Nov 18, 2019 at 5:24 PM
--------------
Code:
Stack trace

#0 internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit_banner.php(78): XF\Template\Templater->handleTemplateError(2, 'Illegal string ...', '/home/nginx/dom...', 78, Array)
#1 src/XF/Template/Templater.php(1301): XF\Template\Templater->{closure}(Object(ThemeHouse\UIX\XF\Template\Templater), Array)
#2 src/XF/Template/Templater.php(1374): XF\Template\Templater->renderTemplate('xfa_cui_user_gr...', Array)
#3 internal_data/code_cache/templates/l1/s0/admin/user_group_edit.php(138): XF\Template\Templater->includeTemplate('admin:xfa_cui_u...', Array)
#4 src/XF/Template/Templater.php(1301): XF\Template\Templater->{closure}(Object(ThemeHouse\UIX\XF\Template\Templater), Array)
#5 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('user_group_edit', Array)
#6 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#7 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Html->renderView('XF:UserGroup\\Ed...', 'admin:user_grou...', Array)
#8 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#9 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#10 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#11 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#12 src/XF.php(390): XF\App->run()
#13 admin.php(13): XF::runApp('XF\\Admin\\App')
#14 {main}
---------
Code:
Request state

array(4) {
  ["url"] => string(33) "/forums/admin.php?user-groups/add"
  ["referrer"] => string(63) "<SITE.GOES.HERE>/admin.php?user-groups/"
  ["_GET"] => array(1) {
    ["user-groups/add"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}

We also have a custom-made "Clone Usergroup" AddOn someone made for us (Whose support page is just a link to their forum profile and they're not around, so that's that.) that seems to no longer function with this AddOn enabled. Here's the error it pops up with when typing in the name of the new usergroup and clicking the submit button.

Code:
Oops! We ran into some problems.
InvalidArgumentException: Attempted to convert NULL to serialized array [xfa_cui_params_ugp] in src/XF/Mvc/Entity/Entity.php at line 740

    XF\Mvc\Entity\Entity->_castValueToType() in src/XF/Mvc/Entity/Entity.php at line 618
    XF\Mvc\Entity\Entity->set() in src/XF/Mvc/Entity/Entity.php at line 720
    XF\Mvc\Entity\Entity->bulkSet() in src/addons/TS/CloneGroups/XF/Admin/Controller/UserGroup.php at line 20
    TS\CloneGroups\XF\Admin\Controller\UserGroup->actionClone() in src/XF/Mvc/Dispatcher.php at line 321
    XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 244
    XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 100
    XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 50
    XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2177
    XF\App->run() in src/XF.php at line 390
    XF::runApp() in admin.php at line 13
Thank you for looking at it! Greatly appreciated.
 
You get the first error only when creating a new usergroup ?

Regarding your second issue, I don't have the add-on so can't help you much.

Clément
 
You get the first error only when creating a new usergroup ?
So far, yes. We have all of these errors, and then We get a MASSIVE amount of the bottom three.
Code:
Template admin:xfa_cui_user_group_edit: Illegal string offset 'icon' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit.php:14)
Template admin:xfa_cui_user_group_edit: Illegal string offset 'icon' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit.php:33)
Template admin:xfa_cui_user_group_edit: Illegal string offset 'color' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit.php:40)
Template admin:xfa_cui_user_group_edit: Illegal string offset 'transform' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit.php:48)
Template admin:xfa_cui_user_group_edit: Illegal string offset 'transform' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit.php:50)
Template admin:xfa_cui_user_group_edit: Illegal string offset 'transform' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit.php:52)
Template admin:xfa_cui_user_group_edit: Illegal string offset 'transform' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit.php:54)
Template admin:xfa_cui_user_group_edit: Illegal string offset 'transform' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit.php:56)
Template admin:xfa_cui_user_group_edit: Illegal string offset 'transform' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit.php:58)

Template admin:xfa_cui_user_group_edit: Illegal string offset 'icon' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit.php:81) 

Template admin:xfa_cui_user_group_edit_banner: Illegal string offset 'transform' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit_banner.php:51) 

Template admin:xfa_cui_user_group_edit_banner: Illegal string offset 'icon' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit_banner.php:78)


Regarding your second issue, I don't have the add-on so can't help you much.
Clément
Not a problem. Thanks for the thought though. :P
 
So far, yes. We have all of these errors, and then We get a MASSIVE amount of the bottom three.
Code:
Template admin:xfa_cui_user_group_edit: Illegal string offset 'icon' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit.php:14)
Template admin:xfa_cui_user_group_edit: Illegal string offset 'icon' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit.php:33)
Template admin:xfa_cui_user_group_edit: Illegal string offset 'color' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit.php:40)
Template admin:xfa_cui_user_group_edit: Illegal string offset 'transform' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit.php:48)
Template admin:xfa_cui_user_group_edit: Illegal string offset 'transform' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit.php:50)
Template admin:xfa_cui_user_group_edit: Illegal string offset 'transform' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit.php:52)
Template admin:xfa_cui_user_group_edit: Illegal string offset 'transform' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit.php:54)
Template admin:xfa_cui_user_group_edit: Illegal string offset 'transform' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit.php:56)
Template admin:xfa_cui_user_group_edit: Illegal string offset 'transform' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit.php:58)

Template admin:xfa_cui_user_group_edit: Illegal string offset 'icon' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit.php:81)

Template admin:xfa_cui_user_group_edit_banner: Illegal string offset 'transform' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit_banner.php:51)

Template admin:xfa_cui_user_group_edit_banner: Illegal string offset 'icon' (internal_data/code_cache/templates/l1/s0/admin/xfa_cui_user_group_edit_banner.php:78)


Not a problem. Thanks for the thought though. :p

I was going to do a new release fixing your problem.
However, I am not able to replicate it.

I have 0 error when going to create a new usergroup.

Have you checked wether it could be another add-on messing around ?
 
I appreciate the time and energy in looking into it!

Here's what I currently have installed in terms of AddOns:

We'll need to decide on which of these AddOns to update and what licenses to buy.

First, a list of all of our AddOns, their version numbers as we have them now, and the name of their developer. They generally have a link to their support in the AdminCP as well, so that's handy. I'll categorize them based on the interest the users may have in them. People will be a lot more interested in a colored username AddOn or a chat AddOn than an easy-ban AddOn.

Relevant AddOns
  1. [bd] Medal 2.0.4 - XFROCKS
  2. [ForoAgency] Colored Username Everywhere 1.2.1 - [ForoAgency] Walky
  3. [TH] Covers 1.0.2 Patch Level 2 - ThemeHouse
  4. [TH] Donate 1.1.1 Patch Level 2 - ThemeHouse
  5. [TH] UI.X 2.1.1 Patch Level 1 - ThemeHouse
  6. [tl] User Smilies 1.0.1 - Truonglv
  7. [XenConcept] Minimum post length 2.0.4 - Remi C - (Link)
  8. [XenConcept] User Activity (Users Viewed, Viewing Thread, Viewing Forum) 2.1.3 Patch Level 2 - Remi C
  9. [XenConcept] Username Change 2.1.9 Patch Level 1 - Remi C
  10. [XFA] Core 1.6.0 - XFA
  11. Bump limit 1.3 - XF2 AddOns
  12. Chat 2.0.26 - Siropu
  13. Conversation Essentials 2.0.27 - Atelier Aphelion -
  14. Conversation Improvements 2.0.6 - Atelier Aphelion
  15. Local Time Indicator 1.0.0 - Liam Williams (LW AddOns)
  16. Search log 1.3 - XF2 AddOns
  17. Signature Once 1.1.3 - TickTackk
  18. Admin statistics 1.4 - XF2 AddOns
  19. Ignore list 1.0 - XF2 AddOns -
  20. Banned Avatar replacement
  21. CMAT - ThoughtPad 1.0.1 Beta 2 - Crus4der2011
  22. Conversation search plus 1.6 - XF2 AddOns - Can go up to 1.9
  23. Warning Improvements 2.2.10 - Xon
  24. Easy User Ban 2.0.4 - Siropu -
  25. [TS] Clone UserGroups for XF2 1.0.0 Release Candidate 2 - Thomas Schneider
 
I won't go through the list this doesn't help much.

You would need to disable one add§on at a time to check if the error is still there.
 
@XFA was working fine, now it isn't working at all.

No errors seem to be displaying but the username icons no longer show up after the usernames like they did previously.
 
Top Bottom