Login



Twitter Updates

Twitter Updates

    follow me on Twitter

    My Blog

    A place for technology, randomness, current projects, and life.
    Tags >> projects

    RefTagger and Joomla

    Posted by: Joel Larkin

    Tagged in: projects , open-source , linux , life

    I recently came across and excellent application for Christian websites called  RefTagger.  This application finds bible verses and links them automatically to the translation of your choice providing a quick reference capability without manually building the links.

    Unfortunately this application did not have an easy integration with Joomla, it required manually modifying the template and inserting the appropriate code (which can be a drag if you want to make changes).  I wrote a module to take care of this and it's avaialble in the downloads section of the site. 


    I've recently made some code changes on a website to address some nagging issues with SermonSpeaker's latestsermons module.  The following is the list of things I changed and you can find my version in the downloads section.

    •  Removed Extra
      tags after a closing list item tag
    • Converted from
      to <br> (for validation on the mouseove tops)
    • Added a Module Class Suffix to give Module styling
    • Moved the end of the ">" at the end of link tag to after IF statement (if you turned mouseover OFF the list items would dissapear).  
    • Added DATE_FORMAT parameter to allow custom date in mouseover text.

    SermonSpeaker Annoyance

    Posted by: Joel Larkin

    I've been using SermonSpeaker 3.0/3.1 to organize & display sermons for customer websites.  It was annoying me for awhile the default view that was presented (see below).   It gives a Play Icon and the text (Play) as two seperate links requiring you to click on the links in order to get to a download link.  I made some simple modifications to offer a download link right next to the play icon in order to simplify things.

    In SermonSpeaker.PHP
    Edit Line 238, 277,279,281,283,285 which are $query lines to include sermon_path after sermon_title. (remember each line contains a different sort)


    Updated Agora Plugin

    Posted by: Joel Larkin

    Tagged in: technology , projects , open-source , JomSocial

    After a few days of downtime I decided to spend some time today updating the Agora Plugin.  I've been working on  other things but wanted to circle back and make some improvements.

    • Created a "Language File" allowing you to specify what will be displayed when no posts show up.
    • Created an additional Plugin Parameter called Date Format which allows you to change the format of the date (I didn't like Day Month Year).  This uses the PHP Date Function so check the manual for formatting options.
    • Removed all the irrelavant code
    • Updated some icons

    This should work pretty well as nothing major has changed.  I hope (when I get some additional time) to be able to update the Avatar used in Agora to the JomSocial avatar.


    Agora JomSocial Plugin

    Posted by: Joel Larkin

    Tagged in: technology , projects , open-source , JomSocial

    I developed a plug-in to JomSocial to address a need on our church website.  The need was to have forum posts from a particular user show up on their profile. Unfortantely we use Agora which doesn't seem to get much development.  I based this code of the FireBoard plugin AzrulStudies developed.  You can download this from www.myne.org/downloads.html


    Windows 2008 Hyper-V

    Posted by: Joel Larkin

    Tagged in: technology , projects , microsoft

    I decided rather recently to rebuild my VMware Server running on RedHat Enterprise Linux 5 (RHEL5) with Windows 2008 Enterprise Core running Hyper-V. I currently use a Dell PowerEdge 2950 with approximately 16GB RAM and Dual Quad Processors. To make matters more complicated I don't run any Windows Machines at home, I only have my corporate laptop running Vista. This meant that the only PC I had was in a different domain than the Hyper-V server.

    This is my first “real” experience with Windows 2008 Core so I wasn't as familiar with the commands as I should be. The install was quick and without issue. Then matters got complicated. Windows Firewall was enabled complicating matters and making it difficult to work with. I ended up completely disabling the firewall until after I got things setup. After setup I enabled to firewall and everything continued to work.

    On the Client I had to enable Anonymous DCOM to get Hyper-V manager to work. I then used CMDKEY to save my credentials so I didn't have to type them anymore. The first link below contained some great information on the using Hyper-V without joining the domain. There are some manual edits that have to be done of the AzMan store for Hyper-V which is pretty easy to walk through. Now, beyond some occasional hiccups with the client, things appear to work.

    The following links are full of great information:


    Emulate a JetDirect with Linux

    Posted by: Joel Larkin

    Tagged in: technology , projects , open-source , linux

    I am currently working at a large retailer charged with creating a test process for all print drivers that will be used in there print environment.  Rather than reinvent the wheel I checked out some great articles Microsoft had using AppVerifier.  After setting up AppVerifier your expected to run tests, aka create your print queues, print content, and check out what happens.  Unfort I didn't want to produce reams of content if I could aviod it. 

    The idea was to create what appeared to the windows server as a jetdirect that actually just tossed out the assembled bits.  I used my linux box to create a print queue that wrote to /dev/null and modified xinetd to pass the jobs from port 9100 to the print queue.  Walla, a virtual jetdirect without the mess.

    • Created a queue writing to /dev/null 
    • Create a file /etc/xinetd.d/jetdirect
      service jetdirect
      {
      socket_type = stream
      protocol = tcp
      wait = no
      user = lp
      server = /usr/bin/lp
      server_args = -d -o raw
      groups = yes
      disable = no
      }
    • Service xinetd restart
    • Test it out

    Now windows thinks its printing to a valid jetdirect and I can do all my testing without wasting paper!