🔥 [Foro.Agency] Profile Customization (profile banner, custom tab...) [Deleted]

Having this Issue in version 1.1.1
  • ErrorException: [E_NOTICE] Undefined index: profile_color
  • src/addons/ForoAgency/ProfileCustom/XF/Pub/Controller/Account.php:68
Trace:
#0 src/addons/ForoAgency/ProfileCustom/XF/Pub/Controller/Account.php(68): XF::handlePhpError(8, '[E_NOTICE] Unde...', '/var/www/walkin...', 68, Array)
#1 src/XF/Mvc/Dispatcher.php(249): ForoAgency\ProfileCustom\XF\Pub\Controller\Account->actionProfileCustomization(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Account', 'ProfileCustomiz...', 'html', Object(XF\Mvc\ParameterBag), 'account', Object(KL\UserImprovements\Pub\Controller\Account), NULL)
#3 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#4 src/XF/App.php(1879): XF\Mvc\Dispatcher->run()
#5 src/XF.php(328): XF\App->run()
#6 index.php(13): XF::runApp('XF\\Pub\\App')
#7 {main}
Hello,

Did you upgrade the addon from 1.0.0 to 1.1.1 or you install the addon directly from 1.1.1 ?
 
Is there a way to disable the custom color feature? I like the other options, but the color scheme just looks really bad with my current style.

Where do I find the place to edit colors?
 
I installed your addon, but every time that I attempt to use it I get this error:

Code:
XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'profile_color' in 'field list' in src/XF/Db/AbstractStatement.php at line 212
[LIST=1]
[*]XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 196
[*]XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 39
[*]XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 54
[*]XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 79
[*]XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 160
[*]XF\Db\AbstractAdapter->insert() in src/XF/Mvc/Entity/Entity.php at line 1389
[*]XF\Mvc\Entity\Entity->_saveToSource() in src/XF/Mvc/Entity/Entity.php at line 1121
[*]XF\Mvc\Entity\Entity->save() in src/XF/Mvc/FormAction.php at line 69
[*]XF\Mvc\FormAction->XF\Mvc\{closure}() in src/XF/Mvc/FormAction.php at line 159
[*]XF\Mvc\FormAction->run() in src/addons/ForoAgency/ProfileCustom/XF/Pub/Controller/Account.php at line 36
[*]ForoAgency\ProfileCustom\XF\Pub\Controller\Account->actionProfileCustomization() in src/XF/Mvc/Dispatcher.php at line 249
[*]XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88
[*]XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
[*]XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1891
[*]XF\App->run() in src/XF.php at line 328
[*]XF::runApp() in index.php at line 13
[/LIST]
Its accompanied by this server error each time:
Code:
[LIST]
[*]XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'profile_color' in 'field list'
[*]src/XF/Db/AbstractStatement.php:212
[*]Generated by: [URL='https://starwarsrpforum.com/admin.php?users/prudence.20/edit']Prudence[/URL]
[*]Mar 24, 2018 at 8:48 PM
[/LIST]
[SIZE=5][B]Stack trace[/B][/SIZE]
INSERT  INTO `xf_fa_profile_custom` (`avatar_type`, `tab_title`, `profile_color`, `tab_content`, `user_id`, `banner`) VALUES (?, ?, ?, ?, ?, ?)
------------

