🔥 [Foro.Agency] Colored Username Everywhere [Deleted]

To atleast fix the forum/category list 2 templates modifications need to be changed.

node_list_category is searching for:
XML:
<xf:username user="{{ {'user_id': $extras.last_post_user_id, 'username': $extras.last_post_username} }}" />

But needs to search for:
XML:
<xf:username user="{$extras.LastPostUser}" />


And node_list_forum is searching for:
XML:
<xf:username user="{{ {'user_id': $extras.last_post_user_id, 'username': $extras.last_post_username} }}" />

But needs to search for:
XML:
<xf:username user="{$extras.LastPostUser}" defaultname="{$extras.last_post_username}" />

I changed it in template_modifications.xml for those who can't wait on an update.
 
[F.A] Walky updated 🔥 [Foro.Agency] Colored Username Everywhere with a new update entry:

XF2.1 Update

  • As XF updated his version to 2.1, some templates has changed and caused the addon not to work properly. This has now been fixed !
Be aware that this is an update for 2.1, do not try to install ona previous version as it won't work.
You may want to delte all the old files and upload the new ones because some files has been deleted.

Read the rest of this update entry...
 
there is a problem

ezgif-1-91979995b1d1.gif
 
I'm having little nightmare some forums are not getting the same colour as they should....

Top 1 main forum - Working Fine
205348

Next 4 forums - Not Working
205349

Last forum at bottom of form list - Working Fine
205350

anyway to fix this?
 
We have these errors appearing:

Code:
    Error: Call to a member function faColoredUsernameGetUserColor() on null src/addons/ForoAgency/ColoredUsername/XF/Pub/View/Member/Find.php:24

    Generated by: Highgrade Aug 13, 2019 at 2:01 PM

Stack trace

#0 src/XF/Mvc/Renderer/AbstractRenderer.php(91): ForoAgency\ColoredUsername\XF\Pub\View\Member\Find->renderJson()
#1 src/XF/Mvc/Renderer/Json.php(63): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('XF:Member\\Find', '', Array)
#2 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Json->renderView('XF:Member\\Find', '', Array)
#3 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#4 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#5 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#6 src/XF/App.php(2178): XF\Mvc\Dispatcher->run()
#7 src/XF.php(390): XF\App->run()
#8 index.php(20): XF::runApp('XF\\Pub\\App')
#9 {main}

Request state

array(4) {
  ["url"] => string(202) "/index.php?members/find&q=pa&_xfRequestUri=%2Fthreads%2Fhelp-congratulate-paja3-on-being-so-hospitable.638485%2F&_xfWithData=1&_xfToken=1565719289%2Cef265bc71e632ec0b97e3637c6f49ab6&_xfResponseType=json"
  ["referrer"] => string(88) "https://www.reef2reef.com/threads/help-congratulate-paja3-on-being-so-hospitable.638485/"
  ["_GET"] => array(6) {
    ["members/find"] => string(0) ""
    ["q"] => string(2) "pa"
    ["_xfRequestUri"] => string(63) "/threads/help-congratulate-paja3-on-being-so-hospitable.638485/"
    ["_xfWithData"] => string(1) "1"
    ["_xfToken"] => string(43) "1565719289,ef265bc71e632ec0b97e3637c6f49ab6"
    ["_xfResponseType"] => string(4) "json"
  }
  ["_POST"] => array(0) {
  }
}

Code:
    ErrorException: [E_NOTICE] Undefined offset: 10 src/addons/ForoAgency/ColoredUsername/XF/Pub/View/Member/Find.php:21

    Generated by: Highgrade Aug 13, 2019 at 2:01 PM

Stack trace

