[Register]
Powered by Elgg

Developer discussion :: Blog :: Archives

May 2007

May 01, 2007

Hello all,

 I'd like to implement a more in-depth search of profiles - eg. 'find all people in my area' or 'find all people of a specific age range'. 

I'm just evaluating Elgg at the moment and haven't had a developer look at it yet - has anybody implemented something like that?

Thanks - Nils. 

Keywords: custom profile search, profile search, search

Posted by Nils Millahn @ Developer discussion | 3 comment(s)

May 02, 2007

Hello.

 

I am using Elgg 0.7 in Japanese language.

If I registrate my name in Japanese (username is english), I can't search my name.

I mean "Matching users and communities:" is not displayed.

Does anybody know where is the problem from?

 

 

Regards,

 

Masa

 

Posted by Masa @ Developer discussion | 0 comment(s)

I've been rooting around trying to figure how to modify the default membership moderation setting for a new, owned community. As it stands the new community allows anyone to join until I specify in settings that I wish membership to be moderated. I'd like that to be the other way around - with users who create communities having to choose to make them completely open from a more secure default position. Not everyone here is going to remember to amend the setting.

Can't find anything in the code or the inline SQL or the config file. Can anyone help?

Posted by Paul Coyne @ Developer discussion | 1 comment(s)

This might be stupid, but: I want to create a page or two which is perfectly integrated with the site look and feel but which contains static text: I will then create a link to the page in the pageshell.

It could be, for example, a more detailed site information page...something that does not change and is available to all.

 How do I make a page like that - I want to include top bar, top header, sidebar etc etc...

 thanks

 mark

Keywords: static page

Posted by mark sanders @ Developer discussion | 3 comment(s)

In the last days Ben and Dave publish in the the curverider blog about OpenId and how it allows to elgg integrate easily (in teory) with another platforms that implement it too.

I thik it is a wonderfull feature that will allow to elgg to be at the forefront off integration technologies.

However Its too dificult that all the other platforms implement that spec in the short term. So it would be usefull that elgg have another ways to do that.

I don't know what its the actual mechanism that uses elgg to integrate with another systems (Moodle, Drupal, Blackboard) but I found this spec for single-sinon integration for Typo3 (http://www.single-signon.com/en/documentation.html) and think that it would be interesting make something like that with elgg. 

Would be great that someone take a look and try to make it :D

Keywords: ideas, integration, plugin, suggestions

Posted by Diego Andrés Ramírez Aragón @ Developer discussion | 18 comment(s)

May 03, 2007

Hello Everyone,

I have been very pleased with the new version. I noticed an issue when trying to embed video when using IE. I was curious if this is a JavaScript issue and how I can attempt to correct this? Embeding video on FireFox and Opera work great! 

Keywords: 0.8rc2, elgg, installation, issue, video

Posted by Heath Moser @ Developer discussion | 3 comment(s)

I'm looking for a way to Include an extra option in the default access settings.

From the config.php file:

// The following sets the default access level within the Elgg
// site. Possible values include:
//        PUBLIC        :: available to everyone
//        LOGGED_IN    :: available to logged in users only
//        PRIVATE        :: available to the user only 

$CFG->default_access = "PRIVATE";

---------------

I'd really like to include COMMUNITY in this list. that is when your viewing a community blog or filestore the default access restriction is for that specific community. Users then choose to make a community posting or file upload to something other than community members.

Is this at all possible? Any clues anyone?

 

Posted by Paul Coyne @ Developer discussion | 5 comment(s)

May 04, 2007

None of the pics show up on the system at http://poommunity.com/Test

why not? 

Posted by Tobie Booth @ Developer discussion | 2 comment(s)

I wanted the dev team to know that I've been playing with elgg for about a week now and I have to say this is some of the cleanest work I've seen in some time. I've played with and tested just about every other CMS out there and elgg was the easiest to install and run of them all. Yes, it has it's bugs but there are relatively few even at this early stage.

Great work so far guys (and gals if there are any Wink ) I see great things in the future and I look forward to being part of it.

Keywords: developer, praise