#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL statement...', 1054, '42S22')
#1 src/XF/Db/Mysqli/Statement.php(39): XF\Db\Mysqli\Statement->getException('MySQL statement...', 1054, '42S22')
#2 src/XF/Db/Mysqli/Statement.php(54): XF\Db\Mysqli\Statement->prepare()
#3 src/XF/Db/AbstractAdapter.php(79): XF\Db\Mysqli\Statement->execute()
#4 src/XF/Db/AbstractAdapter.php(160): XF\Db\AbstractAdapter->query('INSERT  INTO `x...', Array)
#5 src/XF/Mvc/Entity/Entity.php(1389): XF\Db\AbstractAdapter->insert('xf_fa_profile_c...', Array, false)
#6 src/XF/Mvc/Entity/Entity.php(1121): XF\Mvc\Entity\Entity->_saveToSource()
#7 src/XF/Mvc/FormAction.php(69): XF\Mvc\Entity\Entity->save(true, false)
#8 src/XF/Mvc/FormAction.php(159): XF\Mvc\FormAction->XF\Mvc\{closure}(Object(XF\Mvc\FormAction))
#9 src/addons/ForoAgency/ProfileCustom/XF/Pub/Controller/Account.php(36): XF\Mvc\FormAction->run()
#10 src/XF/Mvc/Dispatcher.php(249): ForoAgency\ProfileCustom\XF\Pub\Controller\Account->actionProfileCustomization(Object(XF\Mvc\ParameterBag))
#11 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Account', 'ProfileCustomiz...', 'html', Object(XF\Mvc\ParameterBag), 'account', Object(KL\UserImprovements\Pub\Controller\Account), NULL)
#12 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#13 src/XF/App.php(1891): XF\Mvc\Dispatcher->run()
#14 src/XF.php(328): XF\App->run()
#15 index.php(13): XF::runApp('XF\\Pub\\App')
#16 {main}
[SIZE=5][B]Request state[/B][/SIZE]
array(4) {
  ["url"] => string(40) "/index.php?account/profile-customization"
  ["referrer"] => string(67) "https://starwarsrpforum.com/index.php?account/profile-customization"
  ["_GET"] => array(1) {
    ["account/profile-customization"] => string(0) ""
  }
  ["_POST"] => array(5) {
    ["profile_color"] => string(0) ""
    ["avatar_type"] => string(5) "round"
    ["tab_title"] => string(0) ""
    ["tab_content_html"] => string(0) ""
    ["_xfToken"] => string(8) "********"
  }
}
 
Is there a way to disable the custom color feature? I like the other options, but the color scheme just looks really bad with my current style.

Where do I find the place to edit colors?
Hello,

Currently, there is no « normal » way to disable this feature, the only thing you can do is delete all the colors in the AdminCP: admin.php?profile-colors :)

I installed your addon, but every time that I attempt to use it I get this error:

Code:
XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'profile_color' in 'field list' in src/XF/Db/AbstractStatement.php at line 212
[LIST=1]
[*]XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 196
[*]XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 39
[*]XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 54
[*]XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 79
[*]XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 160
[*]XF\Db\AbstractAdapter->insert() in src/XF/Mvc/Entity/Entity.php at line 1389
[*]XF\Mvc\Entity\Entity->_saveToSource() in src/XF/Mvc/Entity/Entity.php at line 1121
[*]XF\Mvc\Entity\Entity->save() in src/XF/Mvc/FormAction.php at line 69
[*]XF\Mvc\FormAction->XF\Mvc\{closure}() in src/XF/Mvc/FormAction.php at line 159
[*]XF\Mvc\FormAction->run() in src/addons/ForoAgency/ProfileCustom/XF/Pub/Controller/Account.php at line 36
[*]ForoAgency\ProfileCustom\XF\Pub\Controller\Account->actionProfileCustomization() in src/XF/Mvc/Dispatcher.php at line 249
[*]XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88
[*]XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
[*]XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1891
[*]XF\App->run() in src/XF.php at line 328
[*]XF::runApp() in index.php at line 13
[/LIST]
Its accompanied by this server error each time:
Code:
[LIST]
[*]XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'profile_color' in 'field list'
[*]src/XF/Db/AbstractStatement.php:212
[*]Generated by: [URL='https://starwarsrpforum.com/admin.php?users/prudence.20/edit']Prudence[/URL]
[*]Mar 24, 2018 at 8:48 PM
[/LIST]
[SIZE=5][B]Stack trace[/B][/SIZE]
INSERT  INTO `xf_fa_profile_custom` (`avatar_type`, `tab_title`, `profile_color`, `tab_content`, `user_id`, `banner`) VALUES (?, ?, ?, ?, ?, ?)
------------

