plugins

You are currently browsing articles tagged plugins.

Elgg’s development continues and appears to be progressing toward its next release—version 1.5. The svn revisions “odometer” has begun moving again this week after a brief break following the release of version 1.2.

Elgg’s roadmap states that Curverrider plans to make major relases every six months with Version 1.5 due in February. Several target enhancements due with this release have already been completed:

  • An Administrative interface for customizing profile fields
  • Metastring garbage collection
  • Log Rotation
  • Additional themes

Scalability enhancements are partially completed. Slated further improvements include:

  • Views and plugin location caching
  • A mobile device view
  • An OpenDD client for syndication, imports, and exports (will this mean 0.9–>1.x migration?)
  • Improved front page layout and submenu system
  • The often requested group deletion
  • Drillable site-wide activity stream

Elgg progress is not limited to the work of core developers. We are starting to see institutional support for Elgg development and customization. Kevin Jardine developed are critical event calendar plugin funded by the Royal Institute of British Architects. A large K12 school district in the US is considering an Elgg roll out with monetary support for the necesssary customization by core developers. Other institutions are beginning to pour manpower into Elgg modifications.

These developments bode well for  Elgg’s future. I plan on continuing to support Elgg through a number of means in the future. I look forward to its implementation in K12 education.

Tags: , ,

My plugins for controlling content access needed updating because Elgg 1.2 changed views/default/input/access.php; therefore, they no longer worked. I have made the appropriate changes to:

  • nopublic
  • nopublicwithfeeds
  • allpublic

In the near future I will also update higherwalls.

The real news here may be how the plugins will be housed and supported. I uploaded the plugins to a wiki that also gives information about the use, configuration, and installation of these and other plugins that I have created. There will also be a link to a discussion forum offering support for specific plugins.

The plugins are available here. Please be aware that both the wiki and the forum are in early stages of development.

Tags: , , , , , ,

I have had several requests for the Higherwalls plugin with out the walled garden functionality. I decided to make the plugin with two flavors.

The original version also overrode the owner’s block so that the links to create RSS and OpenDD feeds were deleted. I created another version that retains the ability to click on the links to get the feeds.

Again, to totally disable the feeds, you will need to go to your elgg/views folder and delete the rss and opendd folders.

Tags: , , , , ,

Jonathan Rico of Peesco.com released a Google Gadgets widget for Elgg called xgadget. Google Gadgets are snippets of code that can be inserted into widgets to present a wide variety of content. They deliver weather forecasts, rss feeds, games, videos, and more–ranging from the practical to frivolous.

Once xgadgets is installed, it appears in the widget gallery in the profile and dashboard. To get started, you need to find some suitable gadgets by going to Google’s gadget directory.

There are thousands of gadgets to choose from. Once you find a suitable gadget, click the “Add to your Webpage” button. Depending on the gadget selected, you will presented with some configuration options.

Once you have it configured as desired. click “Get the Code.” Copy the code to your clipboard and return to Elgg. If you haven’t set up your gadget widget by dragging it from the Widget Menu to one of the cloumns do so now.

(Note that you can also click on the Additional tools gadgets which brings you to Lab Pixies). Click the edit button on the upper right hand corner.

Name your Gadget in the top field, paste the Code into the code field, and adjust the height as needed (try 10-15 px more than your gadget’s size). Next set the access and click save.

You may have configuration options with your gadget. In this case, you would click edit and type in your zip code for a local weather forecast.

This is a great little plugin that makes thousands of widgets available to both the dashboard and profile in Elgg. It helps them function more like a Pageflakes or Netvibes portal. This is a great addition to the growing collection of Elgg plugins.

Tags: , ,

Elgg’s new support community has brought new contributions from Elgg’s Development team.

Ben Werdmuller created a COPPA plugin. COPPA is the Children’s Online Privacy Protection Act which prohibits website from collecting personal information from children under thirteen. This plugin inserts a check box into the registration page, requiring individuals to affirm that they are over 13. One small mistake with this plugin is that sites can collect information of children over 12, not 13.

I have edited the languages/en.php file changing I am over 13 years of age to over 12 years of age. I notified the creator, but I uploaded the revised version here.

Dave Tosh contributed a Twitter Widget. This widget allows users to put a twitter feed from any user in their profile or dashboard page. Just enter the twitter username and the number of tweets to show, then set the access.

Once displayed it displays the user’s tweets:

Both of these plugins are installed by uploading them to the mod folder and activating through the Tools Administration interface.

I look forward to seeing more plugins from the developers, particularly some that I see on their community site. They have a Privacy and a Terms of service plugin that displays links to these pages on the Elgg community site’s footer. Additionally, the site has an Events plugin that I’m sure everyone would like to have access to.

Tags: , , ,

Two Elgg plugins have been updated with new releases: Artfolio and Tinymce. Artfolio is a full featured image gallery with comments and ratings. Tinymce is Elgg’s wysiwyg editor which has been extended by a few parties.

