Jump to content

Download: (SOS31) TOP 20 Popular Post


Adriano Faria

Recommended Posts

Posted

File Name: (SOS31) TOP 20 Popular Post
File Submitter: Adriano Faria
File Submitted: 23 Apr 2011
File Updated: 24 Apr 2011
File Category: Hooks and Plugins

This hook will add a link to a new statistic of your board: TOP 20 Popular Post. This new link will appear beside Today's top 20 posters in board index. The list of popular post will list only topics/posts that the user has permission to read.

Click here to download this file

Posted

The link doesn´t work for the post in question.

On the page the links go to xxxxx.com/forum/t/11587-{info[
And not the post itself. Same for the link to the Topic.

Other than that, I must say this hook fits my forum 101%.
Great hook for me.

Posted

The link doesn´t work for the post in question.



On the page the links go to xxxxx.com/forum/t/11587-{info[


And not the post itself. Same for the link to the Topic.



Other than that, I must say this hook fits my forum 101%.


Great hook for me.






Found the bug.



the $ is missing in front of "info"s on the "seo_title" field.



Yeap, forgot a $ in a link! :)

File reuploaded and version kept since it is more like a typo than a bug.

:)
Posted

The hook searchs for a text in board index ( {$this->lang->words['sm_today_posters']}</a></li> )... if the author of your customized skin made it different, hook won't create the link. You'll need to create manually the link in boardIndexTemplate, in stats bar:

<a href="{$this->settings['board_url']}/index.php?app=forums&module=extras&section=stats&do=popular" title="{$this->lang->words['top20_popularpost']}">{$this->lang->words['top20_popularpost']}</a>

  • 5 weeks later...
Posted

No. It shows a top of post most 'repped'.




Right, is there no way to limit is to the most 'repped' in the last 24 hours?

Just looking through the XML file, maybe it'd be possible to change the sql query in someway to only pull for the last 24 hours?
  • 6 months later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...