UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

Useful SQL queries

Mist · ·
9:29 AM Tuesday, 01 April 2014
None
Since EasySocial laks few options we may need i was thinking about opening a discussion here for grouping together all the useful queries we may use in some cases.
Note: These SQL queries should be run inside phpMyAdmin directly inside the targeted database. Use them at your own risk and ALWAYS backup your database before running a custom query

1. Delete all Easy Social user posts for a specific user id

delete from jos_social_stream where actor_id="REPLACE_WITH_USER_ID" and actor_type="user"
delete from jos_social_stream_item where actor_id="REPLACE_WITH_USER_ID" and actor_type="user"

* replace "jos_" with your own table prefix.

Some other queries i need

2. Delete all EasySocial posts older than X days or months
3. Delete all EasySocial notifications older than x days or months
* it would be useful 2 types of queries one for "older then X days" and another one for "older than x months"

Any tip ? Thanks !
The replies under this section are restricted to logged in users or users with an active subscription with us