Info

Category: uncategorized
Licence: GNU General Public License (GPL) version 2
Updated: 63 days ago
Downloaded: 1970

Releases

Latest: 2.02

Previous releases:
More projects by Milan:

0

Recommendations

Summary:

Full description:

Default Widgets (with admin web interface)

(Edit your project's description!)

Release notes:

Hi,

I've created a simple plugin to allow an Elgg administrator to define a default set of profile and dashboard widgets for new registered users.

The previous plugins I saw didn't allow this to be configured using a simple GUI interface, so I decided to write my own. Within the administration menu you will have two new options

 

  • Default profile widgets
  • Default dashboard widgets

 

Each of these pages uses a modified version of the widgets editor found on the profile and dashboard pages. Which I felt was the easiest and would a familiar interface for most users. I also used the idea from another default widgets plugin I found (http://community.elgg.org/pg/plugins/Jade/read/734/plugin-default-widgets-full) which registers an event with the create user methods to allow me to cleanly create widgets only for new users.

One thing to be aware of is that this plugin doesn't set default configurations for the widgets, just widget placements in the profile and dashboard pages.

Feel free to send any feedback you have!

UPDATED:

2.01: Fixed a bug spotted by Elgg Developers. When an admin creates a user in the administrator interface then the admin user is logged in as the new user rather than staying as the admin user.

2.02: Bug fixes spotted by Cash: Added entity name (shown in the admin view). Also Firefox 3 issues have been fixed (not a css bug, but I wrapped my output in a layout view when it wasn't necessary)

This Works great it does exactly what it is suppose to

Thanks for your work on this

Malaga Jack 390 days ago

Not working on latest svn version :(

Maybe my config is weird :(

Damned 390 days ago

Great Plugin! Worked perfect for me with no problems! This is a feature that should seriously be considered to be implemented in the core. Something that I think everyone will find useful!

kb241 388 days ago

uhhh where do i upload this?

antifmradio 387 days ago

Hi antifmradio, 

All you need to do is to extract the contents of the zip file to the mod folder of your elgg installation. Then you need to enable it in the administration tools section. As described here:

http://docs.elgg.org/wiki/Configuration/Plugins

Regards

Milan

Milan 387 days ago

After enabling this Plugin in admins tools menu i receive the message 'misconfigured plugin' - Any Hint?

Karsten Schulze 387 days ago


Karsten Schulze: The only time that error is displayed is when elgg can't find the start.php file. Could you make sure all the files have been copied to the right location. The plugin (specifically the start.php file) should be in:

  • [Your elgg root folder]/mod/defaultwidgets/start.php

Milan 387 days ago

That's great Milan, thanks for doing the work, it's appreciated.

 

Phil

Phil 380 days ago

Thanks for all your comments...

This module (well a slightly modified version of it) is now included in the full Elgg 1.5 (release candidate). The module included with the 1.5 'rc1' release will NOT be compatible with Elgg 1.2; it includes some minor permissions changes that weren't available in Elgg 1.2

I'll keep this version here for all the people that use Elgg 1.2

If you're reading this and are using Elgg 1.5rc1 (or better) or you've upgraded to the final Elgg 1.5 (when it gets released) then I recommend you use the version included in the full release distribution.

Thanks

Milan

Milan 379 days ago

I got the following problem with this widget.

If i set a default configuration of widegts for new users and these user logged in for the first time, they got every widget doubled.

For Example:

left side: bookmarks and pages

But the user sees: bookmark and pages, bookmark and pages.

 

What did i do wrong?

Datenbock 372 days ago

I'm using the plugin that came with 1.5 when I goto default profile widgets in admin, the page loads but the box is empty. any help would be appreciated.

SeasluG 365 days ago

Seems to possibley be a DB issue. 

I tried the following, Disabling all Plugins.

Enabled File widget, enabled Default widgets.

Open Admin defaul Profile Widgets, Page loads but still nothing in the area where the drag and drop feature should be.

Tried deleting default widgets from mod dir , copy from 1.5 install folder,uninstall reinstall. Still page does not containt the contents to drag the default widgets.

unfortuently, time isnt on my side so i've had to restore to a previous backup.

SeasluG 365 days ago

anyway back to my original reason for comming here, Any chance of someone updating this mod to Lock Positions of Widgets and Prevent user removal of specific widgets ?

SeasluG 365 days ago

I too would be interested in in a development of the widget as SeasluG mentions, and with it being setup to take into account already registered users and not just new users.

Gus-F2C 359 days ago

I got the same problem that Datenbock.

Default widgets configured throw this addon, are shown doubled when a new user enter to the profile/dashboard. They could then erase the doubled widgets but of course is not something that the user gotta do.

Anyone else with this problem has fixed it? any idea?

Thanks in advance.

PD: Searching in data base I've seen that the requiered row to show a widget in user's dashboard/profile is doubled with "default widgets" configured with this plugin. They don't have the same id but are doubled. Why could this happen?

Baddy 359 days ago

To be honest i'm not sure why this is happening. At best guess I'd think it's conflicting with another plugin as I wrote this against a plain vanilla version of Elgg 1.2 with just the plugin's from the full release turned on. 

Have you tried this with your other modules turned off?

Milan 359 days ago

Yep! Thanks for your answer Milan, you were right, the problem was some conflict with another plugin.

In my case the problem is with "Group Admin" plugin ( link ) . When I disabled it, and created a new user, all went ok.

So time to check the code.

I'll tell you if I got something.

Baddy 358 days ago

Dear Milan,

                  I want a plugin ,ie  admin can edit dashboard widgets for existing users. Is it possible with your existing plugin ? Any other plugin is availabe for that? Does your plugin can changed in my need? pls help me..

Kettyking 316 days ago

having an issue with duplicate widgets being shown on new user dashboard and profile. tried reactivating but with no luck ... any ideas ?

madshark 312 days ago

yeah madshark - i completely agree - if you make more than one mod to the settings they append..

Milan, this is a great plugin - but is there any chance you can look at why it appends?

sunirmalya 311 days ago

i think it gets saved in the database thats the reason. but i just cant find the damn settings the elgg db is not very organised ...

madshark 311 days ago

Hi Madshark, sunirmalya... I'm actually on holiday atm (about 6000 miles from my computer). But if you wait a couple of weeks I'll be back and will take a look at it. Although if you figure it out in the mean time that would obviously be great...

Milan 311 days ago

lol sorry to bug you milan ... yup will wait .. ive been trying to look for the settings in the db high and low..if you do come on and remember off hand where the settings get saved do let me look and ill do a dig about and try to find a fix.... have a good holiday :)

madshark 311 days ago

thanks milan, thanks madshark, yeah i had a look and i am having trouble finding it too..

sunirmalya 310 days ago

on my first look - i dont think it is wrong in the database, i think the update is working properly, but i think the problem is displaying the widgets..

sunirmalya 310 days ago