Jump to content

BFD Calendar

  • Content Count

  • Joined

  • Last visited

Community Reputation

75 Excellent

About BFD Calendar

  • Rank
    Sr. Member
  • Birthday 09/20/1959

Contact Methods

  • Website URL

Profile Information

  • Gender
  • Location

Recent Profile Visitors

5,634 profile views
  1. Thanks all. I'll be working with a long time PW community member on this. Case closed.
  2. What do you want to know? We have about 1800 students, about 350 have attended a Lasercutting Workshop. Between Jan-Jun 2019 there were over 800 laser sessions on two machines. Eventually the reservation system can be extended to two CNC machines and one 3D printer. As soon as someone makes a reservation - only by staff at our desk, not by students online - it should show up on the calendar so we know a slot is taken. Reservations are standard one hour ex 9-10 or 15-16 etc. Ideally the form also checks if the student has attended a workshop and if the slot for that machine is free for a given time/date.
  3. We're looking for someone who can make an addon for our website using Formbuilder and publishing the pages to a Google Calendar instantly. The use is a setup for laser reservations for a modelbuilding lab, see www.mekano.info to have a bit of an idea. On the 'calendar' page you'll find a linked Google calendar that lists all events per day. These events are now all added by staff members in a shared Google calendar. Underneath the calendar is a list of recent use of our lasercutters, generated by a form where user, machine and start time are entered and duration is calculated by editing that form. I have a likely form to add a reservation to enter user, machine and time/date but we want them to go into our shared Google calendar 'immediately'. If you look at early June in the calendar you can see how it should look like. I know there are simple solutions to make this happen but haven't figured a working out. We want Google calendar so all our staff can subscribe and see the calendar on all their devices. On the other hand we want to keep a list of students who made reservations because at some point they are limited. If you're interested I can give you a login to see a bit more behind the curtains. Part of the website is public for students and guests, quite a few functional pages are only visible when you're logged in.
  4. I'll install it and pm you when done.
  5. Great. I can give you a login and you can export what's needed.
  6. The hosting is by OVH. I have five sites there, two with a lot of pages and three 'simple'. In the last year they moved servers to new locations which caused a few problems but apart from that I'm satisfied. At birthfactdeathcalendar.net all images apart from a few exceptions are linked to other sites like Wikipedia and such. This probably makes pages load slow as well. And the code used to make the a-z listings for 'people' and 'places' are maybe loading a lot that isn't used. As mentioned some of the resources are copy paste and definitely not optimised for Processwire. Any help or direction to improve things is most welcomed. The site is still growing, I'm close to 29.000 pages now, means that I added about 4.000 in eight months time....
  7. Can't even see if it's full: Error: Connection timed out after 20 seconds of inactivity Error: Failed to retrieve directory listing But my FTP program says it was only modified on 07/02/15. /site/assets/files was modified 09/04/19 but then I didn't add any files, just pages last night. And getting the listing fails as well. Last cached file is LazyCron.cache 09/05/19 13:02:54 But Hurray! site is back now – without doing anything at all :)
  8. The most recent items are 2019-09-05 12:21:59 guest https://www.birthfactdeathcalendar.net/rss/ Error: Uncaught Error: Call to a member function getRandom() on null in /home/birthfac/www/site/templates/bfd_rss_feed.php:174 Stack trace: #0 /home/birthfac/www/wire/core/TemplateFile.php(287): require() #1 /home/birthfac/www/wire/core/Wire.php(380): ProcessWire\TemplateFile->___render() #2 /home/birthfac/www/wire/core/WireHooks.php(723): ProcessWire\Wire->_callMethod('___render', Array) #3 /home/birthfac/www/wire/core/Wire.php(442): ProcessWire\WireHooks->runHooks(Object(ProcessWire\TemplateFile), 'render', Array) #4 /home/birthfac/www/wire/modules/PageRender.module(514): ProcessWire\Wire->__call('render', Array) #5 /home/birthfac/www/wire/core/Wire.php(383): ProcessWire\PageRender->___renderPage(Object(ProcessWire\HookEvent)) #6 /home/birthfac/www/wire/core/WireHooks.php(723): ProcessWire\Wire->_callMethod('___renderPage', Array) #7 /home/birthfac/www/wire/core/Wire.php(442): ProcessWire\WireHooks->runHooks(Object(ProcessWire\PageRender), 'renderPage', Array) #8 /home/birthfac/www/wire/core/WireHooks.php(822): Pr (line 174 of /home/birthfac/www/site/templates/bfd_rss_feed.php) and 2019-09-05 12:32:09 ? https://www.birthfactdeathcalendar.net/?/ Error: Exception: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away (in /home/birthfac/www/wire/core/WireSaveableItems.php line 168) Yesterday evening everything was working fine.
  9. @dragan Only read your post now... Sure I'd want to optimise my site a bit. It's the first one I made with Processwire so I can imagine a lot of my coding is sluggish and outdone, also pieced together from different sources. Where should I start? Knowing that I'm more of an enthusiast and not an experienced coder. Just now I have a sudden 500 Internal Server error and can't even get on the site anymore....
  10. How can I give permission to import pages from csv? I have an 'administrator' role that can add, create and edit pages but 'Import Pages From CSV' doesn't show up under 'Setup'. PW 3.0.98
  11. A specific page, or list of pages for a specific day of the year is exactly what I'm using Processwire for with https://www.birthfactdeathcalendar.net/. I'm definitely not a PHP crack either. On my home page of course I only search for events on this day and month: $todayday = date("d"); $todaymonth = date("m"); $features = $pages->find("parent=/events/|/the-eyes/, bfd_day.name=$todayday, bfd_month.name=$todaymonth, sort=bfd_year"); To me id is more reliable than title and/or page name, because at some point it happens I find out a title (like a person's name or even a street address) was misspelled. When I change the title and/or page name I'd have to re-code every reference to it, while the id just stays the same. I have over 26000 pages by now and everything still runs very smooth for several years now. With help from dedicated members here I also learned a lot. Most of what I use is in Processwire itself, hardly using any modules apart from MapMarker. Good luck!
  12. No new editor, browser, keyboard, computer or whatever. But apparently a Safari (Mac version) update is to blame. On https://www.birthfactdeathcalendar.net/events/dates/april/24-april/ the item about Willem de Zwijger was added in Safari, the one about Daniel Defoe was added in Chrome, no spaces there. Safari 12.1 was installed on 29 March. In the admin interface the newline characters appear (invisible) in the textarea space in Safari 12.1. The source of an empty text area in Safari looks like this: <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <div data-extension-version="1.0.4" id="ConnectiveDocSignExtentionInstalled">&nbsp;</div> <div data-extension-version="1.0.4" id="ConnectiveDocSignExtentionInstalled">&nbsp;</div> while in Chrome it's empty. Edit: with the ConnectiveDocSignExtension off it still says: <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p>
  13. All of a sudden I see spaces appearing in text output where they shouldn't be and weren't before. Check this example: https://www.birthfactdeathcalendar.net/events/dates/april/23-april/ In the item about Æthelred the Unready there are about three spaces before the item text, and an empty paragraph after it. It's an item I added today. The next items were added months ago and look normal, until the one about William Wordsworth, same thing again. The item about the Rhythm Club dance hall fire was added months ago but edited today, same appearance of empty spaces. I suspect empty textarea fields in the templates to be the culprit. But how come they show up with newly added pages and not with older ones, while nothing has changed to the templates nor the php code to generate the pages? Nothing has changed to my settings, and it didn't happen three weeks ago, when for example the item about Pope Julius III was added among others on https://www.birthfactdeathcalendar.net/events/dates/march/23-march/.
  14. @wbmnfktr after // STUDENT the student's name is found from the id that was filled in on the lendout-form (page-field select). Then the list of tools this student borrowed are found from the id(s) that was filled in on the lendout-form (page-field check boxes). Lendout time is filled in automatically when the form is published. Return time is filled in by editing the form/page with a script by @Soma. If you want I can give you a login to have a better idea how things work.
  • Create New...