#0 src/addons/ForoAgency/ColoredUsername/XF/Pub/View/Member/Find.php(21): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/clubzoa/p...', 21, Array)
#1 src/XF/Mvc/Renderer/AbstractRenderer.php(91): ForoAgency\ColoredUsername\XF\Pub\View\Member\Find->renderJson()
#2 src/XF/Mvc/Renderer/Json.php(63): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('XF:Member\\Find', '', Array)
#3 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Json->renderView('XF:Member\\Find', '', Array)
#4 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#5 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#6 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#7 src/XF/App.php(2178): XF\Mvc\Dispatcher->run()
#8 src/XF.php(390): XF\App->run()
#9 index.php(20): XF::runApp('XF\\Pub\\App')
#10 {main}

Request state

array(4) {
  ["url"] => string(202) "/index.php?members/find&q=pa&_xfRequestUri=%2Fthreads%2Fhelp-congratulate-paja3-on-being-so-hospitable.638485%2F&_xfWithData=1&_xfToken=1565719289%2Cef265bc71e632ec0b97e3637c6f49ab6&_xfResponseType=json"
  ["referrer"] => string(88) "https://www.reef2reef.com/threads/help-congratulate-paja3-on-being-so-hospitable.638485/"
  ["_GET"] => array(6) {
    ["members/find"] => string(0) ""
    ["q"] => string(2) "pa"
    ["_xfRequestUri"] => string(63) "/threads/help-congratulate-paja3-on-being-so-hospitable.638485/"
    ["_xfWithData"] => string(1) "1"
    ["_xfToken"] => string(43) "1565719289,ef265bc71e632ec0b97e3637c6f49ab6"
    ["_xfResponseType"] => string(4) "json"
  }
  ["_POST"] => array(0) {
  }
}

Code:
[LIST]
[*]                
[*]ErrorException: [E_NOTICE] Undefined index: iconHtml
[*]               
[*]src/addons/ForoAgency/ColoredUsername/XF/Pub/View/Member/Find.php:27
[*]            
[/LIST]
           
[LIST]
[*]                
[*]Generated by: Highgrade
[*]               
[*]Aug 13, 2019 at 2:01 PM
[*]            
[/LIST]
        
       Stack trace
       
           #0 src/addons/ForoAgency/ColoredUsername/XF/Pub/View/Member/Find.php(27): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/clubzoa/p...', 27, Array)
#1 src/XF/Mvc/Renderer/AbstractRenderer.php(91): ForoAgency\ColoredUsername\XF\Pub\View\Member\Find->renderJson()
#2 src/XF/Mvc/Renderer/Json.php(63): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('XF:Member\\Find', '', Array)
#3 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Json->renderView('XF:Member\\Find', '', Array)
#4 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#5 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#6 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#7 src/XF/App.php(2178): XF\Mvc\Dispatcher->run()
#8 src/XF.php(390): XF\App->run()
#9 index.php(20): XF::runApp('XF\\Pub\\App')
#10 {main}

       


        Request state

        

array(4) {
["url"] => string(202) "/index.php?members/find&q=pa&_xfRequestUri=%2Fthreads%2Fhelp-congratulate-paja3-on-being-so-hospitable.638485%2F&_xfWithData=1&_xfToken=1565719289%2Cef265bc71e632ec0b97e3637c6f49ab6&_xfResponseType=json"
["referrer"] => string(88) "https://www.reef2reef.com/threads/help-congratulate-paja3-on-being-so-hospitable.638485/"
["_GET"] => array(6) {
["members/find"] => string(0) ""
["q"] => string(2) "pa"
["_xfRequestUri"] => string(63) "/threads/help-congratulate-paja3-on-being-so-hospitable.638485/"
["_xfWithData"] => string(1) "1"
["_xfToken"] => string(43) "1565719289,ef265bc71e632ec0b97e3637c6f49ab6"
["_xfResponseType"] => string(4) "json"
}
["_POST"] => array(0) {
}
}

Code:
[LIST]
[*]                
[*]ErrorException: [E_NOTICE] Undefined index: iconHtml
[*]               
[*]src/addons/ForoAgency/ColoredUsername/XF/Pub/View/Member/Find.php:23
[*]            
[/LIST]
           
