What's new
Xen Factory

Register today to become a member! Once signed in, you'll be able to start purchasing our products, ask questions, request support and suggest new ideas!

  • We are aware that a no permission error was shown when you tried to purchase in the last 2 days, this is now fixed.

Bug Fixed No icons on Account Details page?

Max

New Member
Hello,

I am not seeing the icons in the Account Details page. I am only seeing the part where you can adjust username colors and user title colors.

I have enabled permissions for the usergroups but still am not seeing where each user can change their icons.
 

Clement

Freaky Coder
Staff member
Ah wait, you just don't see them ?

Are you sure permissions are set properly ?
Did you check with ther permissions analyzer ?

Clément
 

frybread

Member
Same issue here. It seems the latest XF upgrade broke something, but it took several days before the options disappeared.
 
Last edited:

frybread

Member
It was the xfa_cui_forced column. For some reason, all users had a value of "4". Setting this to 0 seems to fix the problem.

Since all my users in the column were already at 4, I had to issue an sql query to change them to 0.

To fix it in the code,

Setup.php line 32
PHP:
$table->addColumn('xfa_cui_forced', 'tinyint', 3)->unsigned()->setDefault(4);
change to
PHP:
$table->addColumn('xfa_cui_forced', 'tinyint', 3)->unsigned()->setDefault(0);

Uninstalling will not wipe the column, either. To do that, you need to edit:
Setup.php line 86
PHP:
$table->dropColumns(array('xfa_cui_type', 'xfa_cui_noanim', 'xfa_cui_params'));
change to
PHP:
$table->dropColumns(array('xfa_cui_forced', 'xfa_cui_noanim', 'xfa_cui_params'));
 
Last edited:
  • Like
Reactions: Max

Max

New Member
It was the xfa_cui_forced column. For some reason, all users had a value of "4". Setting this to 0 seems to fix the problem.

Since all my users in the column were already at 4, I had to issue an sql query to change them to 0.

To fix it in the code,

Setup.php line 32
PHP:
$table->addColumn('xfa_cui_forced', 'tinyint', 3)->unsigned()->setDefault(4);
change to
PHP:
$table->addColumn('xfa_cui_forced', 'tinyint', 3)->unsigned()->setDefault(0);

Uninstalling will not wipe the column, either. To do that, you need to edit:
Setup.php line 86
PHP:
$table->dropColumns(array('xfa_cui_type', 'xfa_cui_noanim', 'xfa_cui_params'));
change to
PHP:
$table->dropColumns(array('xfa_cui_forced', 'xfa_cui_noanim', 'xfa_cui_params'));
That fixed it! Thank you!
 

Clement

Freaky Coder
Staff member
Interesting this is something I had change in the xF2 release (i.e. forced being now 0 or 1).
Did you guys have a fresh install of that or was it installed since a long time ?
 

Zeus

New Member
I am also having this problem and have checked permissions, as well as made the changes to setup.php with no luck

Still don't see the option to edit user icon in account details
 

frybread

Member
I am also having this problem and have checked permissions, as well as made the changes to setup.php with no luck

Still don't see the option to edit user icon in account details
Check your xfa_cui_forced column. Is it filled with 4's? If so, change them to 0's.
 

Clement

Freaky Coder
Staff member
Problem is if you installed it before the change then it won't apply as per frybread saying
 
Top