[Register]
Powered by Elgg

Developer discussion :: Blog :: Archives

June 2007

June 01, 2007

Here's an odd one.

All of a suddent I can't upload personal files - icons, files, images and so on. Elgg tells me it can't find the file, am I sure I selected one.

The thing is this functionality works perfectly well for Communities. I can upload new icons files and graphics if my Profile is that of a community.

I am stumped. Any thoughts? 

 

Keywords: bug, File, files, icons, upload

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

I would like to display the gamer tage from XBOX Live people. How can I dynamically add the username to "REPLACE-THIS-WITH-YOUR-GAMERTAG" When the user logs in I would like to display the gamer tag in the side bar. 

<iframe src="http://gamercard.xbox.com/REPLACE-THIS-WITH-YOUR-GAMERTAG.card" scrolling="no" frameBorder="0" height="140" width="204">Put your gamertag here too.</iframe>

Keywords: profile, sidebar, username

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

June 02, 2007

I'm planning to launch a hosted learning and collaboration environment for small teams across organizations (powered by Elgg) and would like to offer my customers the toolbar on top of their own sites. Is their an easy way to do this? What files are needed to make it work on other sites?

Wiebe 

Keywords: elgg, other sites, toolbar

Posted by Wiebe Kunst @ Developer discussion | 3 comment(s)

June 03, 2007

I would like to extend the menu (Browse | Tag Cloud) under the searchbox with more links (FAQ | Help), but I can't figure out how. Can somebody help me out?

Wiebe

Posted by Wiebe Kunst @ Developer discussion | 3 comment(s)

June 04, 2007

Not sure it is a good idea to (by defualt) place everyones files in the same folder i.e. root.

Wouldn't it be easier to automatically have a Person and a Commminity folder created automatically and have files stored there by default, or am I missing something?

Keywords: Root File Selector

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

June 06, 2007

We are looking for a developer to customize Elgg and create a mod for us. Must be very familiar with the script and a capable programmer.

 

If you are interested please contact Diego from MD Capital, at: diego@mdcptl.com

Keywords: custom mod, developer, installation

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

i am looking for someone with experience in building an elgg based social networking site.  the person should be well versed in PHP and building of AJAX driven sites.

Keywords: job developer

Posted by Horatio Baxton @ Developer discussion | 1 comment(s)

Hi all,

I don't know if here is the best place for asking, but could you guys (Ben et al) install messages plugin on elgg.org?

