Joomla

Extensions, Components, Modules, Plugins for Joomnla 1.5

  • JMailman - component to allow users to manage Mailman list subscriptions
  • UK Tides - component & module for displaying UK tide times
  • US Tides - component & module for displaying US tide times
  • SunUp SunDown - module to display sunrise and sunset time

There is also a component for use with CiviCRM to allow only CiviCRM members to register and login to a site. I'm no longer supporting this so if you want it email me.

Also a template for a Green Party (of England & Wales) local party site - contact me through the members' website if you want it.

Joomla 1.6 versions will appear in due course as I migrate my sites using these extensions to the new version.

JMailman Component

Component v1.5.1 31st November 2010 Download com_jmailman_v1.5.1.zip

This component allows users to manage their subscriptions to Mailman lists on any server.

For each list you need to know the domain and path to the admin interface, the list name, and if the list is on a shared host there may be a suffix (eg "_mydomain.org"t;) which is appended to the name.

You must also know the admin password for each list - these are stored in plain text in your Joomla database and are shown in plain text on the admin screen for Jmailman, so anyone with access to this backend can obtain your list passwords.

You also set a title and description for the list which are what your users see at the front end.

You can also control visibility of each list on the front end using Joomla user levels, users below the designated level will not be able to see the list. Defaults to 'Registered'.

Since this works by poking subscriber addresses straight into the admin interface for Mailman it bypasses any normal subscriber approval for the list. Users can choose whether to get the normal welcome/goodbye messages from the list, and will receive a confirmation email from this system.

In principle a user could spoof another user by temporarily changing their email address on your Joomla site, so it is very important that you set the configuration parameters for the email that Jmailman sends confirming actions. You can also set for each list whether Mailman will send notification of subscribes/unsubscribes to the list admin.


JMailman CHANGELOG from version 1.5.0 released 21st November 2010

v1.5.1 31/12/10 corrects an error that crept back in in the previous version which stopped the Frontend Admin screen working for anyone other than SuperAdmins - now correctly respects the parameter down to Editor level.

v1.5.0 is a cosmetic update to v0.4dh whilst I get ready for a Joomla 1.6 compatible version. No need to update from v0.4 if it is working for you.

It was developed with Joomla 1.5.6 and PHP 5.2.5 and tested with Mailman v2.1.9/11.
It is still working ok with Joomla 1.5.22

 


 


SunUp SunDown Module

Module v3.3.0 17th August 2014 
Module v1.7.1 18th September 2011

SunsetSunUpDown is a module to display the time of sunrise and sunset today.

You must set the latitude and longitude of your location, and you can have an optional line of text before and after the times.

Select timezone in the parameters and the sun rise, sunset, and optional local time and date will be displayed adjusted for daylight saving.

Demo of the Joomla 3 version available here


The Joomla 1.7 version also works on Joomla 2.x but only correctly displays times for locations inn the UK, and with a bit of fiddling with parameters, Europe.


 

UK Tides Component and Module

Module v3.3.0 8th August 2014

Component v2.5.1 8th June 2013

Module v2.5.1 8th June 2013

8th August 2014 Module updated to work with Joomla 3
New version 3.3.0 includes various minor improvements

Low waterThe parameters for the module allow selection of main tidal port (from NTSLF list), specification of an offset time, text to appear before and after the table, and how many days to include in the table. If showing only today's tides then you can select either high or low or both tdes.

A default stylesheet is installed in the media folder and is referenced by a style prefix (default = 'moduktides_') specified in the parameters. This can either be edited directly (it is in [siteHome]/media/mod_uktides/css/mod_uktides.css ) or overridden in the normal way.

The following classes are used with the prefix: table, td, oddrow, evenrow, pretext, date, posttext, footer.

This is the display code to show how the styling works with the default class prefix:

<div class="moduktides_">
    <div class="moduktides_pretext">Text before table
        <div class="moduktides_date ">Sun 10 Aug</div>
    </div>
    <div style="width:150px; margin-left:auto; margin-right:auto; ">
        <table style="width:150px;">
            <tr class="oddrow">
                <td>HW</td><td>05:00</td><td>5.42m</td>
            </tr>
            <tr class="evenrow">
                <td>LW</td><td>11:19</td><td>0.81m</td>
            </tr>
            <tr class="oddrow">
                <td>HW</td><td><b>17:22</b></td><td>5.76m</td>
            </tr>
        </table>
    </div>
    <div class="moduktides_posttext">Text after table</div>
    <div class="moduktides_footer">Footer text</div>
</div>

You can see a Joomla 3 example here


8th June 2013 Component & Module update v2.5.1 Compatible
Now correctly adjusting for BST

UKTides is a simple component and module to display the times of high and/or low water for a UK port. Tide times and heights are taken from the NTSLF website and an average difference in minutes can be added to give local times. Heights are not corrected but are taken from the reference port.

The module displays either just today's tide times (high and/or low water) or a table of up to 28 days high water.

The component can display up to 28 days ahead in a table. It can also display the 7 day graph from the NTSLF website either above or below the table.