Posted by Jason @ Developer discussion | 1 comment(s)

Does any hook or plugin that allows you to see top users (by post, commenting or general activity) or top communities (by the same) exist?

I would be very interested in seeing something like this developed. It would go well with a voting type script, which I have heard a lot of interest for (is anyone working on this?)

Keywords: rating, top communities, top users, voting

Posted by sbsgator @ Developer discussion | 0 comment(s)

May 06, 2007

Is there an approximate limit to the number of members registered to an elgg site, at which point there is a degradation in performance?

For those who have implemented this software, could you post how many members your site has?

Thanks.

Posted by Sam @ Developer discussion | 4 comment(s)

May 07, 2007

I want to change the default maxbytes user have for their account.

I tried to do that using $CFG variables in config.php using variable  $CFG->maxbytes = 5000000;

where  "$CFG->maxbytes" was commented out, i added " = 5000000;"

But doesn't work :(

pls hlp 

 Thnx in advance

Keywords: maxbytes

Posted by Thuggie @ Developer discussion | 3 comment(s)

May 08, 2007

Hi All,

In an effort to try and reduce any duplicate developments could those doing some custom work on their Elgg install put a brief report on this documentation page?

http://elgg.org:81/mod/mediawiki/wiki/index.php/Share_your_developments 

Thanks!

Dave. 

Posted by David Tosh @ Developer discussion | 2 comment(s)

May 10, 2007

Hi,

i thought of a plugin or permament install, thats shows images instead of text in profiles, like the captcha method. Every industry is looking forward to social networks in order to find viable information of consumers. Or personaler look at persons who want to work, and sort them out if they find any compromising information.

Images could be created after editing the profile, perhaps transparent ones, very simple and could be stored in the db.

I think it would be a very powerful feature for elgg. 

What do you think? 

Keywords: captcha, image, profile protection, text

Posted by Nico @ Developer discussion | 0 comment(s)

Hi every one, I've added a new plugin called "siteusers".

This is a optimization of the "sitemembers" plugin; In this version, you can show communities and people, change the icons visualization via template, and extend the init() function to customize new functions, parameters or queries.

Hope that you like it, enjoy it and use it.

You can mail me for questions, suggestions or anything.

Thanks to all !! 

 

Keywords: show, show communities, show people, siteusers

Posted by Juan Carlos Lucero @ Developer discussion | 18 comment(s)

May 12, 2007

First of thanks to Ben and Diego for their wonderful work on the widgets and the new contenttoolbar. But the question I want to raise is: are we using javascript too much with too many libraries?

Case in point: I just solved a conflict between the conttenttoolbar plugin (which is not really a modular plugin because it cannot be removed without elgg core breaking) and the tagsuggest plugin. The latter uses jQuery, which puts $ in the global namespace, and the former uses homemade libraries which aparently also puts all sorts of stuff (another definition of $ among them) in the global namespace. Anyway, I think I have solved it, for now.

But this made me aware of the fact that elgg is now using a lot of javascript: on the weblog edit page we have now messages.js, presentation.js, tiny_mce.js (147 KB) with its various plugins, helpers.js, script.js, edit.js (contenttoolbar), jq.js, jq_ac.js (jQuery, used by tagsuggest), for a total of 340 kB.

Now, most of this is tiny_mce off course, but size of the javascript is not the only problem.  For our use, the javascript used to put the widgets in their place is not aceptable: even our students had motoric dificulties putting the boxes exactly in the middle. But to Ben credit, he had a complete html solution in place, so we just could not use the yui plugin and everything is wonderful. The ideal solution would be off course to be able to use both the javascript and the html solution, switchable in some way. 

The contenttoolbar is a nice piece of work, especially the file wizard and I think that we should have a solution along these lines, but again, a html alternative is absolutely necessary I think (if only the select box that we had all along). Javascript solutions should be extra, on top of, optional,  making for a better user experience for those that can make use of it.

So what do you all think? 

Keywords: javascript

Posted by Ewout ter Haar @ Developer discussion | 3 comment(s)

May 14, 2007

