Fork me on GitHub

comment totals in ezcomments  Bottom

  • Is there a particular piece of code or something I can use to count a users complete post count for EZComments?

    As a secondary part of that question, if I wanted include that under forum comments in pnforum, I need to use something like when I'm in another module, is that right? I'm trying to sync up all of the comment and forum section info and make them uniform.
  • The advProfile module has a plugin that does this. You should download it and take a look in there.
  • Thanks, I will give it a try.
  • Actually, I'm more or less wondering how it is that I use the variables from one module in another if anyone knows the way to do this.

    For example, how could I use this variable from pnforum:

    Code

    <!--[ $post.poster_data.user_posts ]-->

    if I wanted to add it to the existing profile or in EZComments, or anywhere. I know how to get user info from the core I suppose it would be, but it's how to get them from one specific mod to another I'm wondering about, or if it's possible.

    As another example, how would I get the title field ($title) from a Pagesetter pub to display in the EZComments block as the title for the comment instead of the subject of the comment?

    I'm thinking there should be a way to use a small amount of code to just count each users complete EZComments and then display the number...?

This list is based on users active over the last 60 minutes.