Subscriber Numbers
Quote from jasonlive on February 16, 2018, 2:50 amHi there. My group are loving the forum software, and it’s increased substantially the people that are getting involved in the website.
A quick question, is there any way of showing the number of people that have subscribed to each thread so I can gauge where the interests of the group are?
Hi there. My group are loving the forum software, and it’s increased substantially the people that are getting involved in the website.
A quick question, is there any way of showing the number of people that have subscribed to each thread so I can gauge where the interests of the group are?
Quote from Asgaros on February 17, 2018, 9:41 pmHello @jasonlive
By default this is not possible. But if you have coding-experience you could write a php-script which checks for every topic-id in the database how many subscribers it has. For the get_users()-query you could use something like this:
$topic_subscribers_query = array( 'meta_query' => array( array( 'key' => 'asgarosforum_subscription_topic', 'value' => $topic_id, 'compare' => '=' ) ) ); $topic_subscribers = get_users($topic_subscribers_query);
Hello @jasonlive
By default this is not possible. But if you have coding-experience you could write a php-script which checks for every topic-id in the database how many subscribers it has. For the get_users()-query you could use something like this:
$topic_subscribers_query = array( 'meta_query' => array( array( 'key' => 'asgarosforum_subscription_topic', 'value' => $topic_id, 'compare' => '=' ) ) ); $topic_subscribers = get_users($topic_subscribers_query);