"View activity" link (http://elgg.org/_activity) also would be good. I can mark some topic as interesting and see how are discussions going on. Also, someone can answer me after a long time and I will see it, as here, for example. Without "View activity", this topic can get lost between a lot of topics in the forum...

Thanks in advance,

Tom. 

Keywords: activity, communication, elgg.org, messages plugin, view activity

Posted by Everton Zanella Alvarenga @ Developer discussion | 197 comment(s)

June 07, 2007

Hi there!  Wondering if anybody knows what I'd have to modify to set Elgg to default to a 'Public' access level for profiles?  Looks like it defaults to 'private', and the powers that be here would have it otherwise ;)

Posted by Dave Williams @ Developer discussion | 5 comment(s)

I'm wondering if it's possible to enable widgets for individual profiles by default?  I'm thinking particularly about having the 'friends' widget enabled for every new signup, but wouldn't have the first clue as to how to go about setting this as a default behavior in Elgg....

Posted by Dave Williams @ Developer discussion | 0 comment(s)

0.8RC2 doesn't seem to be compatible with PHP4, despite the statement on the ELGG install page and in INSTALL
file from the 0.8RC2 distribution:
" ... Elgg currently requires the Apache web server with mod_rewrite installed and the ability to send emails, plus PHP 4.3+ and MySQL 4.1+ ..." 

After debugging why the first setup page returns an empty page,
discovered it was calling @file_put_contents() function. Function only
exists in PHP5.

Will 0.8 be PHP4 compatible ? 

Keywords: PHP4

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

How do i go about making sure that AllowOverride is set to All for my elgg directory?

 Any help is greatly appreciate. Thx.

EDIT:

I found the following...if i add it to my .htaccess file in my /www/ directory would it work for the installation requirement?

<Directory /www/elgg>
AllowOverride All
</Directory>

Keywords: AllowOverride

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

June 08, 2007

Hi everyone,

I have seen an issue where users, or communities have randomly been deleted? What would be the cause of communities and all their content being deleted? This can be a huge issue for users.

I have three sites that use Elgg and I have noticed on a couple of occasions when Elgg appears to be down so are all of my sites that use Elgg. 

Keywords: communities, issues

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

June 11, 2007

Hi, all!

I'm having problems with rendering HTML on our site. Here's an example. I already checked the database entry of this page, but it was stored as <html> and not &lt;html&gt;

I am now trying to trace run("weblogs:posts:view:individual", $post)  located at _weblog/view_post.php, but I can't seem to find where I should look at this.

Thanks in advance for your help!

Posted by Diana Jayne Gonzales @ Developer discussion | 0 comment(s)

When adding a 'widget', like a video widget it's automatically set 'private' even if I have set the site's default access restriction to 'PUBLIC'.  So, wondering where within the /mod/widgets area I should look to hardcode the defaults for this to 'public'.  I've grepped like a madman for this, but can't see where it's set?

 

Any help could potentially be rewarded with cold, frosty Harp largers! 

Posted by Dave Williams @ Developer discussion | 15 comment(s)

June 12, 2007

I installed the latest SVN in a DEVEL region and I have been making updates based all my previous updates. It is a long and tedious task, but well worth.

When I click on one of the blogs I get the following message 'A'  and that is it. Sometimes I get the correct message along with 'A'. Here is a link for reference. Can someone please let me know where this 'A' so I can remove it?

http://www.myrichmondva.com/devel/support/weblog 

Keywords: Issue, messageshell

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

I've been working on getting the LDAP authentication module to play nicely, but this will apply to any external authentication mechanism:

Currently elgg only allows 3-12 alphanumeric characters for the username. External authenicators may allow more than this. Common extra characters are . - and _ while the number of characters may be large (how large? email addresses can theoretically have up to 64 chars in the local part). 

I see two paths to head down with this: either extend the range of characters elgg uses for usernames, or  create another database table which maps the authenication mechanisms username onto an automatically generated elgg username. The end user would not see the difference except perhaps in the URL. 

I would prefer the first option, but would like to hear from core developers as to why the initial restrictions were impose, and where they pop up (I've so far discovered them in three places in the code)

Cheers

Victor 

Keywords: authentication, external authentication, LDAP, login, username

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

I am new to Elgg, my usual home is Moodle. I am currenty trying to find out how the Elgg developer community works. So here is my first question: how are bugs reported and tracked? Are you using the bug tracker on Sourceforge? There does not appear to have been much activity on that tracker.

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

June 15, 2007

When i try to register on my site the registration process just hangs, and doesnt load.

It was ok 2 weeks ago, but i have checked my site today and its having this problem.

 

Can anyone tell me why this maybe happening?

 

My url is

http://yootag.com/_invite/register.php

 

Thankyou for your time. 

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

June 16, 2007

hey guys,

i'm new here. so pls pardon me if this issue had been discussed before (i can't seems to find it)

i downloaded the modified .htaccess file so that my elgg are able to hv usernames with underscore (_) on it.

but once i replaced the file, except for profile page, 'ALL' other pages will only show an empty profile page without any page title on it.

only shows top header, right pane and  this:

Extended profile

Click here to view extended profile

i even tried modifying the .htaccess manually, that is to replace all [A-Za-z0-9] to [A-Za-z0-9._-]

but the problem will still be there. anyone here had this problem before? how can i solve this? thanks in advance.

Keywords: htaccess, page title, profile page

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

Hi, I'm new to elgg and wondered if anyone could give me a heads up on which files are responsible for outputting the image tags for user icons?  I would like to add a class to each instance of a user icon but don't know where to start.  Any help would be appreciated.

Keywords: icons, templates, user icons

Posted by Trevor Walsh @ Developer discussion | 1 comment(s)

when you go to another user's profile page, the link to [View all Friends] at the left pane will link you to 'http://domain/_friends/?owner=' (without the username at the end) and it will only bring you to a page where it says:

This user doesn't currently have any friends listed. Maybe if you list them as a friend, it'll start the ball rolling ..? 

i tink the url is supposed to be http://domain/username/friends

i checked this website (elgg.org) and it has the same problem too. or am i missing something here?

Keywords: view all friends, wrong url

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

June 17, 2007

Hi guys Smile

If i want to write something to a page I normaly do this:

 $body  ='<table width="350" cellspacing="0" cellpadding="0" border="0">';
 $body  .= '<tr>';

but

 If I use a php fuction for example:

 if(isset($HTTP_GET_VARS["ViewPoll"]))
 {
     ShowVotes();
 }

 function ShowVotes()

{

 $body  ='<table width="350" cellspacing="0" cellpadding="0" border="0">';
 $body  .= '<tr>';

}

Nothing is printed on screen Frown I can use echo to print out the text, but that shows the text at the top of the screen outside the Elgg interface.

 

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

Hello,

We've been planning to upgrade our site to 0.8 RC2 from 0.7. I understand that 0.8 is still in Beta version, but is it stable enough to be used already?

All replies will be appreciated. Thanks!

Posted by Diana Jayne Gonzales @ Developer discussion | 0 comment(s)

Hi guys,

In my plugin when I don't connect to mySQL database I can see a user unqiue name on screen, for example:

News :: Blog

But as soon as i connect to a databse I get:

:: Blog

Any ideas how to fix this?

 

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

Hi everyone, I'm trying to move 'flag content' into floating div alongside the post but am at a complete loss as to how I should do this.  I've found the references to the 'flag content' in units / templates / default_template.php but am not sure what to do with it.  Any help would be appreciated.

Keywords: flag content, template

Posted by Don Albrecht @ Developer discussion | 3 comment(s)

June 18, 2007

http://wmd-editor.com/ - absolutely perfect. cross browser. the end of the crap with tinymce bugging out on safari (which is now windows, duh, old news)

any thoughts on this? what would it entail to banish all tinymce calls and replace globally wiht one line required to call WMDEditor? 

Keywords: editor, safari, tinymce, wysiwig

Posted by daveinboston @ Developer discussion | 6 comment(s)

June 19, 2007

Hi,

 I'm using Wamp to run an install of Elgg on my local machine. The initial setup appears to work OK, and I get the home page to appear including the chrome across the top, but for any other page I try and access I get:

Warning: file_get_contents(mod/template/templates/Default_Template/css) [function.file-get-contents]: failed to open stream: No such file or directory in C:\wamp\www\dbnet2\units\templates\default_template.php on line 15

Warning: file_get_contents(mod/template/templates/Default_Template/pageshell) [function.file-get-contents]: failed to open stream: No such file or directory in C:\wamp\www\dbnet2\units\templates\default_template.php on line 32

Warning: file_get_contents(mod/template/templates/Default_Template/frontpage_loggedout) [function.file-get-contents]: failed to open stream: No such file or directory in C:\wamp\www\dbnet2\units\templates\default_template.php on line 34

Warning: file_get_contents(mod/template/templates/Default_Template/frontpage_loggedin) [function.file-get-contents]: failed to open stream: No such file or directory in C:\wamp\www\dbnet2\units\templates\default_template.php on line 35

Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\dbnet2\units\templates\default_template.php:15) in C:\wamp\www\dbnet2\login\logout.php on line 23

Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\dbnet2\units\templates\default_template.php:15) in C:\wamp\www\dbnet2\login\logout.php on line 27

Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\dbnet2\units\templates\default_template.php:15) in C:\wamp\www\dbnet2\login\logout.php on line 32

 

