Jump to content

How to count member posts from a certain forum ID


gajodoporto

Recommended Posts

Hi.

I need to know how to accomplish this for a project. I need a way to count the member posts from a certain forum ID. In the end it should look like this:

Quote

 

"Random member" has:

290 posts *this is his normal total post count

5 posts *this is the post count from forum ID 1

10 posts *this is the posts count from forum ID 2

 

I have been searching for ways to make this work, I have found some applications like the basic points, points economy, and other but all with way to many options and without what I need. Any help with this will be much appreciated.

Thanks

Edited by gajodoporto
Link to comment
Share on other sites

The answer is simple, you need to query the database pretty much like so.

Count posts for member (id) where forum id equals (ID)

Now you will need to create a new app or perhaps just a plug-in to pull the actual data and display it thats the hard part if you don't have any programming skills. Kind of busy today but can get a sample gist up for you in about 24 hours if you don't mind waiting a bit.

Link to comment
Share on other sites

41 minutes ago, PlanetMaster said:

The answer is simple, you need to query the database pretty much like so.

Count posts for member (id) where forum id equals (ID)

Now you will need to create a new app or perhaps just a plug-in to pull the actual data and display it thats the hard part if you don't have any programming skills. Kind of busy today but can get a sample gist up for you in about 24 hours if you don't mind waiting a bit.

Hi, I think I understand what you wrote here, but I dont have those skills to make the plugin or app. If you can write an example I can wait, theres no problem with that. And thanks for the help.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...