Jump to content

Rimuovere preferenze utenti inattivi

Featured Replies

In questa guida vi lascio una serie di consigli per ridurre il carico di lavoro svolto dal software.

RIDURRE followers inattivi con mysql, utile per chi ha un server smtp con limitazioni.

#TROVARLI
SELECT m.last_visit,f.follow_app,f.follow_area,f.follow_rel_id, count(*) as counter
FROM ipb_core_follow f
LEFT JOIN ipb_core_members m ON f.follow_member_id=m.member_id
WHERE m.last_visit < UNIX_TIMESTAMP(NOW() - INTERVAL 1 YEAR) 
GROUP BY f.follow_app, f.follow_area, f.follow_rel_id
ORDER BY counter desc

#RIMUOVERLI
DELETE f.* FROM ipb_core_follow f
LEFT JOIN ipb_core_members m ON f.follow_member_id=m.member_id
WHERE m.last_visit < UNIX_TIMESTAMP(NOW() - INTERVAL 1 YEAR) 

 

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. to insert a cookie message.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.