SimplePortal

Customization => Custom Coding => Topic started by: wancarlo on June 09, 2015, 04:41:26 AM

Title: Custom Post Count
Post by: wancarlo on June 09, 2015, 04:41:26 AM
Hi sorry for starting a topic if its already covered but I couldn't see it in the forum, I am a newbie to using portals etc and was just wondering what I would need to do to the top posters block code to create a new custom block that shows top posters from a specific date as we run competitions on our forum based on post counts for active members but it runs from different dates.

Thanks for any help in advance.
Title: Re: Custom Post Count
Post by: ♦ Ninja ZX-10RR ♦ on June 10, 2015, 07:18:27 PM
Welcome to SimplePortal!

Did you try the "Top Posters" block? It can be weekly and monthly already :) Otherwise you would need to edit your /Sources/PortalBlocks.php file

Regards
Title: Re: Custom Post Count
Post by: wancarlo on June 17, 2015, 08:48:07 AM
Sorry for slow reply :) I am using the monthly stats block at the moment but we run  a competition from august to august (forum birthdays) and need something to count posts between specific dates :) I'll check out the php file and see if I can figure it out but the php stuff is still a bit beyond me lol :)

Thanks for reply though :)
SimplePortal 2.3.8 © 2008-2024, SimplePortal