Jump to content

reggiep

Members
  • Posts

    1,570
  • Joined

  • Last visited

Everything posted by reggiep

  1. We are having big problems with IE8 rendering pages incorrectly. For example youtube would look more like a mobile phone site. To correct this users have to click the compatability button next to the refresh button. A bit of a pita. I'm trying to find a way to roll back to IE7 using gpo or scripts and have found nothing so far. My alternative is to edit my images and reimage all my clients, which is a daunting task! Anyone else done this?
  2. Ok here goes! define('IN_SCRIPT',1); define('HESK_PATH','../'); /* Get all the required files and functions */ require(HESK_PATH . 'hesk_settings.inc.php'); require(HESK_PATH . 'language/'.$hesk_settings['language'].'.inc.php'); require(HESK_PATH . 'inc/common.inc.php'); require(HESK_PATH . 'inc/database.inc.php'); hesk_session_start(); hesk_isLoggedIn(); hesk_dbConnect(); /* Check permissions for this feature */ hesk_checkPermission('can_view_tickets'); $can_del_notes = hesk_checkPermission('can_del_notes',0); $can_reply = hesk_checkPermission('can_reply_tickets',0); $can_delete = hesk_checkPermission('can_del_tickets',0); $can_edit = hesk_checkPermission('can_edit_tickets',0); $trackingID = strtoupper(hesk_input($_REQUEST['track'])); if (empty($trackingID)) { print_form(); } /* Get ticket info */ $sql = "SELECT * FROM `".$hesk_settings['db_pfix']."tickets` WHERE `trackid`='$trackingID' LIMIT 1"; $result = hesk_dbQuery($sql); if (hesk_dbNumRows($result) != 1) { hesk_error($hesklang['ticket_not_found']); } $ticket = hesk_dbFetchAssoc($result); /* Get category name and ID */ $sql = "SELECT * FROM `".$hesk_settings['db_pfix']."categories` WHERE `id`=$ticket[category] LIMIT 1"; $result = hesk_dbQuery($sql); /* If this category has been deleted use the default category with ID 1 */ if (hesk_dbNumRows($result) != 1) { $sql = "SELECT * FROM `".$hesk_settings['db_pfix']."categories` WHERE `id`=1 LIMIT 1"; $result = hesk_dbQuery($sql); } $category = hesk_dbFetchAssoc($result); /* Is this user allowed to view tickets inside this category? */ hesk_okCategory($category['id']); /* Delete post action */ if (isset($_GET['delete_post']) && $can_delete) { $n = hesk_isNumber($_GET['delete_post']); if ($n) { $sql = "DELETE FROM `".$hesk_settings['db_pfix']."replies` WHERE `id`=$n LIMIT 1"; $res = hesk_dbQuery($sql); $_SESSION['HESK_NOTICE'] = $hesklang['repd']; $_SESSION['HESK_MESSAGE'] = $hesklang['repl']; } header('Location: admin_ticket.php?track='.$trackingID.'&Refresh='.mt_rand(10000,99999)); exit(); } /* Delete notes action */ if (isset($_GET['delnote'])) { $n = hesk_isNumber($_GET['delnote']); if ($n) { if ($can_del_notes) { $sql = "DELETE FROM `".$hesk_settings['db_pfix']."notes` WHERE `id`=$n LIMIT 1"; } else { $sql = "DELETE FROM `".$hesk_settings['db_pfix']."notes` WHERE `id`=$n AND `who`=$_SESSION[id] LIMIT 1"; } $res = hesk_dbQuery($sql); } header('Location: admin_ticket.php?track='.$trackingID.'&Refresh='.mt_rand(10000,99999)); exit(); } This is the beginning of a long page of code. i can see how your code would get some info out of a database but my server is hosted externally so i am not sure how to call from my own mysql tables, I can guess. I could make a table called users or techs and populate that through phpmyadmin and then call that with your php script?
  3. Thanks, Not quite sure what I need to do with it but I'll try inserting it in different parts of different pages!
  4. @Danny159 That is the sort of thing yes! I am still struggling at the moment.
  5. @Maniac, Thanks, I have been trying my best to work out where I could steal bits from within Hesk. Using the login box is a stroke of genius. I shall have a play with that.
  6. I am currently using Hesk as our helpdesk which is brilliant and free. One thing it does not have, however, is the ability to assign jobs to different staff. I thought an easy (not for me!) way to do this would be to edit the subject line so it had the tech's name at the end e.g. "printer broken - Allocated to Dave". I guess to achieve this I need to edit the admin's view php page of the ticket so they can edit the subject but I just don't have the skills to do this. Can anyone suggest some code to show a field with the ability to edit on a page or maybe a site with tutorials that I could go to to learn how to do this for myself? thanks
  7. HI all, I'm becoming slightly concerend with my boot times on my network. I have disabled a couple of GPOs that I can do without for now, installations. Is there a way to monitor what is going on during the boot sequence at all? e.g What is going on when "Applying computer settings" is running. Thanks
  8. Hi All, I have one laptop from a group of five that is causing much head scratching! When booted up it will not connect to the wireless access point that it has been told to. We have to log in as the local admin and connect it to the wireless and then log off. Once done the user is fine using it until a reboot? Has anyone seen this before and if so any tips? Thanks
  9. Found it, I had to install a plug in called "Data injection". I now can import my csv files.
  10. I have just had a horrible thought. I have been using GLPI exclusively as our hardware inventory. I have now found out that I need to import some kit which I already have in a spreadsheet but can't see an import function. Has anyone done this themselves? thanks
  11. Hmm, Not the image banner below as when I took it out it the school logo disappears
  12. I shall take a look and see if I can work that out. cheers
  13. Can somebody look at Prenton High School for Girls to see if the school logo displays at the top please? It's not working for me in IE8 but fine firefox! All I did was add an image to the banner below the menu and now this has happened. Has anyone else had this problem? Thanks
  14. Yippee! I have won something. I have ticket #68 I have pm'd dos_box Thanks again for the advice from the edugeek stand, were great help when trying to find particular stands.
  15. I have been in today and noticed that when I left i had an edugeek lanyard, a smoothwall pen and a leog figure. I need at least a mug or the journey has been wasted. Can anyone suggest a stand where mugs run free? Ta Reg
  16. I have my Lanyard. Yippee
  17. Hi All, I have a weird one here, I have three new starteers for this new year and I have added them to my active directory but moodle just won't let them log in? I have some older users on the system who have never logged in to moodle and they can log in with no problem! Slight head scratcher. Anyone any ideas? Thanks
  18. Whoop, I have webmans booking system up and running with the one exception of when setting up week dates (Not sure what that is for!) there is a 404 page not found error! Looks good in every other way though. thanks Webman
  19. I'm an idiot. Thanks, I had to put the roombooking folder inside my mahara folder on which was in /var/www I have forgotten this every time I have done this.
  20. .htaccess is unknown to me. I have seen it but never touched it (oo-er) I'm not sure where it even is!
  21. I have just installed Webman's classroombookingsystem on my working linux box that already has several sites on it. When I browse to http://webaddress/roombooking I get a http 404 webpage not found error. Even though I have the roombooking folder in my /var/www folder and within that is an index.php page. Do I need to add something to some apache config somewhere for this to work? thanks
  22. Not sure about mad? We could get them scrapped for free by a local company BUT it does seem a waste to do so when they are quite usable for standalone purposes.
  23. Hi All, Due to a recent upgrade I have found myself with some RM all in ones to sell to staff. One thing I'm not sure about is how to price them! They are RM all in ones with a P4 2.6 with 512 Ram and a 40 or 60 GB HD. Can anyone suggest what we should charge? I was thinking £50 with no support?
  24. Thanks, that did it. I've been trying all sorts of fixes for weeks! If you are at BETT I'll buy you a drink!
  25. Wow, we are interviewing for a new English teacher and one of the candidates is currently in Canada so has asked if she can be interviewed via webcam. She has a PC and we have loads of macs so I wondered what might be the best method. Any suggestions please?
×
×
  • Create New...