1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Post Areas 1.4.3

Shows a user's post and thread count for each forum on the user profile page.

  1. Thomas.B

    Thomas.B Well-Known Member

    mvk submitted a new resource:

    Post Areas - Shows a user's post count for each forum on the user profile page.

    Read more about this resource...
     
  2. pecadm

    pecadm Member

    Nice little add-on ;)

    Would it be possible to
    1. honor the node view permissions ? Currently the normal members can see how many posts the admins and mods have in their restricted areas.
    2. link the forums ?
     
  3. Thomas.B

    Thomas.B Well-Known Member

    Yes. that should be possible. I'm going to implement it as soon as I've enough time...
     
    Last edited: Mar 29, 2015
    karll and pecadm like this.
  4. Thomas.B

    Thomas.B Well-Known Member

    maszd and pecadm like this.
  5. TMC

    TMC Active Member

    One another suggestion; Is it possible to make it so that clicking post count will search user's messages in that forum? i.e. clicking post count of "general" will show results of users messages in "general", "other" will search "other" category etc...
     
    Thomas.B and pecadm like this.
  6. Thomas.B

    Thomas.B Well-Known Member

    Yep, I've planned to implement this in the next release.
     
    pecadm likes this.
  7. pecadm

    pecadm Member

    And another suggestion: instead of separate phrases for forums ("awedo_post_areas_forum") and posts ("awedo_post_areas_posts") the XF standard phrases could be used ("forums" and "posts").
     
    Thomas.B likes this.
  8. Thomas.B

    Thomas.B Well-Known Member

    Yeah, that makes of course much more sense.. ^^
     
  9. maxicep

    maxicep Active Member

    @mvk How your plugin count posts of areas ? With instant query or saved datas from mysql ? If we install plugin, then we need run any cronjob for count them ?
     
  10. Thomas.B

    Thomas.B Well-Known Member

    Nope, there is no need to run any cron job. In the current version on each view of a profile page the post counts are fetched with one DB query.
     
  11. Thomas.B

    Thomas.B Well-Known Member

    mvk updated Post Areas with a new update entry:

    A few improvements

    Read the rest of this update entry...
     
  12. sbj

    sbj Well-Known Member

    I am testing this add-on right now. For the future, it would be great if you could put the add-on files in to upload/library/Awedo.
     
    Thomas.B likes this.
  13. Thomas.B

    Thomas.B Well-Known Member

  14. Thomas.B

    Thomas.B Well-Known Member

    Sorry, that wasn't on purpose. I've just uploaded a repacked version.
     
    sbj likes this.
  15. Thomas.B

    Thomas.B Well-Known Member

  16. Verringer

    Verringer Active Member

    A better look for this addon (imo), shove this in your extra.css:

    Code:
    #PostAreas table {
      width: 50%;
      margin: 0 auto;
    }
    
    #PostAreas td {
    padding: 5px;
    }
    
    #PostAreas .header {
      background-color: #FBFBFB; /* Set this to your forums background colour, this is my forums. */
    }
    
    #PostAreas tr:nth-child(odd) {
      background-color: #EFEFEF;
    }
    
    #PostAreas tr:nth-child(even) {
      background-color: #E2E2E2;
    }
    
    #PostAreas td.postAreas {
      padding-left: 25px;
      text-align: center;
    }

    Will make it look like:
    [​IMG]
     
    Veer, Thomas.B and sbj like this.
  17. zoldos

    zoldos Well-Known Member

    Will they still be clickable?
     
  18. zoldos

    zoldos Well-Known Member

    Great mod BTW! Works perfectly!
     
  19. Verringer

    Verringer Active Member

    Yup, might want to change the colours to fit your forum a little better though.
     
  20. sbj

    sbj Well-Known Member

    In my case the whole table is centered. How can I put it to the left?
     

Share This Page