Jump to content
Sign in to follow this  

Conteggio globale dei messaggi privati per utente

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.


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.

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.

Sign in to follow this  

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