hi i have the same problème...
I didn't find a feature like this so I had to make my own version of the LDAP plugin that I was using.
Here I add the LDAP host as a parameter for the 'register', 'user' hook: https://github.com/juho-jaakkola/elgg-ldap_auth/blob/multiple_hosts/start.php#L195
Then in an other (customer specific) plugin I registered a handler for the 'register', 'user' hook. In the hook handler I then handled users differently based on the host.
(Naturally another customization is that my own version of the plugin supports multiple LDAP hosts.)
For changing the default selected tab to friends...
In nav.php (/mod/riverdashboard/views/default/riverdashboard/nav.php), change:
$allselect = ''; $friendsselect = ''; $mineselect = '';
switch($vars['orient']) {
case '': $allselect = 'class="selected"';
break;
case 'friends': $friendsselect = 'class="selected"';
break;
case 'mine': $mineselect = 'class="selected"';
break;
to:
$allselect = ''; $friendsselect = ''; $mineselect = '';
switch($vars['orient']) {
case 'all': $allselect = 'class="selected"';
break;
case '': $friendsselect = 'class="selected"';
break;
case 'mine': $mineselect = 'class="selected"';
break;
And on extra content... yes, it's pretty simple. Look at the index.php... you'll see it calls the content like this (just cutting out the one line responsible):
$area1 .= elgg_view("riverdashboard/newestmembers");
Now, if, say, you wanted to add, I don't know, a small menu there linking users to their files, groups, and whatnot... you might create an extra file in views/default/riverdashboard called minimenu.php, and put your content in there.
Then, to have it appear above thewire, you'd insert it like this:
//add a mini menu above thewire
$area1 .= elgg_view("riverdashboard/minimenu");
//set a view for the wire to extend
$area1 .= elgg_view("activity/thewire");
...this is a very basic example, of course, but it should get you going in the right direction. :)
hey guys how can i do it now? i think riverdashboard it's gone with 1.8 and i can't find anything similare by myself? how can i do this?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.