Could anyone help me with this please?

 

Thanks,


Mark

Keywords: errors, install, template

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

June 20, 2007

My images are not appearing at all - i upload them and they get sent to the 'data' folder which i created by hand stored in /root/media/data and have chmod 777 data.

The images are in the folder (checked that)

But they do not appear on the site at all 

 anyone got any suggestions?

 

cheers 

Keywords: images

Posted by Simon James @ Developer discussion | 2 comment(s)

June 21, 2007

Hi,

I just tried to include a presentation made with www.spresenter.com.

code:
<object type="application/x-shockwave-flash" width="480" height="320" data="https://www.spresent.com/presenter/SimPView.swf?sDir=
https://www.spresent.com/presenter/&p=/lore.ress@arcor.de/LO">
<param name="movie" value="https://www.spresent.com/presenter/SimPView.swf?sDir=
https://www.spresent.com/presenter/&p=/lore.ress@arcor.de/LO" />
</object>

It is running with Wordpress. What is the problem with elgg?

Lore Reß

Keywords: flash, swf

Posted by Lore Ress @ Developer discussion | 2 comment(s)

If I could, I'd like to ask the community's help for this previously posted issue.  Elgg doesn't work on IIS, but only because IIS doesn't support mod_rewrite.

We don't have the testing facilities here, but does anyone feel up to emulating those rewrite rules for IIS?  This could potentially use one of these modules.

