Jump to content

alonebfg

Members
  • Posts

    861
  • Joined

Everything posted by alonebfg

  1. This service is really good there is one thing that I have found out that must be done for it to work correctly. These firewall rules must be in place or the service will not work correctly.add rule - static ip of google cloud print service pc to http://www.google.com/cloudprint Port tcp/443 add rule - static ip of google cloud print service pc to talk.google.com Port tcp/5222 The second one is really important else the printers will seem like they are offline and you wont get a very good print service. I hope this helps anyone else.
  2. I Have been playing with it but cant seem to get the service to work on a server will work on client. But have been using the driver for a while it works really well. Teachers can now print from home.
  3. I dont know If this is the correct place to put this but here goes. I have been looking at a saml called lemonldap nd I have got it linked up to my ad and can log in fine now come the confusing saml bit as I have never done it before I hope there is some help here It is only a trial atm but due to the fact we are a smal school we dont want to be paying £100s if I can get this woring for free.
  4. the problem is we just need it local as its part of our digital display we did use powerpoint but it like to crash a lot. so I have been doing it via a webpage. I may have to look at the auto rename just its a lot of work for me every time a picture is changed
  5. Ok Here is the issue. I have a folder the photos are put into and taken out of. this folder syncs with a web folder. What I want to do is create a webpage that takes the photos in the folder and displays them as a slideshow. I can do this manually but when the photos get changed weekly it becomes a bit of a nightmare I am not the best at coding I know basic php and a little java. even if there was a script that i could get to run nightly to rename old and new photos to add them to slidshow. any ideas would be good.
  6. Lol looks like noone else has even heard of it lol just installed looks good even integrates with glpi will report back when had a play.
  7. I woke up this morning and thougt to myself when will it end. Working as a ICT Tech in a school is great but it looks like I may have do do more Outgoings (food fuel gas electric mortgage)- doing nice things = still cant afford to live. Gas prices keep going up petrol keeps going up cost of living keeps going up wages stay the same. My parter told me to sell myself I told her none would buy a body like this lol. Never mind off to earn some more penny's.
  8. I Have been using GLPI with fusion inventory for a good few years and it has gone from strength to strength with printer levels and PC monitoring checking software installed and so on and it works really well. Now From the same people I have seen Shinken | The next Industry Standard in IT Monitoring I know some people use NAGIOS but I am wondering if anyone has used this and is so what is it like?? It looks fairly new. I am going to give it a go but would like to hear from people that have use it and maybe compared it to NAGIOS.
  9. Hi I have been working on a scrolling calendar for my xibo display It uses simplepie and jquery.newsScroll it works atm but not as I would like it to so that I could share it here is the code require 'simplepie.inc'; // Create a new class that extends an existing class class SimplePie_Item_Extras extends SimplePie_Item { var $show_past_events = TRUE; function set_show_past_events($value = FALSE){ $this->show_past_events = $value; } /** This is an example of adding a new method to an existing class */ function check_url($url_to_check){ $tmp = str_replace("/basic","/full",$url_to_check); // if(!strpos($tmp,'?')) // $tmp = $this->append($tmp,"?") // else{ // if(!(substr($tmp, -1) === '&')) // $tmp = $this->append($tmp,'&'); // } // if($this->show_past_events) // $tmp = $this->append($tmp,'futureevents=false&'); // else // $tmp = $this->append($tmp,'futureevents=true&'); // if($this->sort_ascending) // $tmp = $this->append($tmp,'sortorder=ascending&'); // else // $tmp = $this->append($tmp,'sortorder=descending&'); // if($this->orderby_by_start_date) // $tmp = $this->append($tmp,'orderby=starttime&'); // else // $tmp = $this->append($tmp,'orderby=lastmodified&'); // if($this->expand_single_events) // $tmp = $this->append($tmp,'singleevents=true&'); // else // $tmp = $this->append($tmp,'singleevents=false&'); // return $tmp; } // Retrieve the value. function get_gcal_starttime($format = false) { // We want to grab the Google-namespaced tag. // http://simplepie.org/wiki/tutorial/grab_custom_tags_or_attributes $when = $this->get_item_tags('http://schemas.google.com/g/2005', 'when'); // Once we grab the tag, let's grab the startTime attribute $date = $when[0]['attribs']['']['startTime']; if ($format) { // Let's pass it through strtotime() and then format it with date(). This will be the date we display. return date($format, strtotime($date)); } else { // Otherwise we'll return it as-is with no modifications. return $date; } } function get_gcal_endtime($format = false) { // We want to grab the Google-namespaced tag. // http://simplepie.org/wiki/tutorial/grab_custom_tags_or_attributes $when = $this->get_item_tags('http://schemas.google.com/g/2005', 'when'); // Once we grab the tag, let's grab the startTime attribute $date = $when[0]['attribs']['']['endTime']; if ($format) { // Let's pass it through strtotime() and then format it with date(). This will be the date we display. return date($format, strtotime($date)); } else { // Otherwise we'll return it as-is with no modifications. return $date; } } function get_gcal_where() { // We want to grab the Google-namespaced tag. // http://simplepie.org/wiki/tutorial/grab_custom_tags_or_attributes $where = $this->get_item_tags('http://schemas.google.com/g/2005','where'); // Once we grab the tag, let's grab the startTime attribute return $where[0]['attribs']['']['valueString']; } /** This is an example of modifying an existing method of an existing class. */ function get_id() { return $this->__toString(); } } $feed = new SimplePie('http://www.google.com/calendar/feeds/ford.plymouth.sch.uk_fcbr34ae6jag4pah8oogd7id50%40group.calendar.google.com/private-9b334582e4341761e0cc732328184757/full?futureevents=true'); $feed->handle_content_type(); $feed->set_item_class('SimplePie_Item_Extras'); $feed->init(); $feed->handle_content_type(); ?> Super Duper News Scroller get_items(0, 15) as $item) : ?> get_title(); ?> Date get_gcal_starttime('j F Y'); ?> Time get_gcal_starttime('h:i') =='12:00'){echo "all day";} else {echo $item->get_gcal_starttime('H:i');echo' - ';echo $item->get_gcal_endtime('H:i');}?> Event get_content('j F Y H:i'); ?> Location get_gcal_where($string); ?> <br /> $('#widget').newsScroll({<br /> speed: 2000,<br /> delay: 5000<br /> });<br /> <br /> // or just call it like:<br /> // $('#widget').newsScroll();<br /> at the moment you need to change Parents Calander manually as a lot of the code does not work i have zipped the other files if anyone else wants a play. I have used various of open sources to create this I just want to make it easier for other people to use. gcalander.zip
  10. alonebfg

    php problem

    Thank you sorted it I think my bad feel an idiot I was not calling the function correctly ie I used echo $tmp; when it should have been echo check_url($url) ok for now but might be back lol
  11. alonebfg

    php problem

    ok now I am confused for I am not that clever at php can someone tell me why $tmp = str_replace("/basic","/full",$url); but if i call it as a function IE function check_url($url){ $tmp = str_replace("/basic","/full",$url); } it stops working ??
  12. alonebfg

    php problem

    here is the orignal code have changed the $feed bit but it does not seem to return anything I dont know why I was given the code and only know the basics of php I cant seem to find ot why its not working changing $feed = $url_to_check; to $feed = check_url($url_to_check); the tells me Fatal error: Call to undefined function check_url() in C:\xampp\htdocs\test\new.php on line 38 insted of blank page $url_to_check = ('http://www.google.com/calendar/feeds/ford.plymouth.sch.uk_fcbr34ae6jag4pah8oogd7id50%40group.calendar.google.com/private-9b334582e4341761e0cc732328184757/basic'); // Create a new class that extends an existing class function init(){ $this->set_item_class('http://schemas.google.com/g/2005'); } class Gcal_edit { function check_url($url_to_check){ $tmp = str_replace("/basic","/full",$url_to_check); if(!strpos($tmp,'?')) $tmp = $this->append($tmp,'?'); else{ if(!(substr($tmp, -1) === '&')) $tmp = $this->append($tmp,'&'); } if($this->show_past_events) $tmp = $this->append($tmp,'futureevents=false&'); else $tmp = $this->append($tmp,'futureevents=true&'); if($this->sort_ascending) $tmp = $this->append($tmp,'sortorder=ascending&'); else $tmp = $this->append($tmp,'sortorder=descending&'); if($this->orderby_by_start_date) $tmp = $this->append($tmp,'orderby=starttime&'); else $tmp = $this->append($tmp,'orderby=lastmodified&'); if($this->expand_single_events) $tmp = $this->append($tmp,'singleevents=true&'); else $tmp = $this->append($tmp,'singleevents=false&'); return $tmp; } } ?> Super Duper News Scroller
  13. alonebfg

    php problem

    I am in the process of orting out our google calander but i have a problem $url_to_check = "googlecalander.com/somecalandertest/basic"; class googlecalander_output { var $show_past_events = FALSE; var $sort_ascending = TRUE; var $orderby_by_start_date = TRUE; var $expand_single_events = TRUE; function check_url($url_to_check){ $tmp = str_replace("/basic","/full",$url_to_check); if(!strpos($tmp,'?')) $tmp = $this->append($tmp,'?'); else{ if(!(substr($tmp, -1) === '&')) $tmp = $this->append($tmp,'&'); } if($this->show_past_events) $tmp = $this->append($tmp,'futureevents=false&'); else $tmp = $this->append($tmp,'futureevents=true&'); if($this->sort_ascending) $tmp = $this->append($tmp,'sortorder=ascending&'); else $tmp = $this->append($tmp,'sortorder=descending&'); if($this->orderby_by_start_date) $tmp = $this->append($tmp,'orderby=starttime&'); else $tmp = $this->append($tmp,'orderby=lastmodified&'); if($this->expand_single_events) $tmp = $this->append($tmp,'singleevents=true&'); else $tmp = $this->append($tmp,'singleevents=false&'); return $tmp; } $feed = temp }?> echo $feed; it will eventually put on an internal web so that people can put in any google cal xml rss url and depending on setting will change the url and at the moment display it but eventually I will use the $feed to feed it to another programme as a correctly formated feed. at the moment nothing happens $feed is blank this is not my code but orignal code does not work either
  14. I love this tool and have been playing with it and looks really good the only issue i have is the fact with SWGFL You don't have the ability to rewrite url or headers and so this will not work but as I was told on the phone if you want to pay £1000 more a year or so you can get the rm box whatever is is called and this will do it ( at the moment still looking at using dansguardin with swgfl but without much success. Grrr why are they so far behind the times.
  15. I found out today something really interesting. Due to the price of gold being so high pc components mobile phones and anything with electronics in it get broken down for amongst other things gold. A friend Helps in plant using chemicals to extract the gold. any the funny thing is that your old mobile phone thats broken and someone will give you 5p for can be worth up to £10 in gold. I thought he was joking till i told the other half and apparently the kids saw it on TV (bang goes the theory I think) where a bloke produced £50 in gold from old phones sim cards motherboards but could of got £120 if he done it right. Perhaps i am in the wrong business. LOL I wonder why the kids love to recycle there money in it for someone lol.
  16. I don't know if anyone uses papercut but we have been using it for a little while and I have just discovered one of the best things in the world in the programme Scripting. This has done 2 things 1 means I dont have to have printer for staff and printer for pupils and staff can control pupils printing without having to give any sort of printer admin. you can use this and change groups no. of pages etc if you need to. Also there is a hyper-link in the student mesage box so that teachers can click on it to get to the release console but atm it does not work but have been informed that hyperlinks will work with next version 11.5. A very nice peace of software. Print script.zip
  17. ok I have a little bit of a problem there is a work aroung but it means cerating more groups. I have year groups that are setup as global due to the fact that fine grained password does not work with universal groups. but now I have another problem that exchange does not work with global groups and need to be universal groups. so for instance the group staff with a fine graine policy cant be a exchange groups anyone out there know if there is a fix or workaround or will I just have to create more groups.
  18. Also one thing I have noticed sometimes they wont be created on first login but onece logged out and back in again it will be there. We are pushing more towards the redirection the profiles with 2008 as it seems to work better.
  19. OK where do I start We are having a nightmare at the moment in the primary i work at. With cost cuts and the like we are using SWGFL as are filtering due to bandwith and cost (cant get filtering and services cheaper for the moment) But there rule keep changing with images and due to strict safe search not being default and not able to buy ISA server I have been looking at dansguardian to redirect urls which I have been using at home for some time. Here is the problem I need to set it up on my network not really as a filter but mainly to redirect google search terms has anyone tried this and if so how hard or easy. I know this seems mad but atm we cant drop SWGFL. Any ideads however mad would be really good.
  20. I am in the process of upgrading it at the moment but it is not as easy as 123 and have to stip it down first as i have put some addons on it but will post back when done.
  21. Has anyone got a explanation of leasing hardware. as far as I can tell there are 2 types finance or operating for a finance you need the approval of the Secretary of State there are loads of other rules. Has anyone had a good experience if so who with and has anyone had a bad experience and who to avoid It is not something I want to do but with the budget as it is we need to do something or the school will have nothing in the next year. ( I have taken on a run down ICT system which has not been maintained or updated properly.)I have just been told that a finance lease is wrong in schools which is why a couple of companys have been taken to court over it for selling so called operating leases when they were finance leases.
  22. Here is a really godd document i have been sent from ms it is very good at explaning how is on licences.Enrollment_for_Education_Solutions_Program_Guide.docx
  23. I have looked into it more and it does includ none teaching satff ie TA's but not caretakers or mta as they are not users as such I had to speak to ms licening team and they told me that I dont know the exact ruleing but when i wen through it with them none of the mta's and cleaners or caretaker was included. They gave me the example of they need pc's to do there job not just answer emails or the occansionl keep off the grass sign does not count.
  24. We have just bought into the EES licensing for os and office in a primary school. and i thought I would never say this but wow Want a good system we have 15 fte staff but we have 100 pcs and it works out a dream as we are not paying for per pc but per fte I have also spoke to a secondry school and they are saving a load of money. good work MS i feel like they care now what do you tink of the new EES. On this same sort of thing has anyone used http://www.softwareforstudents.co.uk a couple of parents have asked me I have never used it so cant comment but if anyone here has I will pass on comments.
  25. The main reason i went for them is the itunes support they both have and it acts like a mini server I know there are other but looking at the reviews both these look awsome if noone else has tried them it looks like i am going to have to toss a coin lol.
×
×
  • Create New...