Jump to content

Download: (SOS31) TOP 20 Popular Post


Adriano Faria

Recommended Posts

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

Link to comment
Share on other sites


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.

:)
Link to comment
Share on other sites

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>

Link to comment
Share on other sites

  • 5 weeks later...
  • 6 months later...

Archived

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

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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