#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL statement...', 1054, '42S22')
#1 src/XF/Db/Mysqli/Statement.php(39): XF\Db\Mysqli\Statement->getException('MySQL statement...', 1054, '42S22')
#2 src/XF/Db/Mysqli/Statement.php(54): XF\Db\Mysqli\Statement->prepare()
#3 src/XF/Db/AbstractAdapter.php(79): XF\Db\Mysqli\Statement->execute()
#4 src/XF/Db/AbstractAdapter.php(160): XF\Db\AbstractAdapter->query('INSERT  INTO `x...', Array)
#5 src/XF/Mvc/Entity/Entity.php(1389): XF\Db\AbstractAdapter->insert('xf_fa_profile_c...', Array, false)
#6 src/XF/Mvc/Entity/Entity.php(1121): XF\Mvc\Entity\Entity->_saveToSource()
#7 src/XF/Mvc/FormAction.php(69): XF\Mvc\Entity\Entity->save(true, false)
#8 src/XF/Mvc/FormAction.php(159): XF\Mvc\FormAction->XF\Mvc\{closure}(Object(XF\Mvc\FormAction))
#9 src/addons/ForoAgency/ProfileCustom/XF/Pub/Controller/Account.php(36): XF\Mvc\FormAction->run()
#10 src/XF/Mvc/Dispatcher.php(249): ForoAgency\ProfileCustom\XF\Pub\Controller\Account->actionProfileCustomization(Object(XF\Mvc\ParameterBag))
#11 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Account', 'ProfileCustomiz...', 'html', Object(XF\Mvc\ParameterBag), 'account', Object(KL\UserImprovements\Pub\Controller\Account), NULL)
#12 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#13 src/XF/App.php(1891): XF\Mvc\Dispatcher->run()
#14 src/XF.php(328): XF\App->run()
#15 index.php(13): XF::runApp('XF\\Pub\\App')
#16 {main}
[SIZE=5][B]Request state[/B][/SIZE]
array(4) {
  ["url"] => string(40) "/index.php?account/profile-customization"
  ["referrer"] => string(67) "https://starwarsrpforum.com/index.php?account/profile-customization"
  ["_GET"] => array(1) {
    ["account/profile-customization"] => string(0) ""
  }
  ["_POST"] => array(5) {
    ["profile_color"] => string(0) ""
    ["avatar_type"] => string(5) "round"
    ["tab_title"] => string(0) ""
    ["tab_content_html"] => string(0) ""
    ["_xfToken"] => string(8) "********"
  }
}
Could you check if there is a profile_color column in your database on the table xf_fa_profile_custom please ?

Best regards,
Walky
 
Hello,

Currently, there is no « normal » way to disable this feature, the only thing you can do is delete all the colors in the AdminCP: admin.php?profile-colors :)


Could you check if there is a profile_color column in your database on the table xf_fa_profile_custom please ?

Best regards,
Walky
Screen Shot 2018-03-25 at 9.49.26 PM.webp

this is what that table returns for me
 
I purchased this today,I setup permissions and when I went in to customize my profile I ran across this error.
Oops! We ran into some problems.
Sorry, this profile page color is unavailable
I downloaded your most current version as well
 
Is it possible to allow certain user colors only to certain groups? Example, red would only be available to moderators, and not to other groups.
 
Purchased this and works but I have the following complaints/suggestions:
-Profile color should be optional.
-If the banner cannot automatically resize pictures proportionally then maybe adding a little text saying the exact dimensions the image should be would be helpful.
 
Purchased this and works but I have the following complaints/suggestions:
-Profile color should be optional.
-If the banner cannot automatically resize pictures proportionally then maybe adding a little text saying the exact dimensions the image should be would be helpful.
Hello,

Profile color could be optional if you delete all the predefined colors in your AdminCP.
I am working on a way to resize banner for a better render.

Best regards,
Walky
 
Hello,

Profile color could be optional if you delete all the predefined colors in your AdminCP.
I am working on a way to resize banner for a better render.

Best regards,
Walky
If you remove all the colors and try to add a banner with no color options it says "that's not a valid color"
 
Hello,

Profile color could be optional if you delete all the predefined colors in your AdminCP.
I am working on a way to resize banner for a better render.

Best regards,
Walky
Any idea when this new update will be out? Can't really use the plugin until this gets added...
 
Top Bottom