Artfolio 0.7 was overviewed in an earlier post. Frederique Hermanns has just released version 0.8. The biggest change is that Elgg no longer has to be installed in the public_html folder for it to function allowing many more people to use the plugin. He also integrated Stefan Alber’s multiple file upload functionality. As mentioned in my earlier post, this is a full featured plugin allowing views of friends’ galleries plus a five star rating system, a feature unique to Artfolio.

Those who prefer something other than Artfolio appearing in the user interface can rename it in the mod/artfolio/languages/en.php file.

A version of Tinymce was released a few weeks back extending the functionality to a full featured wysiwyg editor including the ability to embed multimedia content in posts. Unfortunately, these multimedia elements did not appear in Internet Explorer. A new version has been released by Joey One Time that resolves this issue.

This leaves one function on people’s wish list: a file uploader. As I have mentioned in a reply to a comment to a post, TinyBrowser looked most promising. This morning, TinyBrowser developer Bryn Jones offered to help in any attempts to implement his Tinymce extension.

These two changes to existing plugins go a long way to extending the functionality of Elgg. The integration of TinyBrowser to Tinymce is something to look forward to in the near future.

Tags: ,

Another crop of Elgg 1.0 plugins has emerged adding to the list from my first and second posts about Elgg Plugins. Of note there is a new gallery plugin and a translation utility.

Artfolio, by Fredrique Hermans of ANN-Designs, is an image gallery or portfolio. At version 0.7, it is in beta, but sports many great features–yet there is a catch which I will get into later. Like blogs and many other elements of Elgg, you have options for viewing your own artfolio, those of friends, all site artfolios. It comes with a system for tagging as well. There is a file browser for uploads, and it automatically creates thumbs and intermediate resizes of the graphics. It is the first plugin that I have encountered with a five star rating system–an oft requested feature.

Here’s the catch. Although there was no caveat, it only works if you install elgg in your public_html folder. Eager to try it out, I carefully followed the installation procedure with the usual steps. The only additional step was to create an artfolio directory in the public_html folder with 777 (or 755) permissions. Unfortunately, my Elgg install is in a subdirectory, so although it installed fine, I was greeted by blank rectangle rather than the image. I checked the artfolio folder, and indeed, the image and its resized companions were there. It appears there is an issue with file paths if it is not installed in the root. The reason, I am reviewing it is that developers that I trust have had good experiences with it. The good news is that the developer has found the code necessary to allow it to work when Elgg is installed in a subdirectory. We should see it within a few days.

It is certainly an ambitious plugin with a clear development path. If you have Elgg installed in root, don’t hesitate to give it a shot. The rest of us will be able to use it soon.

Xlate is translation mod by ontimeguy (aka Joey One Time) that relies on Yahoo’s Babelfish technology. While web translation software is less than perfect, you generally can figure out what the author meant. Installation was a bit out of the ordinary. You unzip the file locally. Next you take the translation directory and upload it to your Elgg root. The remaining contents (without the translation directory) and the xlate directory that contains them go to the mod folder:

xlate/translate

goes into elgg. While

xlate/manifest.xml
xlate/start.php
xlate/views

remain in the xlate directory which is in turn uploaded to elgg/mod. Once activated, babelfish appears under the owner’s block navigation.

Click on the flag representing the language you want to view, and the page come up in the other language.

While the translations are not perfect, this mod is a must have for a site with a diverse international audience.

Stayed tuned for more overviews of Elgg 1.0 plugins. They appear to be arriving steadily. In addition, I will update this post with the fixed version of artfolio.

Tags: , ,

A few more plugins have become available since my last post on Elgg plugins: a Youtube widget for profiles and dashboards, a secure login plugin that employs https logins for additional security, and a contact plugin.

Robert Gay of Windango, Inc created the YouTube widget. Simply download and upack the file and upload it to the /mod folder of your Elgg installation.

Once you have activated it in Tools Administration, a YouTube widget appears in the Widget Gallery when one edits their profile or dashboard. Once the widget has been dragged and dropped into one of the Widget columns and saved, users can enter the url of their favorite YouTube video by pressing the edit button. As with core widgets, there are the usual access options.

It’s simple and works out-of-the-box requiring no configuration–unless you want to change the text in the edit interface (as I have done above). Edit mod/contact/languages/en.php

Individuals that need greater security with logins can install Duncan Entwisle’s https_login plugin. Install as you would any plugin. Once enabled, it will force users into an encrypted SSL connection protecting passwords. You will have to have an SSL certificate in place, or users will get warning messages cautioning them about the site. For most cases the least expensive certificates should be adequate and can be had for about $15 US.

You can create a Contact Page that appears as a Tool for users using Tim Timalsina’s Contact plugin. Download, unpack, upload, activate.This one has one more step. Once you have enabled Contact, you must click more info:

Enter your contact email address in the field. It took me a couple tries to figure this out as this is the first plugin that offered configuration options from the Administration Interface. You now have the new menu option:

