Hello,
I spotted a flaw in this great platform elgg, after developing 2 sites I noticed that the database is Cmplex impossible to empty table without making mistakes, the databases are limited so it is mo essential to create a plugin to remove the information from the site, a kind of maintenance of the database. For example for private messages of sites, the wire, message board and other ... to sum it be a plugin that destroy information is a Sytème date more radically comprehensive data entity. I count on the community to develop this point is essential to community development.
DeSolla for spelling errors I'm French
Thank you in advance
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.
- Kevin Jardine@kevin
Kevin Jardine - 0 likes
- blogyturf@blogyturf
blogyturf - 0 likes
- Kevin Jardine@kevin
Kevin Jardine - 0 likes
- blogyturf@blogyturf
blogyturf - 0 likes
- Cash@costelloc
Cash - 0 likes
- blogyturf@blogyturf
blogyturf - 0 likes
- Kevin Jardine@kevin
Kevin Jardine - 0 likes
You must log in to post replies.Hi blogyturf,
You never want to manage an Elgg database directly using something like phpMyAdmin.
Always use the Elgg API.
For example,
$entity->delete();
will delete all records related to an entity, including metadata, annotations and relationships.
The API is pretty simple in most cases.
I do not understand what you mean by API elgg? where is it? how to use it please?
Thank you
blogyturf,
If you just want to run Elgg, then just install it and go.
But if you want to do anything more, you need to read the development docs:
http://docs.elgg.org/wiki/Getting_Started_With_Development
The truth is, I don't look at them much, because I just read the source code, which is well documented.
But you should still start with the above link.
Voila I have read the API cons no evidence to remove items from the database, no plugin ... shame it will severely limit small webmastersa using elgg.
@blogyturf - the API is there to support plugins. You can do anything you want with plugins. Any software that required you to muck around with the database would be a nightmare to maintain.
As an example, there is a guid plugin that allows you to view each object in the elgg database and delete if desired.
ok so I have to learn to create an API to suit my needs ... I am not against but for a turnkey platform as elgg I think it's limits.
Then I have the link to the api guide to see the objetcts and remove them please?
Thank you
Elgg is *not* a turnkey platform.