Keywords: iis, mod_rewrite

Posted by Ben Werdmuller @ Developer discussion | 20 comment(s)

Hello,

I'm having problems with escaping HTML on ou website.

Here's an example: http://dev.lifeworkps.com/sallyg/weblog/888.html

I've been trying to edit weblogs_text_process.php, but it seems that it's not the one that's being called by the view weblog module.

I'll still be checking this soon on how to fix this, but I'd appreciate more your comments and suggestions.

Thanks!

Keywords: html escape, units, weblog, weblogs

Posted by Diana Jayne Gonzales @ Developer discussion | 1 comment(s)

how do i edit the defaul template css file? i can load it but it doesn't show up in my ftp where it should under "_templates/css/Default_Template.css"

Posted by Tony Zapien @ Developer discussion | 1 comment(s)

June 23, 2007

Hello all,

with my site iphonecolony.com I will not be using the side bar. Because I am not using the sidebar I am loosing a key feature to add friends. How can I make the {{usermenu}} appear somewhere like the content holder?

I also moved the {{topmenu}} to the content holder, but it appears in bullet form. Where can I fix this?

Thank you for your time. 

Keywords: friends, sidebar, top menu, topmenu, user menu, usermenu

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

With Debug on I see the following error notices in my Elgg 0.8rc2 installation. They do not appear to be affecting functionality but I'd like to get them fixed so I can upgrade the live site. Any ideas?

Notice: Undefined index: type in /{url}/mod/blog/lib/weblogs_posts_view.php on line 99
Notice: Undefined index: field in /{url}/mod/blog/lib/weblogs_posts_view.php on line 100
Notice: Undefined index: values in /{url}/mod/blog/lib/weblogs_posts_view.php on line 101

Keywords: error, view, weblog

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

I have set up elgg on localhost. I registered a user but when I got the confirmation link and entered the password and pressed Join I got the following error message:

Warning: Invalid argument supplied for foreach() in C:\Program Files\xampp\htdocs\elgg\mod\profile_photo\lib.php on line 15

Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\elgg\mod\profile_photo\lib.php:15) in C:\Program Files\xampp\htdocs\elgg\units\invite\invite_actions.php on line 149

 Has anyone had (and solved) this problem? Thanks,

Vicki

 

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

June 24, 2007

Hi,

I am in a process of preparing a site to, hopefully, run using elgg. Am not much of a coder, which some of you might notice from past and future posts - however, I have noticed a couple of, mainly synaxtual, things, which I think a change might benefit the community as a whole..

For example, when one wants to make a new network/community, the fields to fill in are a bit confusing. The community name, is actually the description, and community "user name" - is in fact the community's name. Hence, on my copy, I have changed the way users see these fields by calling them "Community description" and "Community name"..

I wonder if I could make that change in the SVN version, and if I can - how?

Guess that'll do for now.. ;)

 Best wishes!

 Aharon

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

June 25, 2007

Something interesting happened to me today with my hosting service.  I was installing Elgg like I have done several times now for myself and now my client/friend BrightVillage.net when I received an "Internal Server Error." I contacted my hosting service and found out the following:

  • Their new servers are running phpSuExec and not Apache
  • Older servers will not be changed from Apache to phpSuExec

How this might impact you in the future if your hosting service supports phpSuExec:

  • Current Elgg installation does not support phpSuExec
  • Site may receive "Internal Server Error" if upgarded to phpSuExec

