Created admins -- role assignment

Last post 03-15-2012, 9:31 AM by Kenneth. 4 replies.
Sort Posts: Previous Next
  •  03-14-2012, 2:36 PM 73446

    Created admins -- role assignment

    Hi,
     
    Currently I'm demoing the Cute Chat software before we purchase and we've created several users as admins (beyond the original). When the additional admins go into the chat room,  they're not able to set User Role as moderator/speaker/etc to any user in the chat room. The only person who can seem to assign Role is the original admin.
     
    Why can't the moderator and/or the newly created admins  assign a role?  We can't we assign a moderator roles external to the chat (there are only two roles present --- admin & members)?
     
    Any information about this would be greatly appreciated.
    Filed under: ,
  •  03-14-2012, 3:24 PM 73447 in reply to 73446

    Re: Created admins -- role assignment

    Hi headway,
     
    Is your site online? If so, can you send me your site url? So we can check it for you.

    Can you show me the steps how you create the admins on  your site? Change the data directly in the database?
     
    Regards,
     
    Ken 
  •  03-15-2012, 7:58 AM 73464 in reply to 73447

    Re: Created admins -- role assignment

    Hi Ken,
     
    The url is retaillifechat.com
     
    I create an admin by changing a registered user through the Admin Control Panel and clicking on the little person icon under Manage Roles.
     
    I don't have direct access to the database.
     
    Thanks.
  •  03-15-2012, 8:04 AM 73466 in reply to 73464

    Re: Created admins -- role assignment

    Hi Ken,
     
    I figured out what the issue we were having was. When I had created the chat room from the chat admin control panel, I had assigned the admin as the 'moderator' for the room. Apparently assigning that person as the moderator overwrote the functionality of them being an admin. Perhaps this is something the CuteChat programmers could look into.
     
    Oh, and I still think the 'assigned moderator' of the room should have the ability to assign role of speaker/normal/silence. Because what's the point of an admin assigning that role when the room is created when the admin has to be present for that room to do the role change? Or perhaps have more levels/definitions of User Management on the backend besides just admins & members.
     
    Thanks.
  •  03-15-2012, 9:31 AM 73473 in reply to 73466

    Re: Created admins -- role assignment

    Hi headway,
     
    If you need to moderator has the role menu to handle the speaker/normal/silence, please follow the steps below
     
    1.  Open file "CuteSoft_Client\CuteChat\Script\Channel_New.js"
     
    2.  Find section below
     
    menuitem = menu.Add(1, TEXT("UI_MENU_Kick"), "" + __cc_urlbase + "Images/icon_kick.gif", function () {
                AdminKickUserWithPrompt(user);
            }, null);
     
    3. Change it to(What I did is added the red part to allow the moderator has the role menu)
     
     menuitem = menu.Add(1, TEXT("UI_MENU_Kick"), "" + __cc_urlbase + "Images/icon_kick.gif", function () {
                AdminKickUserWithPrompt(user);
            }, null);
            submemu = menu.Add(1, TEXT("UI_Menu_UserLevel"), "" + __cc_urlbase + "Images/icon_target.gif", null, null);
            menuitem = submemu.Add(1, TEXT("UI_Menu_UserLevel_Silence"), "" + __cc_urlbase + "Images/silence.gif", function () {
                AdminSetUserLevel(user, "Silence");
            }, null);
            menuitem = submemu.Add(1, TEXT("UI_Menu_UserLevel_Normal"), "" + __cc_urlbase + "Images/im_online.png", function () {
                AdminSetUserLevel(user, "Normal");
            }, null);
            menuitem = submemu.Add(1, TEXT("UI_Menu_UserLevel_VIP"), "" + __cc_urlbase + "Images/vip.gif", function () {
                AdminSetUserLevel(user, "VIP");
            }, null);
            menuitem = submemu.Add(1, TEXT("UI_Menu_UserLevel_Speaker"), "" + __cc_urlbase + "Images/speaker.gif", function () {
                AdminSetUserLevel(user, "Speaker");
            }, null);
            menuitem = submemu.Add(1, TEXT("UI_Menu_UserLevel_Moderator"), "" + __cc_urlbase + "Images/moderator.png", function () {
                AdminAddModerator(user.DisplayName);
            }, null);
     
    Regards,
     
    Ken 
View as RSS news feed in XML