Jump to content

cyberrant

Members
  • Posts

    24
  • Joined

  • Last visited

Reputation

15 Good

About cyberrant

Personal Information

  • Location
    lincolnshire
  1. Have a difficult one here. Does anyone know the reset procedure for the HP 352 HP 30-10010-02 Switch. We've tried the defaults, but no success. In desperate need of accessing them ASAP HP will reset but at the price of £200 per switch and we have 4 to do. Currently running a BruteForce attack but need a quicker method. anyone?
  2. For Moodle go into 'config.inc.php' and replace the line: $max_advance_days = isset($cfg_mrbs->max_advance_days) ? $cfg_mrbs->max_advance_days : -1; with is if (is_siteadmin()) { $max_advance_days = -1; } else { $max_advance_days = 2; } $cfg_mrbs->max_advance_days = $max_advance_days; it allows site administrators to alter/add/delete any bookings outside of the max advance days setting
  3. answer found if (is_siteadmin()) { // do something for site admins } else { // do something else }
  4. i believe i have fixed this issue, by going into 'config.inc.php' and replacing the line: $max_advance_days = isset($cfg_mrbs->max_advance_days) ? $cfg_mrbs->max_advance_days : -1; with is if (is_siteadmin()) { $max_advance_days = -1; } else { $max_advance_days = 2; } $cfg_mrbs->max_advance_days = $max_advance_days; it allows site administrators to alter/add/delete any bookings outside of the max advance days setting
  5. i need help and was wondering if anyone has any ideas on this one i need to create an if statement for moodle that will look at the current user login and if they are a site administrator it will give me back a different result. i know it will need to look like this if ($user->???? == ???) { WHAT I WANT TO HAPPEN } else { WHAT I WANT TO HAPPEN } does anyone have any ideas on how to fill the blanks?
  6. this is now an open thread on moodle.org https://moodle.org/mod/forum/discuss.php?d=230259
  7. can anyone tell me a way around this one, we currently have a moodle 2.2 install with MRBS. we have all our rooms set up and they are currently in use by staff. what we want to do is set it so NO ONE other than 'admin user' can add a booking outside of the 'max day' setting. i've found one or two threads on this but nothing about the moodle version, can anyone help?
  8. i have found out how to solve the problem, if the user's authentication method is set to 'LDAP Capture' then i get a white screen when i change this to 'LDAP Server' this issue disappears. therefore i think it must have something to do with the LDAP Capture auth method. i will check the coding for this and see if the problem is still there
  9. just tried it, i still get the same issue. i am hessistant to remove the Facility block completely as it took a while to get working properly
  10. i have done this but all i get back is 'Notice: Trying to get property of non-object in C:\inetpub\wwwroot\blocks\facility_to_moodle\block_facility_to_moodle.php on line 52 ' i still have no idea what is wrong with this?
  11. i cannot explain this one at all. i have two users both with the same system permissions but when i 'Turn editing on' on one of them i am given the white screen of death while the other one is fine. can anyone explain why this is happening? i am running moodle 2.2.5 and the users are being added in using facility to moodle.
  12. right, we use the facility to moodle block to add users to moodle, having moodle then create the users in the AD would save so much time.
  13. ok, i need to be able to create a user in moodle and have that user then created back into my servers AD. Is This Even Possible? i know the reverse is possible so it can't be to difficult. is there anyone who can help? my site is currently running moodle 2.2.2+
  14. thats great, and i see that you've updated it for 2.3, that may come in handy depending on when we move for progesso, cheers i do have one more question though - the helpdesk block : Moodle.org: Old modules and plugins is there any chance you can help me with updating the code of it for moodle 2.2 or 2.3? as it is the last block i need for my current site?
×
×
  • Create New...