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

Most Posts 1.6

Displays a Most Posts sidebar block.

  1. AndyB

    AndyB Well-Known Member

    AndyB submitted a new resource:

    Most Posts - Displays a Most Posts sidebar block.

    Read more about this resource...
     
  2. AndyB

    AndyB Well-Known Member

  3. AndyB

    AndyB Well-Known Member

  4. Sygne

    Sygne Member

    It seems the .css file is missing. "andy_mostposts.css"
     
  5. AndyB

    AndyB Well-Known Member

  6. AndyB

    AndyB Well-Known Member

  7. popr

    popr Active Member

    I like this.. Would it be possible to exclude (or include) only certain forums in the post count?
     
  8. king8084

    king8084 Active Member

    i wish this was possible without the use of another mod @AndyB
     
    maszd likes this.
  9. Mark T

    Mark T Active Member

    Andy, I am giving this addon a try along with Sidebar Positions.


    The results on the forum home block where it shows the user icons with the number, one of the last ones shown is not a member and acts strangely when hovered.



    (edited to correct myself as I found the phrases for the block title.)
     
    Last edited: Jun 27, 2016
  10. AndyB

    AndyB Well-Known Member

  11. AndyB

    AndyB Well-Known Member

  12. Mark T

    Mark T Active Member

    @AndyB

    Really like this addon.

    Do you have a suggestion on how I can modify the query to pass over any member in the banned status?

    Otherwise this and most likes are awsome!
    (my most likes modified to represent most ratings instead now)
     
  13. Mark T

    Mark T Active Member

    Figured it out. Feel free to integrate.

    First find in /library/Andy/MostPosts/ControllerPublic/Forum.php
    Code:
    WHERE xf_post.post_date >= ?
    And change it to look like the following
    Code:
    WHERE xf_post.post_date >= ? AND is_banned = 0
    Upload and see the banned no more. :)

    (also works for Most Likes)
     
    Last edited: Feb 27, 2017
  14. dbembibre

    dbembibre Active Member

    Andy thanks for this fantastic add-on (and the most likes too), i use memcache and DragonByte Optimise, any way to move to the cache the query that the add-on do ?

    Maybe is posible add a time to live option in most posts and most likes ACP option page, move the query execution to cron and put the result (for example every hour) in the xenforo registry ?


    Excuse my broken English

    Thanks a lot
     
    Last edited: Mar 28, 2017
  15. Am I correct in assuming that there isn't a way for this to work with Widget Framework?
     

Share This Page