[LIST]
[*]                
[*]Generated by: Highgrade
[*]               
[*]Aug 13, 2019 at 2:01 PM
[*]            
[/LIST]
        
       Stack trace
       
           #0 src/addons/ForoAgency/ColoredUsername/XF/Pub/View/Member/Find.php(23): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/clubzoa/p...', 23, Array)
#1 src/XF/Mvc/Renderer/AbstractRenderer.php(91): ForoAgency\ColoredUsername\XF\Pub\View\Member\Find->renderJson()
#2 src/XF/Mvc/Renderer/Json.php(63): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('XF:Member\\Find', '', Array)
#3 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Json->renderView('XF:Member\\Find', '', Array)
#4 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#5 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#6 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#7 src/XF/App.php(2178): XF\Mvc\Dispatcher->run()
#8 src/XF.php(390): XF\App->run()
#9 index.php(20): XF::runApp('XF\\Pub\\App')
#10 {main}

       


        Request state

        

array(4) {
["url"] => string(202) "/index.php?members/find&q=pa&_xfRequestUri=%2Fthreads%2Fhelp-congratulate-paja3-on-being-so-hospitable.638485%2F&_xfWithData=1&_xfToken=1565719289%2Cef265bc71e632ec0b97e3637c6f49ab6&_xfResponseType=json"
["referrer"] => string(88) "https://www.reef2reef.com/threads/help-congratulate-paja3-on-being-so-hospitable.638485/"
["_GET"] => array(6) {
["members/find"] => string(0) ""
["q"] => string(2) "pa"
["_xfRequestUri"] => string(63) "/threads/help-congratulate-paja3-on-being-so-hospitable.638485/"
["_xfWithData"] => string(1) "1"
["_xfToken"] => string(43) "1565719289,ef265bc71e632ec0b97e3637c6f49ab6"
["_xfResponseType"] => string(4) "json"
}
["_POST"] => array(0) {
}
}
 
Another one:

Code:
    ErrorException: [E_NOTICE] Undefined offset: 0 src/addons/ForoAgency/ColoredUsername/XF/Pub/View/Member/Find.php:21

    Generated by: Bleigh Aug 9, 2019 at 4:08 PM

Stack trace

#0 src/addons/ForoAgency/ColoredUsername/XF/Pub/View/Member/Find.php(21): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/home/clubzoa/p...', 21, Array)
#1 src/XF/Mvc/Renderer/AbstractRenderer.php(91): ForoAgency\ColoredUsername\XF\Pub\View\Member\Find->renderJson()
#2 src/XF/Mvc/Renderer/Json.php(63): XF\Mvc\Renderer\AbstractRenderer->renderViewObject('XF:Member\\Find', '', Array)
#3 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Json->renderView('XF:Member\\Find', '', Array)
#4 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#5 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#6 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#7 src/XF/App.php(2178): XF\Mvc\Dispatcher->run()
#8 src/XF.php(390): XF\App->run()
#9 index.php(20): XF::runApp('XF\\Pub\\App')
#10 {main}

Request state

array(4) {
  ["url"] => string(205) "/index.php?members/find&q=%20P&_xfRequestUri=%2Fthreads%2Fhelp-us-congratulate-paul-b-for-being-excellent.638537%2F&_xfWithData=1&_xfToken=1565381275%2C66ef1edd1f3cb54f7599841419fce451&_xfResponseType=json"
  ["referrer"] => string(89) "https://www.reef2reef.com/threads/help-us-congratulate-paul-b-for-being-excellent.638537/"
  ["_GET"] => array(6) {
    ["members/find"] => string(0) ""
    ["q"] => string(2) " P"
    ["_xfRequestUri"] => string(64) "/threads/help-us-congratulate-paul-b-for-being-excellent.638537/"
    ["_xfWithData"] => string(1) "1"
    ["_xfToken"] => string(43) "1565381275,66ef1edd1f3cb54f7599841419fce451"
    ["_xfResponseType"] => string(4) "json"
  }
  ["_POST"] => array(0) {
  }
}
 
Back
Top Bottom