Good news is I was able to get it working very easily. I had to comment out all the php_ lines of code and copy and place them in a php.ini file within the same directory. This resolved my issue. Users may also need to install the same php.ini file in all other directories because settings from a higher folder will NOT cascade down to lower folders.

I hope everyone finds this useful. I am going to attempt to continue working with phpSuExec. If it does not work out for me my hosting service said they can switch me back to the server running Apache. 

Keywords: .htaccess, Apache, Elgg, Installation, php.ini, phpSuExec

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

June 27, 2007

I run an elgg community in walled garden and do not care about XSS attacks. 

Im migrating from 0.7 to 0.8 and have a little question. 

My user love adding Google Gadgets on their Dashboard :

http://www.google.com/ig/directory?synd=open

With the 0.7 dashboard I had used this patch to allow Javascript in the Dashboard :

http://pccepa3.if.usp.br/trac/demi/changeset/164

I want to do the same with the current widget implementation.

I can't find where they validate the content of the text widget. Can anybody help me ?

Ideally I would LOVE to be abble to add a "Gadget" widget type that is distinct from the text widget.  

Keywords: javascript, widget

Posted by Brice Le Blevennec @ Developer discussion | 2 comment(s)

I fund a bud in 0.8RC2 SVN 1164. When adding widgets to the profile of a community, the widgets appear on my profile instead. The Community profile stay empty.  

Keywords: community, widget

Posted by Brice Le Blevennec @ Developer discussion | 0 comment(s)

When using the Manage Users to get to a Community profile (using the field as Communities does not appear in the list), Administrators cannot delete the Community. 

Seems that only the user that created a Community can delete it. 

I would suggest an additional menu entry in the Admin to Manage Communities in a similar way as Managing users.  

Keywords: community, delete

Posted by Brice Le Blevennec @ Developer discussion | 0 comment(s)

I would like the user icons to be cached instead of being computed at every new page load. What shall I do ?

Posted by Brice Le Blevennec @ Developer discussion | 2 comment(s)

I tried to add this feed to my account:

 http://amsterdam.woningen.miljoenhuizen.nl/rss.xml

 According to the system it's not valid, according to feedvalidator it is:

http://www.feedvalidator.org/check.cgi?url=http%3A%2F%2Famsterdam.woningen.miljoenhuizen.nl%2Frss.xml

It may well be the feed is malformed and feedvalidator.org overlooks it. I just would like to know which validator to use, to find out any mistakes I may have made.

Gr.

 Nico

Posted by Nico Schoonderwoerd @ Developer discussion | 1 comment(s)

Hi there, I am trying to install eLGG and I don't seem able to find any installation instructions

where could I find this, please?

there was nothing in the .zip file either

Thanks

Bob 

 

 

Keywords: installation instructions

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

June 28, 2007

I've read through the Elgg roadmap, but it doesn't give any sense when the final version of 0.8 will be available (rc2 was released over 2 months ago). Anyone from the core dev. team have an idea? I've been experimenting with 0.8rc2 and it seems fairly stable for the routine functionality, but for production it would be nice to be running the final version.

Thanks,

Aron

Posted by Aron West @ Developer discussion | 3 comment(s)

June 29, 2007

okay, so this is a new one - it appears that a laminate flooring company has registered for my site and then loaded several files which are in fact images and ads for their flooring product BUT also added keywords to weight the tag cloud with such terms and so on...

 this absolutely SUCKS. any thoughts about how they did this (if not manually, as that seems quite unlikely)?

i deleted the files, so they don't show up in tag cloud, and banned the user, etc..

 btw, for those interested, the user went by the name KPIs - from russia 

Keywords: spam, spambots, spamming

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

I watch the elgg svn repo thru my browser, and have been seeing a ton of hooks & things inserted by Marcus (& sometimes Ben & Co) for a plug-in called 'river.'  Any explanation about what this is?  Seems like an awful lot of activity and hooks, and it'd be nice to know where Elgg's heading.

Posted by Nathan Garrett @ Developer discussion | 6 comment(s)

Site supported by Curverider Ltd - powered by the awesome Elgg