Is Elgg 0.8 supposed to have the ability to delete users and communities? If not - at what stage is it to be implemented?

Keywords: delete users

Posted by Graeme Forrester @ Developer discussion | 3 comment(s)

May 15, 2007

Is the front page on Elgg.org with latest posts and 2 column layout available as a template or plugin?

It is excellent.

Posted by Graeme Forrester @ Developer discussion | 2 comment(s)

I have created a patch which seems to fix many (most?) of the problems I have encountered trying to use Elgg with PostgreSQL.  Note that the patch will not apply cleanly to 0.8rc2 and earlier; you will need to get a Subversion snapshot to use this patch or backport the changes.  The patch itself comes from the differences between my changes and svn(1) r1096, but I have applied it as far back as r1081, as well as the most recent r1101 and r1102.  Check the included README for details and please post problems, suggestions, and feedback to make PostgreSQL support better for everyone.

elgg-r1096-pgsql.tar.gz

Posted by Allen @ Developer discussion | 2 comment(s)

Hi all,

We are looking for some free lancers to build a couple of add-ons for us.

Need to see some work you have done and what your project or hourly rate is.

Prefer someone in the Metro Washington DC area but not a must.

Send info to ohcapt@yahoo.com

 

Thanks

S

Keywords: development, freelancer

Posted by Sean Cease @ Developer discussion | 1 comment(s)

May 16, 2007

Hi Everyone!

How many of you had noted the elgg .8 brand allows you to make custom translations for your plugins.

In the way to make the process of i18n easier We developed this little tool take help you to extract an generate a base .po file. 

i18ntool

Use:

 php i18n.php <directory> <locale> <header_file>

  If you use this comments without parameters it assumes:
         <directory> = .
         <locale> en_GB
         <header_file> elgg_header.txt

For example for translate the messages plugin to Mexican Spanish

php i18n.php mod/messages es_MX

It creates for you the 'languages/es_MX/LC_MESSAGES/es_MX.po file.

For now it have some limitations, for example it can detect multiline __gettext strings

But it the help of everyone we can improve it Wink

This tool uses the UNIX grep command for extract the __gettext strings, in some systems (specially ubuntu based systems) there is a problem with the '-P' option (perl-regexps). In that case you must to install grep directly from the code and change the grep path in the i18n.php file.

I hope this little tool would be useful for everyone.

Cheers 

Keywords: i18n, tools

Posted by Diego Andrés Ramírez Aragón @ Developer discussion | 2 comment(s)

May 17, 2007

I've been searching through the site but not finding it:

Is there any documentation describing the general architecture of Elgg, how the different kinds of objects are related and interact, the contents of each of the directories in the installation, etc?  All the sorts of things a new developer would want to know before diving into the code.

Keywords: architecture, documentation, objects, overview

Posted by Mark Heiman @ Developer discussion | 4 comment(s)

May 18, 2007

When a user adds Keyword(s) to a post and goes back to edit their post they receive the following warning message:

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/heathmo/public_html/myrichmondva/mod/blog/lib/weblogs_posts_edit.php on line 36

I have the system messages set to 0 in the config. file. Does anyone have a recommendation to solve this issue? 

Posted by Heath Moser @ Developer discussion | 2 comment(s)

hello everyone,

 I have seen the answer somewhere but i cant find it. Annyone knows where to find the solution or explain the answer directly :p

Thnx in advance 

Posted by Thuggie @ Developer discussion | 0 comment(s)


When I try deleting one of my communities I get this error 

 Notice: Undefined index: profile:details in /homepages/30/d202377048/htdocs/mod/profile/lib.php on line 348

Warning: Cannot modify header information - headers already sent by (output started at /homepages/30/d202377048/htdocs/mod/profile/lib.php:348) in /homepages/30/d202377048/htdocs/mod/community/lib/communities_actions.php on line 111

 

It then deleted my account!

Posted by Guy @ Developer discussion | 5 comment(s)

May 20, 2007

Hi, i made some improvements on latest posts/comments feed.

  • Added support for i18n.
  • Added author & categories tags. 
  • Keep format of posts.

