Print

Print


Thanks, Michael.

I apologize for jumping into the question so late, and not bothering to
read the original inquiry; I saw that some initial attempts were made, and
didn't work, and I love to solve problems.

This one, however, can be resolved without the need for custom themes. As
Michael said, WP will accept HTML5 video - it looks like all you'd have to
do is just drop a hyperlink in the edit page WYSIWYG - done.

If you wanted a gallery, I suppose you could roll your own, but this plugin
doesn't look terrible, was updated Monday, and (at least they said) it's
compatible with 4.0:
https://wordpress.org/plugins/gallery-video/screenshots/

It's just a plugin - not a theme. Plugins->Add New

I don't do a whole lot of work with WP anymore, or Drupal for that matter -
again, I just like the challenge of a problem.

.m


On Thu, Nov 6, 2014 at 9:16 AM, Michael Schofield <[log in to unmask]>
wrote:

> Hi friendly folks,
>
> I created LibraryLearn for the project developed by Jamie Segno and
> Michelle Keba, and I am just about to get around to a couple of emails sent
> directly to me but I figured I'd chime in with some important things:
>
> 1. LibraryLearn's public repo is not up to date - the next one is a biggie:
> 2. LibraryLearn is highly dependent on the rest of the Sherman Library's
> ecosystem. It *is not* packaged for reuse and you probably *shouldn't use
> it*, especially in the state as it was left on the repo.
>
> On LibraryLearn.com I wrote:
>
> "It's device agnostic, light weight, is smart and dynamic, and
> future-friendly - and it's totally yours if you're willing to wait!"
>
> While this is true, the waiting part is also true. We have to get
> permission to explicitly open source it and package it properly for
> integration in other WordPress themes, but since that permission is
> probably a long time coming, it is totally spun-up as a highly dependent
> child theme to the rest of our ecosystem. The video files don't even live
> on our instance of LibraryLearn but on a separate media server.
>
> What you get from the repo probably will not work for you without intense
> retrofitting. My apologies. The plans to distribute LibraryLearn are not as
> a theme but as a plugin, or maybe the important video parts in the plugin
> and bundled with a theme designed around that plugin, but we haven't yet
> been given the go-ahead by our copyright person and our parent university.
>
> On a nicer note, I'd be happy to walk you through the code you should use,
> or show you how to implement XYZ - depending on what you want to get out of
> an instructional videos theme. Since LibraryLearn was created, WordPress
> now natively handles HTML5 Video, and developers can now replicate it much
> more easily.
>
> Feel free to shoot me any questions.
>
> Best,
>
> Michael
> www.libux.co
>
>
>
> -----Original Message-----
> From: Code for Libraries [mailto:[log in to unmask]] On Behalf Of
> Riley Childs
> Sent: Thursday, November 06, 2014 11:36 AM
> To: [log in to unmask]
> Subject: Re: [CODE4LIB] Drupal question
>
> I concur, the theme needs to be placed in a subdirectory like what I
> described earlier:
> <wp-root>/wp-content/themes/librarylearn/<files here>
>
>
> --
> Riley Childs
> Senior
> Charlotte United Christian Academy
> IT Services Administrator
> Library Services Administrator
> https://rileychilds.net
> cell: +1 (704) 497-2086
> office: +1 (704) 537-0331x101
> twitter: @rowdychildren
> Checkout our new Online Library Catalog: https://catalog.cucawarriors.com
>
> Proudly sent in plain text
>
> -----Original Message-----
> From: Code for Libraries [mailto:[log in to unmask]] On Behalf Of
> Mark Pernotto
> Sent: Thursday, November 06, 2014 11:29 AM
> To: [log in to unmask]
> Subject: Re: [CODE4LIB] Drupal question
>
> At first glance, it looks like you could possibly be missing access to a
> required file. :)
>
> The dynamic path mentioned: 'library/Detector/lib/ua-
> parser-php/UAParser.php'
> doesn't look WordPress-y to me. I'm wondering:
> 1) If you have copied the theme in it's entirety
> 2) If somehow paths got mixed up.
>
> Another thing that looks odd to me is the placement of that functions.php
> file. The functions.php file, within a WP system, is normally contained in
> a designated theme name directory - not directly in the 'themes' folder.
> I'd expect to see that path look more like this:
> /var/www/html/wp-content/themes/YourThemeNameHere/functions.php
> ....where YourThemeNameHere is the theme you've chosen for your site.
>
> Just a hunch: where did you place that theme? Did you copy it directly in
> the 'themes' directory, or did you copy the folder it was contained in as
> well? In other words, when you look inside that 'themes' directory, do you
> see a bunch of files? There shouldn't be anything in there but folders.
>
> If you had someone you trust to take a look at this setup, or play around
> with that functions.php file, that's the route I'd go, if you didn't feel
> comfortable with it yourself.
>
> Is this a 'live' site?
>
> .m
>
>
> On Thu, Nov 6, 2014 at 2:04 AM, Sergio Letuche <[log in to unmask]>
> wrote:
>
> >  sudo tail  /var/log/apache2/error.log
> >
> > PHP Fatal error:  require_once(): Failed opening required
> > 'library/Detector/lib/ua-parser-php/UAParser.php'
> > (include_path='.:/usr/share/php:/usr/share/pear') in
> > /var/www/html/wp-content/themes/functions.php on line 12
> >
> > this is what i get, any suggestions?
> >
> >
> >
> > 2014-11-05 9:58 GMT+02:00 Sergio Letuche <[log in to unmask]>:
> >
> > > Login to wordpress...
> > > Appearance>Themes>Click on activate to see  the theme you want.
> > >
> > > When i do this, i get the WSOD. I was hoping for an answer from the
> > > software authors.
> > >
> > > It seems that this theme when activated needs also some plugins to
> > > be installed along
> > >
> > >
> > >
> > http://thomasgriffinmedia.com/blog/2011/09/automatically-install-plugi
> > ns-with-themes-for-wordpress/
> > >
> > > So i was hoping for some answer from the software authors, there may
> > > be some prerequisite actions i am missing.
> > >
> > > Drupal has strong, well-supported and proven media tools.
> > >
> > > I agree, but looking at the librarylearn demo, made us really want
> > > to
> > give
> > > it a try.
> > >
> > > Thank you all for your answers
> > >
> > > 2014-11-04 20:22 GMT+02:00 Cary Gordon <[log in to unmask]>:
> > >
> > >> It is amazing to me that a question about media management through
> > Drupal
> > >> has morphed into a WP WSOD question.
> > >>
> > >> Once again, Drupal has strong, well-supported and proven media tools.
> > >>
> > >> Cary
> > >>
> > >> > On Nov 4, 2014, at 10:03 AM, Mark Pernotto
> > >> > <[log in to unmask]>
> > >> wrote:
> > >> >
> > >> > Sergio,
> > >> >
> > >> > If you can't login to WP at all, there's possibly bigger issues
> > >> > at
> > play
> > >> > here.  Try this:
> > >> >
> > >> > put:
> > >> >
> > >> > define('WP_DEBUG', true);
> > >> >
> > >> > in your wp-config.php file; you probably already have the
> > >> > definition,
> > >> just
> > >> > change it to *true*. No parentheses.
> > >> > I'd normally never suggest that for a 'live' site, but that WSOD
> > >> > isn't doing you any favors at the moment, either. What this does,
> > >> > is
> > >> essentially
> > >> > show you on that white screen what/where your error might be.
> > >> > Also pay attention to the URL that's displayed in the address bar
> > >> > - can you
> > still
> > >> > navigate about your site? Is every page blank? Is it only admin?
> > >> >
> > >> > If that isn't working, try removing the theme from the
> > wp-content/themes
> > >> > directory.
> > >> >
> > >> > Did you make backups before you did this? Just curious.....
> > >> >
> > >> > .m
> > >> >
> > >> >
> > >> >
> > >> > On Tue, Nov 4, 2014 at 9:17 AM, Sergio Letuche <
> > [log in to unmask]
> > >> >
> > >> > wrote:
> > >> >
> > >> >> well i did exactly this, and then i got a blank screen
> > >> >>
> > >> >> the zip i downloaded from github, extracted to a working setup
> > >> >> of
> > >> wordpess,
> > >> >> in <web-root>/wp-content/themes/ librarylearn
> > >> >>
> > >> >> what am i doing wrong?
> > >> >>
> > >> >> 2014-11-04 14:53 GMT+02:00 Riley Childs <[log in to unmask]
> >:
> > >> >>
> > >> >>> Well it is intended for WordPress, but in WordPress you can
> > >> >>> drop the
> > >> >> files
> > >> >>> in <web-root>/wp-content/themes/librarylearn
> > >> >>>
> > >> >>>
> > >> >>> --
> > >> >>> Riley Childs
> > >> >>> Senior
> > >> >>> Charlotte United Christian Academy IT Services Administrator
> > >> >>> Library Services Administrator https://rileychilds.net
> > >> >>> cell: +1 (704) 497-2086
> > >> >>> office: +1 (704) 537-0331x101
> > >> >>> twitter: @rowdychildren
> > >> >>> Checkout our new Online Library Catalog:
> > >> >> https://catalog.cucawarriors.com
> > >> >>>
> > >> >>> Proudly sent in plain text
> > >> >>>
> > >> >>> -----Original Message-----
> > >> >>> From: Code for Libraries [mailto:[log in to unmask]] On
> > Behalf
> > >> Of
> > >> >>> Sergio Letuche
> > >> >>> Sent: Tuesday, November 04, 2014 7:36 AM
> > >> >>> To: [log in to unmask]
> > >> >>> Subject: Re: [CODE4LIB] Drupal question
> > >> >>>
> > >> >>> does anyone know how could i install this theme from github?
> > >> >>>
> > >> >>> https://github.com/shermanlibrary/librarylearn
> > >> >>>
> > >> >>>
> > >> >>>
> > >> >>> 2014-11-03 14:14 GMT+02:00 Sergio Letuche
> > >> >>> <[log in to unmask]
> > >:
> > >> >>>
> > >> >>>> thank you for your quick reply, how one could install it?
> > >> >>>>
> > >> >>>> I am familiar with drupal distributions only i am afraid. Is
> > >> >>>> this something similar?
> > >> >>>>
> > >> >>>> 2014-11-03 14:03 GMT+02:00 Riley Childs
> > >> >>>> <[log in to unmask]
> > >:
> > >> >>>>
> > >> >>>>> It provides plugins within the theme.
> > >> >>>>>
> > >> >>>>> Sent from my Windows Phone
> > >> >>>>>
> > >> >>>>> --
> > >> >>>>> Riley Childs
> > >> >>>>> Senior
> > >> >>>>> Charlotte United Christian Academy Library Services
> > >> >>>>> Administrator IT Services Administrator
> > >> >>>>> (704) 537-0331x101
> > >> >>>>> (704) 497-2086
> > >> >>>>> rileychilds.net
> > >> >>>>> @rowdychildren
> > >> >>>>> I use Lync (select External Contact on any XMPP chat client)
> > >> >>>>> ________________________________
> > >> >>>>> From: Sergio Letuche<mailto:[log in to unmask]>
> > >> >>>>> Sent: ‎11/‎3/‎2014 7:03 AM
> > >> >>>>> To: [log in to unmask]<mailto:[log in to unmask]>
> > >> >>>>> Subject: Re: [CODE4LIB] Drupal question
> > >> >>>>>
> > >> >>>>> it seems this is only a theme,
> > >> >>>>>
> > >> >>>>> am i wrong?
> > >> >>>>>
> > >> >>>>> https://github.com/shermanlibrary/librarylearn
> > >> >>>>>
> > >> >>>>> 2014-11-01 16:22 GMT+02:00 Riley Childs
> > >> >>>>> <[log in to unmask]
> > >:
> > >> >>>>>
> > >> >>>>>> Here is a WordPress theme/plugin to do this. I haven't used
> > >> >>>>>> it
> > >> >>>>> personally
> > >> >>>>>> but I have heard great things
> > >> >>>>>> https://github.com/shermanlibrary/librarylearn
> > >> >>>>>>
> > >> >>>>>> Riley Childs
> > >> >>>>>> Senior
> > >> >>>>>> Charlotte United Christian Academy Library Services
> > >> >>>>>> Administrator IT Services
> > >> >>>>>> (704) 497-2086
> > >> >>>>>> rileychilds.net
> > >> >>>>>> @rowdychildren
> > >> >>>>>> ________________________________
> > >> >>>>>> From: Sergio Letuche<mailto:[log in to unmask]>
> > >> >>>>>> Sent: ‎11/‎1/‎2014 6:35 AM
> > >> >>>>>> To:
> > >> >>>>>> [log in to unmask]<mailto:[log in to unmask]>
> > >> >>>>>> Subject: [CODE4LIB] Drupal question
> > >> >>>>>>
> > >> >>>>>> Could you please provide me with an advice,
> > >> >>>>>>
> > >> >>>>>> if there is any drupal distribution that we could use just
> > >> >>>>>> to
> > host
> > >> >>>>> embedded
> > >> >>>>>> videos from our youtube channel? The scope for this would be
> > >> >>>>>> to have a video gallery, for any lesson, and not to host the
> > >> >>>>>> videos
> > on
> > >> >>>>>> our server, just embed them in our page from youtube.
> > >> >>>>>>
> > >> >>>>>> If not a distribution, some module?
> > >> >>>>>>
> > >> >>>>>> Thank you
> > >> >>>>>>
> > >> >>>>>
> > >> >>>>
> > >> >>>>
> > >> >>>
> > >> >>
> > >>
> > >
> > >
> >
>