[Register]
Powered by Elgg

Developer discussion :: Blog :: Archives

October 2007

October 06, 2007

Hoping someone might help me in how to add a PHP 'include' in the Advertiser Plug-In, so I can rotate some random ads?

I'm not a PHP person, but I think the 'END' block stops PHP being intepreted?

Wanted to use the 'Simple Ad Rotator' from PHPBuddy:
http://www.phpbuddy.com/article.php?id=4

Thanks

Keywords: Advertiser, PHP include, Plug In, Simple Ad Rotator

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

October 07, 2007

HI, I've just installed Elgg. When I user registers they type their name and email address in the form and click submit. What they get back is the exact same form - when they should be see a message confirming that they have registered and asking them to check their email.

This is confusing - and not good given that it's the first experience a new user has of this community space. So far - I've limited experience of using the application - but my thoughts are that usability needs some attention.

Jim 

Keywords: usability, user registration

Posted by Jim Byrne @ Developer discussion | 0 comment(s)

October 08, 2007

Is there a way of showing New Communities / New profiles on the front page?

saludos

marcin

Posted by Marcin Czech @ Developer discussion | 2 comment(s)

I was wondering if there was a way to see what tags were inputed when listening for the weblog_posts  - create event.  I am working on a plugin.  I basically going to be filtering post for profanity(for use in an elementry school).

 I got the event listening working.  But when I output the object  I don't see the tags I inputed.  Is there anyway I can get access to them before they are written to the table?

thanks 

Keywords: event, listen_for_event, plugin, tags, weblog_post

Posted by Ted Bowman @ Developer discussion | 2 comment(s)

October 09, 2007

I am forcing users to be logged out off based on post content.  I am doing this by directing them to logout.php.

Is there a way to give them a message out why they were logged out. 

thanks 

Keywords: logout.php, message

Posted by Ted Bowman @ Developer discussion | 2 comment(s)

October 10, 2007

There is probably something simple I am missing but..

I am trying to pass parameters in the url. Basically I making a link when viewing a post. It sends the user to thier own blog to write a post on the same keywords.  I am trying to pass the keywords in url so they can be pre filled, but the $_GET variable seems to be empty.

This the link I am using:

http://localhost/elgg_8/news/weblog/edit?tags=tag1,quest

-- tried the one below but it throws an error

http://localhost/elgg_8/news/weblog/edit/?tags=tag1,ques 

Is this cause of the rewrite in .htaccess?  How can I pass extra info in a link?

Thanks 

 

Keywords: .htaccess, pass, querystring, rewrite, url

Posted by Ted Bowman @ Developer discussion | 1 comment(s)

How can I get a link directly to all blog posts tagged with a particular keyword?

Like the tag cloud links, but I do not want to see a list of users!! I want to see a list of posts directly (like the list generated by the rss feed).

Am I missing some obvious way of doing this? Thanks 

Keywords: tags posts blog

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

October 11, 2007

I have just released a simple, rough, Expldoe plugin that allows site users to take advantage of the nice Explode API to generate friends list from services like Flickr, YouTube, LiveJournal etc.

It still needs a little work but should work out of the box - please feel free to amend it if you find an issue.

More info

Keywords: explode

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

hi im fixing some translation using .po files

how on earth i can change "Here are some example users: "  or "welcome" on the main page?

tried almost everything. updated .po file from poedit and checked every php tere can be. No matter where i change i get nothing. please point me to proper file or mistake i am making 

 saludos!

marcin 

Posted by Marcin Czech @ Developer discussion | 2 comment(s)

October 15, 2007

I've been working up a plugin that presents a snapshot of a users activity (blog/community posts, comments, files) that can be viewed by others. It designed to help find the recent activity of a user regardless of where in the system they are active.

