• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Most Posts

Most Posts 1.6

No permission to download
Displays a Most Posts sidebar block.

AndyB

Well-known member
#1
AndyB submitted a new resource:

Most Posts - Displays a Most Posts sidebar block.

Description:

Displays a Most Posts sidebar block.

Live example:

http://www.southbayriders.com/forums/

(Example of Most Posts in the sidebar)

View attachment 107036

(Example of Options page)

View attachment 107037

(Example of User Group Permissions)

View attachment 107038

Features:
  • Avatar links to member card.
  • All phrases start with mostposts_ for your convenience.
Installation:
  1. Download...
Read more about this resource...
 

Mark T

Active member
#9
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:

Mark T

Active member
#12
@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)
 

Mark T

Active member
#13
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:

dbembibre

Active member
#14
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: