• User with hierarchical names doesnt work as forum/category owners

    By Henrik Tornblom 1 decade ago

    This may or may not be a bug. It really depends on what you are designing here.



    The problem

    When I set up xTalk for our University I did not get the category and forum owner to work correctly in the sense that they did not see their extra buttons etc.



    After some searching in the application I determined that the problem was that the owners were stored with their abbreviated hierarchical names.



    And that this name was compared to the users common name to display the buttons etc.



    A sort of solution

    After glancing through the code I felt like that the project favored the use of the users common name. This suits our purposes as we have unique common names of all our users. But how good this is, really depends on your directory and certification structure.



    I choose to fix this problem by editing the forms that adds user names for the different access roles.

    I changed these design elements:



    • content_editForum

    • content_editForumArea

    • content_newForum

    • content_newForumArea



    I changed all names in the $VimPeopleAndGroups to common names by applying the formula @Name("[CN]", xxx) to the code of the DBLookups in the view.