Jump to content

benbyf

Members
  • Posts

    818
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by benbyf

  1. RT @somelaniesaid: Alright everyone, here's that list of women who blog about code/dev! https://t.co/fHSPZV21Sp Thank you for your suggesti…

  2. Amazing! @BBCRadio4 The Global Philosopher https://t.co/b9V5teEdkm with the legend Michael Sandel

  3. no before and after benchmarks with pingdom, google page speed or anything like that? I'm also wondering about how my css/jss asset work flow would work with http/2 as I've read it benfits most when assets are seperated and not concaternated (like using AIOM module). https://www.smashingmagazine.com/2016/02/getting-ready-for-http2/#concatenating-css-and-javascript
  4. HELLO! Is anyone running a http/2 setup in production yet and have any strategies / experiences they can share? I'm currently running on Ubuntu with DigitalOcean | nginx with serverpilot.io (and they now offer https/2 support)
  5. RT @THECUBELondon: A new podcast by @benbyford on #machine #ethics, this time featuring Dr. Cosima Gretton https://t.co/U8XCyknOy6 #tech #…

  6. RT @newscientist: Why science needs more funding... :)https://t.co/vHbFnZtxb8

  7. RT @DasungTech: 13.3 inch the World's First E Ink Monitor: https://t.co/2yO5rzx0bm via @YouTube

  8. You can request all pages with required fields, check against those field values and then carry on import if not present. Not sure how efficient it would be but should work.
  9. New site for SteynStudio using bb-starter, AIOM, Batcher, image crop, Textarea Counter, Site-wide File Manager.
  10. join in with the Dulwich trail in person and/or share your Dulwich history and experiences on the trail map website https://t.co/XJSMh2SJFD

  11. Im afraid to say, i might need a little more in the way of example as i've never needed to manipulate user uploads in PW before. Files being submitted by html5 <input type="file"> Anything more would be very useful.
  12. is there any links to examples of saving files to a new page within the _func.php file? not quite sure how to pass the file around, what i have as far: function saveUserContentLocationPage($name, $uc_email, $uc_story, $uc_lat, $uc_lng){ // check to see if content available if($name){ $t = time(); // setup page $p = new Page(); // create new page object $p->template = 'user-content-location'; // set template $p->parent = wire('pages')->get("/map-stories/"); // set the parent $p->name = $name .'-'. $t; // give it a name used in the url for the page $p->title = $name; // set page title (not neccessary but recommended) $p->addStatus(Page::statusHidden); $p->save(); // setup file save // instantiate the class and give it the name of the HTML field $u = new WireUpload('uc_file'); // tell it to only accept 1 file $u->setMaxFiles(1); $u->setDestinationPath($p->file->path); foreach($u->execute() as $filename) $p->file->add($filename); // execute() returns an array, so we'll foreach() it even though only 1 file $p->save();
  13. RT @TeamMayku: Our pals @techwillsaveus have launched an eye-poppingly cool wearable for kids. https://t.co/PWRUZS53BC https://t.co/qqy9ODm…

  14. eps.3 of the Machine Ethics Podcast with @cosgretton is live. Find it here or on iTunes https://t.co/TbW1F8cIGb #AI #healthcare #autonomy

  15. RT @PMStudioUK: Only 2 days left to get applications in for one of our 3 New Talent Residencies. Deadline: 10am Friday - Please RT https://…

  16. still looking for VR speakers for #swfuturists https://t.co/cELMXad6cO please get in contact if you would be interested in speaking

  17. RT @rachelnabors: An animation showing (literally) spiralling global temperatures: https://t.co/QybZkGS2SJ cc @ncasenmare via @pjf https://…

  18. currently working on websites, articles, a business, podcast, some games, designs, teaching classes… think i need more hours in the day

  19. RT @EHL_smith: Our team are at the @DulwichFestival goose green fair promoting our time travel opportunities with @EHorizonsLtd https://t.…

  20. You could check for duplicates on import. If you saving them as pages or in fields. (Hey Pete)
  21. Thanks and lovely working with https://t.co/rqKkTUtgh7 on https://t.co/rrNZfPZgq6 - thanks for the kind words https://t.co/JaMAzuqd8k

  22. did i miss the day when google put all their API’s in one place and started to take everyones credit card details?? it wasn’t a good day

×
×
  • Create New...