[Register]
Powered by Elgg

Plugins :: Blog :: Archives

June 2007

June 01, 2007

Hi, i added to plugin catalog and updated the uri plugin. 

Note: this plugin needs some modification into the blog code and apply some patchs, was tested on linux environment if you are on windows need to look for some utility to apply the patchs.

Download 

I made the install instructions simple as possible, but any feedback will be helpful.

-- uri plugin for elgg

This plugin make the posibility to use custom url's for posts.
For example, if you have a post title like 'Hello World' (with id 12)
the default url is http://.../weblog/12.html
but with this plugin you got http://.../weblog/hello-world
or you can customize to http://.../weblog/post/hell-world.xhtml

Tested against elgg v0.8rc2.

=== To install:

== Step 1 - Copy mod/uri to your [elgg_dirroot]/mod/

== Step 2 - In your browser, login as 'news' users and go to:
http://domain/elgg/mod/uri/dbsetup.php

== Step 3 - The populate your uri's, go to:
http://domain/elgg/mod/uri/populate.php

== Step 4 - Modify mod/blog/view_post.php (your elgg will still functional)

- around line 21, the code line:

    $post = optional_param('post',0,PARAM_INT);

- comment it and add the line:

    //$post = optional_param('post',0,PARAM_INT);
    $post = run('mod:uri:getid');

== Step 5 - Modify your .htaccess (your elgg will still functional)

Be carefull on this, replace (or comment) the next two lines:

RewriteRule ^[A-Za-z0-9]+\/weblog\/([0-9]+)\.html$ mod/blog/view_post.php?post=$1
RewriteRule ^[A-Za-z0-9]+\/weblog\/([0-9]+)\.html.([0-9]+)$ mod/blog/view_post.php?post=$1&commentpage=$2

By:

RewriteRule ^[A-Za-z0-9]+\/weblog\/([A-Za-z0-9\.\/_-]+),?([0-9]+)?$ mod/blog/view_post.php?post=$1&commentpage=$2
 
== Step 6 - Inside mod/uri/patchs are the needed modifications to some files
who show post links. The main patch is for mod/blog/lib/weblogs_posts_view.php
If patchs fail, try apply the modifications by hand.

You can test like this:

$ cd [your_elgg_dirroot]
$ cat mod/uri/patchs/all_in_one.patch | patch -p1 --dry-run

If no errors or fail, apply the patch:

$ cat mod/uri/patchs/all_in_one.patch | patch -p1

== Step 7 - Now you can go to http://domain/elgg/weblog/everyone
and see the new fancy links ;)

You can personlize the uri as you want with some limitations, see get_uri function at mod/uri/lib.php

Keywords: friendly urls, seo, uri

Posted by Rolando Espinoza La Fuente @ Plugins | 2 comment(s)

June 02, 2007

Hi All,

I am trying to add the YUI library to my development installation of Elgg, but every time I add it into the mod folder, it causes all the screens to blank out as white.  Ideally, I'd like to create functionality that allows me to drag and drop profile widgets.

Apologies in advance if this has already been covered, I did look for it, and also if I am asking a stupidly silly question!!

 Many thanks

Luke

Keywords: drag and drop, help, widgets, YUI

Posted by Luke Ferguson @ Plugins | 4 comment(s)

June 04, 2007

I've looked at the code for the sitemembers plugin and as far as I can judge it looks quite easy to modify this plugin to show random icons for communities instead. Alas I'm not a coder (someday I will learn), but I hope somebody here might help me out. Pleaaaaaaaaaaaaaaase!

Posted by Wiebe Kunst @ Plugins | 2 comment(s)

June 05, 2007

I'm getting the following error when I click Tags in the submenu on the Bookmarks page:

Fatal error: Call to undefined function: array_combine() in /home/dialogik/public_html/units/bookmarks/function_tag_color.php on line 183

I haven't seen anybody commenting on this, and help on how to fix this would be very appreciated.

Wiebe

Keywords: bookmarks

Posted by Wiebe Kunst @ Plugins | 4 comment(s)

June 06, 2007

Okay everyone, I've been spending a ton of time getting bug fixes in the folio plug-in implemented.  I'd HIGHLY recommend installing this fix, as it corrects a ton of problems (some minor, some major).

I can never seem to post a good .zip file, so here's a link to the tarball version of it. http://eduspaces.net/garrettn/files/

This version includes many more options for the way the folio interacts with the side menu.  You can use /mod/folio/config.php to have the folio leave the blog / file sidebars alone, and only add its own link.  Other options allow you to add/remove any options on the top or side bar.

As always, please let me know of any problems encountered. 

Posted by Nathan Garrett @ Plugins | 6 comment(s)

June 11, 2007

