phpbb3 mod - custom css per permission

/**
* project
*/

module for phpbb 3.x,
custom css per permission

/**
* purpose
*/

create permission roles with selectable css options which are overwritable by users, whom are given the permission by group or user

/**
* schedule
*/

  • acp:
    • create permission role
    • read out a css file for existing class-, id- and typedeclarations, in the following called "css-elements"
    • assign css-elements to permission roles
    • declare which attributes are allowed to be added to given css element, default: background-color, color
    • (de-)activate custom css
  • ucp:
    • show entry, if permission is given
    • default categories: index, viewtopic, vieforum
    • show css elements per raioboxes, options: default, custom
    • active css element allowed attributes shown, f.e. background-color, color, font-size
    • colorpicker by colortable
    • livepreview
  • db:
    • table: cols: perm_role, status, css; contains the allowed css elements and attributes, activation status
    • table: cols: uid, css; contains the user-customized css
  • misc:
    • hook of phpbb_user_session_handler() used for checking rights, activated custom css and existing custom css in db, creates cust css var, implements cust css var in template
    • template has to be edited, for calling cust css var as inline css
    • atm: check if the user has the standard theme
  • additional goals:
    • make the module available for multiple themes in just one permission role

After all, i've to say, this is the first time, i'm writing a mod for phpbb3, so i guess, it'll take some time, to do all that stuff. I'll digg through all the functions, try to understand it and, hmm, try and error. ;)

EDIT: Momentarily i've got no active project using phpbb3, therefore this project is freezed, until i've more free time.