This is one of the most frequently unanswered questions with Elgg users. I’ve seen it numerous times in the various Elgg support venues, and I have been asked many times.
The short answer is that within the Elgg user and administrative interfaces, there is no way. If I am wrong, please correct me. The only approach that I have found is to delete it in the database. Access phpMyAdmin through your cpanel or whatever other way you may have to access your database.
Find elgggroup_entity and select the browse button.
Select the red X to delete the group. That’s it, the group is gone from the user interface. I honestly don’t know if remnants remain in other tables. Hopefully the garbage collector will deal with that.
This is the only answer that I have found. If someone has a better solution, let me know. Hopefully, over time, this will be built into the interface.
Related Posts
-
Hi Steve, on a similar, but different note…
I’ve been trying to develop a Reviews plugin, based on Webgalli’s Classifieds plugin.
I went through all his code to change ‘ad’ to ‘review’ and thought I’d try initialising it at that stage, before I went ahead and changed other things like form fields, categories etc.
I tested it by entering a ‘review’ but the form still had an input field for ‘price’ which I intended to change to ‘rating’.
All was working fine, then I changed ‘price’ to ‘rating’ in the code but unfortunately, it has not updated. It does not recognise any input for rating and displays the label price by my test Review.
I have deleted the review, using the delete facility in the plugin and reentered it but it still says ‘price’.
I can only assume there’s some metadata or entity associated with the plugin and think I may have to go direct to the database to sort this.
Have you any ideas on how to fix this or if there’s an easier way?
Hope you can help! Was hoping to submit the plugin to the Elgg community when it’s done!
Many thanks
Sean
-
I think a reviews or rating functionality would be great. I’ve been pondering how it might be done, but I haven’t the time at the moment. Trying to bundle up a mods and hacks of various FOSS Web 2.0 server apps for a conference.
I haven’t worked with the Classified plugin at all as my goals are K12 education.
Artfolio has a great rating system ratings system built into the mod. I was thinking along the lines of ratings built into individual plugins as you wouldn’t necessarily want them to work with all.
-
@Steve … What happens to pages and files created within a given site. Do these then drop back under the original author or do they go out with the bathwater?
-
@magesh … if you are planning to go for this, include the ability to strip objects appearing in a given group and send them back to their original authors.
In the db you will notice that the elggentities table includes a column for “containerGUID”. It appears that among other things, this identifies an object authored by a given GUID to be associated with a groupGUID.
I would guess that you could return stranded objects to their owners profile pages by querying the elggentities table and dropping the GUID of the group to be deleted from every object listing this in their containerGUID column.
-
Here’s a handy plugin:
http://community.elgg.org/pg/plugins/tomas/read/10539/group-contact-list




10 comments
Comments feed for this article
Trackback link: http://openedweb.com/blog/2008/11/11/how-to-delete-groups-in-elgg/trackback/