[Register]
Powered by Elgg

Developer discussion :: Blog

June 25, 2008

Hello,

 I 'm trying to add a new form with 4 questions on the first connexion of the user to Elgg. I managed to add it using a plugin on the login page of my website but now i want to process it when the user click on submit. I think i must add something in the function init of my plugin to tell Elgg with wich file proceed the result.

Thank you for your help !

Sylvain

Keywords: form, plugin

Posted by Sylvain Lemiere @ Developer discussion | 0 comment(s)

May 07, 2008

In http://classic.elgg.org/trac/ticket/277 it was pointed out that the entries in auth/multiple/auth.ini for ldap_search_attr should be separate i.e.

ldap_search_attr[] = givenName
ldap_search_attr[] = sn
ldap_search_attr[] = mail

which after parse_ini_file does its work gives

             [ldap_search_attr] => Array
                (
                    [0] => givenName
                    [1] => sn
                    [2] => mail
                )

The next problem is that as the comment at the top of auth/ldap/lib.php says it should be

          $CFG->ldap_search_attr = array('firstname' => 'givenname',
                                         'lastname' => 'sn',
                                         'mail' => 'mail');

As the code later in the file uses

                $user->email = $user_info["mail"];
                $user->name  = $user_info["firstname"];
                $user->name  = $user->name . " " . $user_info["lastname"];

Since I want multiple ldap sources I want auth.ini to work but how to change it 0, 1, and 2 do not say what the attributes represent if all ldap sources use the same sn, mail, and givenName then I could uncomment the line at the top of the lib.php.

Interestingly most comments on how to do ldap still refer to putting the parameters directly into the config.php file.

 

Keywords: ldap authentication auth.ini

Posted by Kevin Murray @ Developer discussion | 0 comment(s)

March 26, 2008

Failed links View Message, Compose and Sent Message. The error message is as follows: "The requested URL was not found on this server."
Can someone help me?
Thanks 

Posted by M@ria @ Developer discussion | 0 comment(s)

March 07, 2008

Hello all!

I am new to elgg. I am actually developing something usefull with elgg. A social site. I would just like to ask for some help. Where can I find adminTable. The table is very limited and I am trying to find a way to format my data displays. I have been reading much of this site plus been inside elgg code for weeks now. The site is http://playground1.maxwellsmb.net if you have suggestions please let me know. I welcome every inch of advice from you guys. Thank you.

Posted by Joseph Nepomucin N. Niez @ Developer discussion | 0 comment(s)

February 10, 2008

How would I add my own replace holders?

I want to create a 'subnav' item in a template.  Thanks to a great link I found on your site; I've been able to add my own template pages.  But I now need a 'subnav' item.  I want to put a custom place holder in my template.  Once the the place holder string is replaced, a variable will be passed and run a function which will figure out which subnav to show.

 How can I do this?

Keywords: place holders, subnav, templates

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

January 17, 2008

I can view the list and contents of my resources/feeds but when I like to published a feed to  blog it doesnt appear to my blogs? Is there a bug in publish to blog files? Or is there any format for feed links to be posted?

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

January 04, 2008

Hello I'm new with elgg, I'm a web programmer. I just like to know what file will I edit if I like to add new fields in server/_userdetails/ link? This is under Account Settings link in the main page.Please I need an immediate response about this. or email me slap_chick@yahoo.com

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

November 29, 2007

I am wondering what the size of an displayable object can be in width in ElGG in the inner window. Pictures are scaled down to a maximal width of 800 pixel, no matter which screen resolution is used. So i think the maximum in width is 800 pixel. Can anyone approve of that or am i wrong?

greetings, Xioph 

Keywords: picture, size, width

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

November 08, 2007

I am looking at implmenting elgg for a client and was curious about the ability to change the 'friendship' terminology that is used. This would be for a network of business professions who would probably think more in terms of 'connections, networks or colleagues'.

Posted by Ven Rock @ Developer discussion | 1 comment(s)

November 07, 2007

Is alias field made as an alias for username?

Is this field already used in source code or is it just created in the table for evantual future use in the case you need it? 

Keywords: alias, elgg, user table

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

<< Back

Site supported by Curverider Ltd - powered by the awesome Elgg