Optional text and date can be displayed above and below the times. Either high, or low, or both high and low water times can be shown. A list of the reference ports is provided to select your nearest.

Data is taken from the NTSLF page for your port - and if this is unavailable then an error message will display. A link to NTSLF is provided at the bottom of the module and component - please do not remove this.

Times are automatically corrected for BST - during the early morning of clock change night there will a BST time displayed before GMT technically starts (and vice versa).

Component has its own Style Sheet installed in /components/com_uktides/assets/css/uktides.css - edit this to customise your tide table.

Styling the Module

The Module v2.5.0 can use its own stylesheet at modules/mod_uktides/style/mod_uktides.css or styles added to the template stylesheets. To use the module stylesheet enter "moduktides_" for the css class parameter in the module options.

The following classes are defined and all will be prefixed by whatever you enter in the css parameter field for the module. Supposing you enter 'MyStyle_' as the prefix the layout looks like this:

<div class="MyStyle_">
<div class="MyStyle_pretext"> The text before the table </div>
The tide table with <table> <td> tags styled by .MyStyle table{} .MyStyle td{}
and alternate rows with class .oddrow and .evenrow
<div class="MyStyle_pretext"> The text after the table </div>
<div class="MyStyle_footer">the footer text and link</div>
</div>

The example on the left uses the default module stylesheet by setting the css parameter to "moduktides_". Looks blooming horrible, but hopefully you can see what is going on Smile. You can either edit the module stylesheet or use a different prefix or no prefix to use your default template styles.


NB Earlier versions will no longer work since NTSLF revamped their website

 

US Tides Component and Module

US Tides Component and Module

Module v3.3.0 8th August 2014

Component and Module v2.5.0 2nd January 2011

 


8th August 2014 Module updated to work with Joomla 3
New version 3.3.0 includes various minor improvements

Low waterThe parameters for the module allow selection of location using NOAA port number, text to appear before and after the table, whether to show today only or both today and tomorrow's tide times and whether to show just high water or both high and low water times.

You can also choose whether the time is GMT (UCT), local solar time, or daylight saving adjusted local time, and whether heights should be shown in metres or feet.

A default stylesheet is installed in the media folder and is referenced by a style prefix (default = 'modustides_') specified in the parameters. This can either be edited directly (it is in [siteHome]/media/mod_ustides/css/mod_ustides.css ) or overridden in the normal way.

The following classes are used with the prefix: table, td, oddrow, evenrow, pretext, date, posttext, footer.

This is the display code to show how the styling works with the default class prefix:

<div class="modustides_">
    <div class="modustides_pretext">Text before table
        <div class="modustides_date ">Sun 10 Aug</div>
    </div>
    <div style="width:150px; margin-left:auto; margin-right:auto; ">
        <table style="width:150px;">
            <tr class="oddrow">
                <td>HW</td><td>05:00</td><td>5.42m</td>
            </tr>
            <tr class="evenrow">
                <td>LW</td><td>11:19</td><td>0.81m</td>
            </tr>
            <tr class="oddrow">
                <td>HW</td><td><b>17:22</b></td><td>5.76m</td>
            </tr>
        </table>
    </div>
    <div class="modustides_posttext">Text after table</div>
    <div class="modustides_footer">Footer text</div>
</div>

This is the default stylesheet as supplied:

.modustides_ { background: #e0e0f0; color: #ffffff; padding: 5px; }
.modustides_date { margin-left:auto; margin-right:auto; padding: 2px 5px 2px 5px;
    background: #a0a0a0; font-weight:bold; width:80px; }
.modustides_tablediv { margin-left:auto; margin-right:auto; }
.modustides_ table { width:120px; background: #ffffff; color: #400000; }
.modustides_ td { padding:2px 4px 2px 4px; }
.modustides_ .oddrow { background: #f0f0ff; }
.modustides_ .evenrow { background: #d0d0e0; }
.modustides_pretext { padding: 2px 5px 2px 5px; background: #9090a0; }
.modustides_posttext { padding: 2px 5px 2px 5px; background: #606070; color: #f0f0ff; font-size: 0.9em; }
.modustides_footer { font-size:0.75em; color: #303030; text-align:center; line-height: 1em; padding-top: 4px;}

You can see a Joomla 3 example here


 

US Tides 2.5 is a simple component and module to display the times of high and/or low water for a port in the USA. Tide times and heights are taken from the NOAA website. A large number of tidal stations are listed covering the East & West Coasts, theCarribean and the Great Lakes.

The module simply displays tide times for today and optionally tomorrow in a table.

The component can display the tide table for a week or a month from today's date.

Optional text and date can be displayed above and below the times. Either high, or low, or both high and low water times can be shown.

v2.5.x works ok with Joomla 2.5

Data is taken from the NOAA page for your port - and if this is unavailable then an error message will display. A link to NOAA is provided at the bottom of the module and component - please do not remove this.

Times can be displayed in either GMT, local solar time, or local clock time. Heights can be shown in either meters or feet.

.