Hi everyone! I'm pleased of announce the messages 0.2.1 version. In this version:
  • Little bug fixes
  • pt_BR translations (Thanks to Renato)
  • nl translations (Thanks to Daniel Dubbeldam)
  • Sidebar link display improvements
  • Added a file for configuration options (details in the CHANGELOG.txt file)
I hope it this little changes make your 'messaging experience' more comfortable :P

Posted by Diego Andrés Ramírez Aragón @ Plugins | 9 comment(s)

Hi everyone!

Since the release of the template_wrapper plugin I receive many emails asking for how to use it.
In this 'release' I tried to do make the documentation a little more clever.

Please take a look and send me comments.

Cheers,

Posted by Diego Andrés Ramírez Aragón @ Plugins | 3 comment(s)

June 12, 2007

Hi and thanks for a great plugin. It works like a charm except for one little thing.

After selecting "Your Bookmarks", when I click on the "Tags" link in the menu bar, the resulting box containing the tagcloud is too small. At least in my browser (IE6).

It seems to me that there is a missing div clause that should encompass the tagcloud. What I did to fix it was the following:

  1. Open the file path_to_elgg/units/bookmarks/bookmarks_tags_display.php
  2. Prior to parsing the tags (the foreach-loop starting on line 67) insert the following line: $run_result .= "<div id="tagcloud">";
  3. Immediately after that foreach-loop (line 91), add the following line: $run_result .= "</div>"; to close the div.
  4. Save and close the file.

The tagcloud should now be OK.

Keywords: bookmark, bookmarks, plugin

Posted by Karl-Petter Lindegaard @ Plugins | 0 comment(s)

June 14, 2007

I have installed the plugin and (I think!) followed the instructions. The media folder is fine - it plays mp3,flv and swf files. But when I insert an flv file into a blog entry it just stays as a link. I've added the code in the README to the two files. (Note: the instructions on the plugin page are not correct as there is part of a line missing). I have also modified it to make sure there are no extra line breaks, etc. - but I don't think it is even being read as looking at the page source the flash movie is not in an embed tag - unlike the swf one which is.

Any suggestions?

Keywords: flash, mediagallery

Posted by John Hackett @ Plugins | 2 comment(s)

I was trying to download the bookmarks 1.0 plugin to tryout, but the file does not seem to be available.  Can anyone let me know where I can download this. 

Keywords: bookmarks, download, plugin

Posted by jeeb75 @ Plugins | 1 comment(s)

June 19, 2007

The access extension plugin download is missing.  I wanted to try it out but it is unavailable.  When I click on the download link the following comes up on the address bar in my brower http://elgg.org/plugins/files/1/37/acsext.zip but the file never downloads.

Keywords: Access extension, download

Posted by jeeb75 @ Plugins | 6 comment(s)

Having got the flash working I thought I't try to get quicktime movies working in blog posts as well.

see: http://developer.apple.com/internet/ieembedprep.html for why javascrippt is required now (it's an IE thing!)

Download the apple javascript - http://developer.apple.com/internet/licensejs.html -
a put it somewhere - I put it in the mediagallery plugin folder as I have it installed and it seemed the logical place to put it.

I've installed the metatags plugin as well but can't get it working at the moment so I've put the following line in my default template's pageshell (/mod/templates/tempate/Default_Template/pageshell) just before </head>:


<script src="{{url}}mod/mediagallery/AC_QuickTime.js" Xlanguage="JavaScript" type="text/javascript"></script>


Then, in /mod/file//lib/files_links_make.php add the following to the switch statment just above the default: line:

case "video/quicktime":
case "video/mp4":
case "video/mpeg":
    $filetitle = urlencode(stripslashes($file->title));
    $run_result .= "<script Xlanguage="JavaScript" type="text/javascript"> ";
    $run_result .= "QT_WriteOBJECT('$filepath', '480', '380', '', ";
    $run_result .= "'autoplay', 'false',";
    $run_result .= "'SCALE', 'ToFit',";
    $run_result .= "'align', 'middle');";
    $run_result .= "</script>";
    break;

and custom as requried. The various QT paramters are here:

If anyone can tell me why the metatags plugin is not working I'd be grateful - is there an install procdure other than just putting the files in place?

Keywords: metatags, quicktime

Posted by John Hackett @ Plugins | 0 comment(s)

June 25, 2007

Okay, thanks to a number of helpful bug reporters, folio has been updated to v.62.  Highly recommended update, as it fixes a large number of issues.

Again, after updating from an older version, be sure to run the /mod/folio/html/setupdb.php page when logged in as news to update the db.

I haven't tested it, but am told that folio works fairly well (but not perfectly) with the forum plugin.

http://eduspaces.net/garrettn/files/9480  

Posted by Nathan Garrett @ Plugins | 0 comment(s)

Site supported by Curverider Ltd - powered by the awesome Elgg