Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Is it possible to have custom themes for groups?


nicolagreco
Participant

@nicolagreco

Cool idea,

this week i’ll commit bpdev extra groups,

so groups could have extra field and if you want do that you need add meta for theme like

Add new field for theme:

Theme : – 1 white theme

– 1 black theme

and after do that

bpdev_theme_register_style(
'my-styles', // your style slug name
'XBOX Styles', // your style name
"xbox_color{$color}", // callback
'on', // status "on" on default
'off', // off will not display it in admin interface
( bpdev_get_groupmeta($groups_obj->id, 'color' ) == $color ) ? ( true ) : ( false ); // the group ID
);

wait less than a week to do that

Skip to toolbar