This option delivers you to a simple Contact page allowing users to send a message to

It works fine, although I get html markup in my email notifications. That may be due to my server configuration. It is less important as it is coming to me rather than a user.

More plugins are rolling in. I’ll continue testing them and elaborating on their configuration.

Tags: , ,

Some early users were disappointed by the lack of features upon Elgg 1.0’s release. What they didn’t realize is that the new Elgg was designed as an extensible core engine to drive plugins and interact with other social platforms. Elgg 1.0 developers are starting to release plugins that extend the basic Elgg 1.0. What has started as a trickle appears to be picking up momentum. There are already many great plugins.

As mentioned earlier, the full version of Elgg 1.0 includes a spartan set of features. While it is easy enough to modify this popular wysiwyg editor, many are uncomfortable editing a little code. Furthermore, many have been trying unsuccessfully to make embedded content such as videos and video sharing. A couple days ago, developer Lee Teague released Tinymce Advanced.

Tinymce Advanced is simple to install: download, unpack, and upload to your server’s elgg/mod directory. You simply activate it in  Administration–>Tools Administration. That’s it provided you like the way it is configured. Refer back to my post on hacking Tinymce if you want to change the feature set. Depending upon the desired results, it may be easier to modify this than the default Tinymce.

Lee Teague’s Tinymce plugin is full featured, adding several formatting features including alignment, fonts, colors, indents, and tables. Best of all the media button really works allowing you to embed several popular multimedia formats. It also can embed YouTube and other video sharing when you insert the code snippet into the post using the html source editor.

If you use this plugin, it is recommended that it only be available to trusted and accountable users because these tags can make the site vulnerable to attacks. While not yet developed, it would be great if it could be configured so that trusted logged in members could have access to an extended editor, while others has access to a leaner tool set. In a shout back to me, developer Dave Tosh suggested extending textarea to include links to user’s or friends’ file uploads.

Another great plugin puts Spotlight to use as an RSS reader. ThinkTank Studio created a Magpierss reader that displays the latest articles from your favorite rss feed in Spotlight.

Download, unpack, and upload to your server’s elgg/mod directory. Activate it in  Administration–>Tools Administration. It requires a bit of hand coding to configure. Don’t let that thwart you. Just keep a back up copy of any file you edit in case you make a mistake. If the site breaks, just upload the backup so it overwrites the errant code.

Once uploaded, use your ftp client to access the file elgg/mod/magpierss/views/default/page_elements/spotlight.php, then find this (it’s easy to find):

<!-- !! START MAGPIERSS !! -->
<!-- I put the title of the feed here -->
<!-- you can lay things out all pretty with divs or tables or something.  This is just a quick and dirty example -->
<strong>Discovery News</strong><br /><br />
<?php
    require_once('magpierss/rss_fetch.inc');
    $url = $_GET['url'];
    $num_items = 3;
    $rss = fetch_rss( 'http://dsc.discovery.com/news/topstories.xml' );
    echo $rss->channel['title'] . "<p>";
    foreach (array_slice($rss->items, 0, $num_items) as $item) {
        $href = $item['link'];
        $title = $item['title'];
        $description = $item['description'];
        echo "<b><a href=$href target='_new'>$title</a></b><br>$description<br>";
    }
 ?>
<br />
<br />

All you need to edit is the blue text: a title for the feed, the numbers of items to display, and the address to the feed. Overwrite the original file and if you did it properly, you should see your feed displayed in Spotlight. The example illustrated above it the simplest. You could use formatting such as tables in the above code to change the display. The developer has thrown this out hoping others will build upon it.

Finally, there is the Default Widgets plugin. Out of the box, Elgg delivers a new user to a blank dashboard without widgets and a link to edit the page. The profile is also empty. Default Widgets built by Jade Dominguez and Chad @ NCR at the Google elgg developer group populates both the dashboard and profile with a preconfigured set of widgets. Again, download, expand, and upload to your elgg/mod directory, then activate. As configured a new user sees this dashboard:

The profile:

Widgets can be configured differently, but that involves editing code. Open elgg/mod/default_widgets/start.php and look for:

/*
	the add_widgets function only executes if the user has permissions to add widgets to his profile/dashboard.
	Since there is no user yet logged in, we need to artificially login the new user
	*/
	$log_user_in = login($object);	

	if($log_user_in){
		$profile_handler = array("friends", "a_users_groups", "messageboard", "filerepo", "status", "river_widget", "river_widget_friends");
		$dashboard_handler = array("river_widget_friends", "friends", "status", "bookmarks");

		$profile_column = array(1, 1, 2, 2, 3, 3, 3);
		$dashboard_column = array(1, 2, 3, 3);

Edit the values highlighted in blue using the the guidelines from readme.

More Elgg 1.0 plugins are available and even more in the works. As I try them out, I will feature them here. It appears that the trickle may soon be a steady stream.

Tags: , , , , , , ,