Sylver Cheetah 53's Comments

  • Re: Moderator CP

    Sylver Cheetah 53 Sylver Cheetah 53 wrote:

    Hi, again. I've tryed to put this on another forum and I have a problem. When a moderator tryes to acces the mod cp, he gets this message: The requested URL /modcp/login.php was not found on this server. I've tryed to fix this by empty cache folder (I'm using eXtreme Styles MOD). This worked on the first board I installed it, but now it did not help. If I remove re-login from pagestart.php, then it works. So it seems to be an issue with the way my forum creates the URL. It's strange because on my computer, using XAMPP, it works just fine. But not on this online board.
    Do you have any idea what could be wrong?

    Fri 15th May, 2009

  • Re: Moderator CP

    Sylver Cheetah 53 Sylver Cheetah 53 wrote:

    Hy, Milkman! Both work perfectly, thanks a lot! I couldn't do it without your help, much apreciated. Also, I put Mega Mail and Admin Userlist using your "Add New Modules" tutorial and all is fine.

    Thanks again, you are a great guy!
    Daniel

    Tue 7th April, 2009

  • Re: Moderator CP

    Sylver Cheetah 53 Sylver Cheetah 53 wrote:

    Hy, Milkman! Thanks for reply.

    About my first request, I've just tryed your sugestion and it does not work, moderastors still can not edit other moderators profiles.

    About my second request, now. Sorry, but I think you did not understand very well what I want. Probably because of my bad english. Please take a look at this pics:

    Untitled
    Untitled

    When looking at the index page, on the viewonline section, at the bottom, moderators do not see hidden users. They see what simple users see. Only admin see hidden users, and they see them in italic mode (like <i>this</i>;). But when looking in the view online section from the moderator panel, moderators see hidden users. What I want is to make the viewonline section from the mod panel, same as on index page. So that moderators will not see hidden users.

    Thanks for your effort, but I do want moderators to edit hidden users profiles and to see them in the selection box, so I can't really use your code. But someone reading this, maybe will need it.

    Mon 6th April, 2009

  • Re: Moderator CP

    Sylver Cheetah 53 Sylver Cheetah 53 wrote:

    Hy, Milkman! I got another support question for you. Moderators can't edit admins and other mods profiles. I want them to be able to change other mods, but not admins. So I need to change this part (in admin_users.php):

    1. // Disable edition for special levels
    2. if( defined('MAIN_MOD') )
    3. {
    4.     //  Need to swap MAIN_MOD and MOD over so that <= works
    5.     $this_user_level_rank = ($this_userdata['user_level'] != MAIN_MOD) ? (($this_userdata['user_level'] != MOD) ? $this_userdata['user_level'] : MAIN_MOD ) : MOD;
    6.     $user_level_rank = ($userdata['user_level'] != MAIN_MOD) ? (($userdata['user_level'] != MOD) ? $userdata['user_level'] : MAIN_MOD ) : MOD;
    7. }
    8. else
    9. {
    10.     $this_user_level_rank = $this_userdata['user_level'];
    11.     $user_level_rank = $userdata['user_level'];
    12. }
    13. $can_edit = ($user_level_rank == ADMIN) || ($userdata['user_id'] == $this_userdata['user_id']) || ($this_user_level_rank <= $user_level_rank && $this_user_level_rank != ADMIN && $user_level_rank != USER);
    14. if( !$can_edit )
    15. {
    16.     redirect('modcp/admin_users.php');
    17. }

    I want them to be able to edit other mods profiles. Thanks!

    Mon 6th April, 2009

  • Re: Moderator CP

    Sylver Cheetah 53 Sylver Cheetah 53 wrote:

    Hy, Milkman! Thanks for reply.

    It's working now, but moderators see hidden users, wich I don't like. I would like it if only admin could see hidden users, like in the forum index. I've tryed to take some code from viewonline.php but couldn't manage get it to work, untill now. Can you please give me a hand?

    Daniel

    Sun 5th April, 2009

  • Re: Moderator CP

    Sylver Cheetah 53 Sylver Cheetah 53 wrote:

    Hy, Milkman! Thanks for your great MOD

    Can you please tell me if this instruction (from your FAQ) is still accurate?

    Q: How to make my template compliant with the Mod CP?
    A: You can replace all files in templates/your_theme/modcp with your files from templates/your_theme/admin
    except for user_select_body.tpl and user_edit_body.tpl, all other files are exactly the same.

    Thanks you!
    Daniel (Romania)

    Fri 3rd April, 2009