-
Deleting groups appears under their future road map.
-
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.
-
I just went in to elggentities and removed them by ID#.. worked like a charm..
-
This functionality will be included in the next version of Elgg (1.5).
Deleting groups in the way described in the initial post can easily leave fragments in the database (group content without a container) and can result in an unstable, crashing site. So I wouldn’t advise it!




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