I've got it working, but have a problem related to profile_id. The page works fine (loads the users activity in the left, and the users profile in the sidebar), but it is loosing track of who the logged in user is (the toolbar reverts to the "not logged in toolbar, which in my instance is blank) and the sql queries that run the page loose track of what permissions the current user has. The user isn't logged out (if they go to another page, their session is still active and they are still logged in), but I can't figure out how to keep track of the active user (so the toolbar remains and whre clauses stay in tact) but show the desired user being viewed in the sidebar.

 My current sources are below if any power-user wants to have a crack at it. (note: there are some hard coded links that mean you can't just drop this in your own instance and have it work, but you can see it in use here:

http://commun-it.org/community/mod/activity/index.php?owner=

 

http://elgg.org/timh/files/-1/235/activity.zip

Keywords: profile_id, recent activity

Posted by Tim Hawes @ Developer discussion | 1 comment(s)

October 16, 2007

Why aren't the Cummunity File storage files available in the community blog [Add file], File selector window. As it works from my Personal Blog and picks up files from the [Your files] section?

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

October 19, 2007

aloha,

im testing my elgg locally. I would like to add users to create testing communities. How should i register users? localhost doesnt send mail. I could edit elggusers in DB via phpmyadmin but maybe there is other more human way.. is there?

saludos

marcin 

Keywords: localhost, new user, no mail, registration

Posted by Marcin Czech @ Developer discussion | 1 comment(s)

Currently when you are searching on the ELGG the results are listed with icons in the order of profiles with interest, profiles with dislikes, users with weblog post on term, and then communities and users with presentations involving the term.

We would like to reverse this order and in fact eliminate the need to click on the icon first to access the user's presentations. Users are not wanting to drill down that much to find what they need. We would like to see a listing of the presentations initially with an icon to the side designating ownership and then the rest of the listing of communities and weblog posts. Can someone point us in the right location for changing this? We have spent some time looking over the code and are needing some direction to the approach.

Our use of the ELGG is a little altered than a traditional social network in that we want to socialize the content. Any feedback or direction will be helpful. You can view the site currently working at http://www.college-cram.com

Keywords: search, search modification, search order, search results

Posted by Brian Shannon @ Developer discussion | 0 comment(s)

hi,

where are all the variables defined that i refer to by double curly brackets? for instance in pageshell {{toolbar}} . Where can i define my own ones?

 saludos

Posted by Marcin Czech @ Developer discussion | 1 comment(s)

October 20, 2007

Hi

I'm brand new to ELGG today (though I've been coding in PHP for many years), so apologies if I'm posting a bug report in the wrong place, I haven't been able to find anywhere else to do it as yet.

I had to create a new auth module, and whilst everything went smoothly for me, I think I've spotted a bug in the LDAP auth module I initially had a look at to see how things worked.

In auth/ldap/lib.php in Elgg version 0.8, and also in the subversion development branch, inside the function ldap_create_elgg_user() are the lines:
if (!empty($user_id)) {
$rssresult = run("weblogs:rss:publish", array($uid, false));
$rssresult = run("files:rss:publish", array($uid, false));
$rssresult = run("profile:rss:publish", array($uid, false));
} else {
...

Since there is no $uid variable in scope inside ldap_create_elgg_user(), I suspect that the author meant to use $user_id rather than $uid.

Apologies again if I've posted this information in the wrong place!

Cheers

Phil

Keywords: bug ldap

Posted by Phil Driscoll @ Developer discussion | 1 comment(s)

October 21, 2007

I'm testing out elgg for use as a network for artists and designers. As such images will be very important. I'd like to know if it is possible to associate an image with a blog entry and have that show up next to the entry on the home-page. So the entry-summary would look something like:

 

Thanks. 

 

Keywords: blog, image

Posted by Chris Knight @ Developer discussion | 2 comment(s)

October 22, 2007

I am looking to use the {{populartags}} or the {{toptags}} keywords on pages outside of my elgg install.  How would I go about doing this?  

Keywords: keywords, php, popular tags, tags, top tags

Posted by Corey Wagehoft @ Developer discussion | 2 comment(s)

October 23, 2007

I've search for whole site and cannot found a document describe how ELGG works.

I think it should be better if the community can provide a basic introduction document for new developer.

For example, How group works in elgg? how module works in elgg? What does run("permission:check") means? 

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

October 24, 2007

There doesn't seem to be any record - in the Elgg Admin page or in the database - of when users registered.

Is this info. stored? 

Keywords: registration timestamp date users

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

October 25, 2007

Please check out my development site at http://wikibondev.org/elgg. I'm having similar problems to some other users on here with the CSS not displaying. When I view the URL (http://wikibondev.org/elgg/_templates/css/Default_Template), All that shows is a <.

 I'm *pretty* sure my paths are correct but I will double check them while I wait for replies.

What could be causing this? 

Keywords: bug, css, default template

Posted by Mark Henderson @ Developer discussion | 1 comment(s)

Can we get a new link for the random site users plugin link?

Keywords: plugin, random site user

Posted by Brian Shannon @ Developer discussion | 1 comment(s)

October 26, 2007

In the forums quite some errors get reported and some even include patches for those errors, which is good. This is a reminder to all that the sourceforge tracker is being used for bug tracking and patch submissions, so please also add your issues there.

Keywords: bugs, patches, sourceforge

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

October 27, 2007

I am totally new to Elgg and this sort of technology. I am a web designer with HTML, CSS, some JavaScript, and very little PHP and MySQL experience.

That said, I have some specific questions, but maybe more importantly what I need to ask is this: I have looked all over this site at the documentation and forums, but I can't seem to find anything that really explains how this thing works in detail. I have no idea where to start when I want to do little things like somehow plug my blog into the front page or even just edit the searchbox.

 I'd really appreciate it if somebody could point me in the right direction or even answer those specific questions.

Thanks. 

Posted by John Natoli @ Developer discussion | 0 comment(s)

Site supported by Curverider Ltd - powered by the awesome Elgg