Download:

Just copy/replace the files in your dirroot.

Greets. 

Keywords: comments, feed, latests, posts, rss

Posted by Rolando Espinoza La Fuente @ Developer discussion | 0 comment(s)

May 22, 2007

I works with mercurial a time ago, so i have the svn repository mirrored in a mercurial repo, you can see here: http://devel.memi.umss.edu.bo/rolando/hg/elgg_svn/

The repository contains changes since r988 (v0.7 is r978).

So, anyone who use mercurial can clone and pull change from there.

* Mercurial is a fast and cheap distributed version control system writen in python/c, more info: http://www.selenic.com/mercurial/

Keywords: elgg, mercurial, svn

Posted by Rolando Espinoza La Fuente @ Developer discussion | 0 comment(s)

Dose somebody work on a XML or PDF export-tool for profiles or presentations on elgg?
We are planning to use elgg at the University of Geneva, Switzerland. Our principal need is the creation of e-portfolios with the possibility to export them in PDF (in a convenient layout).

Keywords: export, pdf, xml

Posted by Urs Richle @ Developer discussion | 0 comment(s)

Hi guys, this should be a simple one for you

I want to create a new menu item,  at the moment all I want it do is when clicked display a page in the same format as the rest of the site and say the world hello.

so I created a new directory in mod called progress

created a lib file with this code: 

function progress_pagesetup() {
  // register links --
  global $profile_id;
  global $PAGE;
  global $CFG;
  require_once (dirname(__FILE__))."/default_template.php";

  $page_owner= $profile_id;

  // main menu
  if (isloggedin()) {

    if (defined("context") && context == "Progress" && $page_owner == $_SESSION['userid']) {

      $PAGE->menu[]= array ( //menu on page
        'name' => 'Progress', //directory name
        'html' => "<li><a href=\"{$CFG->wwwroot}{$_SESSION['username']}/Progress\" class=\"selected\" >" . __gettext("Progress") . '</a></li>');

    } else { //  main menu
      $PAGE->menu[]= array (
        'name' => 'Progress',
        'html' => "<li><a href=\"{$CFG->wwwroot}{$_SESSION['username']}/Progress\" >" . __gettext("Progress") . '</a></li>');
    };
  }

}
  

and a index.php :

<? 

 echo" hello"

 

?>

I can see the link on the toolbar but I get a 404 error, when i click on it.  what i'm doing wrong?

Posted by George @ Developer discussion | 9 comment(s)

May 23, 2007

Does any one else have this problem? It can take hours, somtimes days for my invitation email to be sent. This has been tested with two different hosting companies and the issue remains. (not that i swapped hosting compaines because of the issue, i just happen to have it installed two different places)

Anyone have a similar problem? Or perhaps a solution?

Keywords: email, email invite, email notification, invite, slow

Posted by Adam Poots @ Developer discussion | 2 comment(s)

Dear all,

 

is it possible to add the menue topics of the {{toolbar}} to the {{mainbody}} of the  frontpage_loggedin?

For example I want new users force to generate new communities or to fill out their detailled profile. The links to this sub pages should be accessible from the welcome text on the frontpage_loggedin.

How can I achieve this? Any help is welcome.

Thanks and keep on the good work.

 Claus

Keywords: frontpage_loggedin toolbar mainbody

Posted by guz @ Developer discussion | 1 comment(s)

May 24, 2007

I got a warning message after upgrading to 0.8 RC2 version
---------------------------------------------------------------------------
Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /web/home/mymq/html/mod/explodeping/lib.php on line 31

---

Posted by Jong-Dae Park @ Developer discussion | 1 comment(s)

Hi im getting the follwoing error after signing up on my new elgg installation

 

Warning: Invalid argument supplied for foreach() in /home/test/public_html/mod/profile_photo/lib.php on line 15

Warning: Cannot modify header information - headers already sent by (output started at /home/yootagc/public_html/mod/profile_photo/lib.php:15) in /home/test/public_html/units/invite/invite_actions.php on line 149

 

It happend after the email confirmation on this URL

