Hello everyone,
following the many information requests of our customers and friends of this community we have decided to write this topic and we hope that you provide your opinion. Thanks in advance!
The module Boonex Spy allows to see all the actions/news about the members.
PREMISE
We have created an extensions called IBDW SpyWall that uses the default table called bx_spy_data of Boonex Spy to read the news about the profiles.
Well, our module SPYWALL bypasses the news about a content removed (SpyWall not displays the news: ProfileXYZ posted a Video ABCD, if this video is not present still). So our module, excludes the contents removed (this requires time and resource, it's clear but it's not the big problem).
THE ISSUE
Many, many our customers ask to us why this module limits the news to XXXX records (by default 1000).
This is in effect a first problem. Why dont limit to the last week, month, years, etc...
Also, other BIG BIG trouble....if I've in my Spy settings, the Number of records to keep set to 1000 (for example)
and my community is very large, this value is too small. Then I can increase this value, ok, but in the most cases, to have all the news for example of the last month, I must set this value to 1000000. But this can't be considered a value that is a good value for each period (because the number of records needed depends of the number of members and of the numbers of actions of each member, also these two values will increase day by day).
Also, this table could contains many records referred to contents not presents in the site (photos, videos, events).
This is this is a waste of records and also on click we'll see "THIS CONTENT IS NO LONGER AVAILABLE".
What does have information about content that was added, but now no longer exists?????
I want thanks AlexT for the answer: Alex says that Boonex Spy is an history
OK, BUT:
1) Why the history tracks the addition of a content and not the removing?
2) The name Spy it does not suggests a history of actions, but a warning of what happens in the community (but it's a personal opinion)
At this point we ask: WHAT DO YOU THINK??
We think that the delete button of each content (Photos, Videos, Events, Groups, etc..) must delete also the relative records in bx_spy_data (as in the adding of content, the record is added).
So, this change is not expensive because it's needed just a delete query (so, maybe, Boonex Staff could consider to apply it in D7.0.7).
This change have many effects:
- the table is cleared of contents not available (advantage for the DB resources)
- this allows to skip to see pages of contents no longer availables
- also our module has an advantage (just in performance because already this problem is bypassed by spywall, but thanks to a check that is NOT necessary if you apply this change).
Finally, a management of the records via the date of publishing, Wethink can improves the module Boonex Spy.
Sincerily