Jump to content

Conteggio globale dei messaggi privati per utente


BomAle

Recommended Posts

SELECT map_user_id, count( * ) AS totale, m.members_display_name, g.g_titleFROM `ibf_message_topic_user_map` mapLEFT JOIN ibf_members m ON ( map.map_user_id = m.member_id )LEFT JOIN ibf_groups g ON ( g.g_id = m.member_group_id )WHERE map_user_active =1AND map_is_system =0AND map_user_banned =0GROUP BY map_user_idORDER BY count( * ) DESC 

con questa query è possibile avere una lista di valori che individuano la quantità dei messaggi privati di ogni singolo utente.

 

Vi permette di monitorare la quantità dei messaggi privati e alzare i parametri del gruppo di corrispondenza una volta che si passa ad un piano hosting più performante.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

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.