plugins

You are currently browsing articles tagged plugins.

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: , , , , , , ,

Newer entries »