Jump to content
Sign in to follow this  
BomAle

Conteggio globale dei messaggi privati per utente

Recommended Posts

BomAle
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.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Crea Nuovo...

Important Information

By using this site, you agree to our Terms of Use.