http://mysite.com/_invite/join.php?invitecode=i5u2epd6

 

Can anyone help me out please?

 

Thankyou for your time.

 

Tony 

 

Posted by Tonyh @ Developer discussion | 10 comment(s)

May 25, 2007

Hi i want to remove the links on right hand sidebar that say

RSS | Tags | Resources

Also i want to display the users tags on their profile rather than a seperate page.

 

If anyone can tell me what files i need to edit to do these things id much appriciate it.

 

Thanks in advance. 

 Tony

 

Posted by Tonyh @ Developer discussion | 0 comment(s)

May 28, 2007

Hello experts,

I get the error codes below when I Join my elgg website: (this is the http://10.0.0.150/_invite/join.php?invitecode=idymmatg) (you can not reach the server cause its an internal IP address..)

Warning: Invalid argument supplied for foreach() in /var/www/mod/profile_photo/lib.php on line 15

Warning: Cannot modify header information - headers already sent by (output started at /var/www/mod/profile_photo/lib.php:15) in /var/www/units/invite/invite_actions.php on line 149

The user is created so its just a bug.

When I'm logged in every page I go I get "

The webpage cannot be found"

(accept for the user homepage and settings pages)

Even the user icon cant be found.
I installed Elgg0.8rc2 on my ubuntu LAMP server and changed the rights and permissions on the directory as the install guide explaned.

I searched several fora but couldnt get a clear answer. Hope you can help me out!

Keywords: 404, The webpage cannot be found, Warning: Invalid argument supplied for foreach() in /var/www/mod/profile_photo/lib.php on line 15Warning: Cannot modify header i

Posted by DBS @ Developer discussion | 1 comment(s)

May 29, 2007

Is there any special way I should go about disabling plugins aside from simplying removing them from the mod folder?

Keywords: disable, plugin

Posted by John MacKenzie @ Developer discussion | 1 comment(s)

May 30, 2007

Hi all,


I've recently set up a new elgg install authenticating against LDAP. This works except for the fact that usernames in elgg are restricted to alphanumeric characters up to 12 chars long. My Active Directory logins are in the form firstname.lastname and are up to 20 chars. Is there any particular reason for the restriction? I have at the moment changed the restriction in the ldap authentication library, but don't know if there will be any problems downstream?

Also, I've modified the LDAP auth library to allow for multiple base DNs to be provided (in my case I have a seperate DN for staff and for students) 

Keywords: authentication, LDAP, login

Posted by askvictor @ Developer discussion | 12 comment(s)

Since I don't really understand what a FOAF file is, and neither does a lot other people who uses my community, I want to disable everything that looks like FOAF.. does anyone know how to disable the FOAF function in Elgg ?

Keywords: Disable, Foaf

Posted by darkd @ Developer discussion | 0 comment(s)

May 31, 2007

Hi Guys,

I have created a voting system plugin, I want to make the votes unqiue to each user. So is there a unique variable for each user, I can use Smile

George.

Posted by George @ Developer discussion | 4 comment(s)

Hi everyone.  I'm a new elgg enthusiast and have been customizing my intallation.  One thing that is bugging me is that none of my icons are showing.

 

I know they are uploading correctly because I can browse to them in data/icons/a/arkboynko/file.gif

 

but on my profile pages and everywhere else the icon should show it is a red x.

 

Any ideas?

Thanks,
Noah

Keywords: profile icons missing

Posted by Noah Oliphant @ Developer discussion | 5 comment(s)

Hello Elgg supporters-

I'm a moderately talented developer, but I can't understand how Elgg processes some of it's URLs.

For example, if you have a site

www.example.com

that is running Elgg in the root web directory, and you have a user named foobar, how does Elgg know how to render

www.example.com/foobar/profile

www.example.com/foobar/weblog

etc...

Obviously these aren't physical addresses on the server.  Any light to shed on this?  What files in which directories handle this type of server request?

Thanks,
Noah

Keywords: elgg architecture

Posted by Noah Oliphant @ Developer discussion | 1 comment(s)

Site supported by Curverider Ltd - powered by the awesome Elgg