Changing the display style group with a user preference

  • Thread starter Thread starter Lee
  • Start date Start date

Lee

Guest
Member
I have got a user preference set up which displays the groups a user is a member of, this can be used to set an integer in a field in the xf_user table.

This field is xf.user_xm_chosen_group.

I am looking to override the users display_style_group id with this value that they have selected.

I am looking through the existing code to find out where I need to hook in too, but I can't seem to find where the style_group id is determined.

Any help pointing me in the right direction would...

Read more

Continue reading...
 
Top