Jump to content

Download: (SOS31) TOP 20 Popular Post

Featured Replies

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

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.

Top 20 posts (I guess, the "s" is missing in a hook name)?
How exactly is "posts" popularity established?


Top 20 posts (I guess, the "s" is missing in a hook name)?


How exactly is "posts" popularity established?




Reputation

Ahhh...not using that...thanks :)

  • Author

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.

:)

I installed the hook, but it only seems to appear if I use the default IPB skin. Any way to make it appear in other skins?

  • Author

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...

I assume this shows the most popular post of all time? Is it possible to do just the most popular for the last 24 hours?

  • Author

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


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?

would be cool if that function was in.

  • 6 months later...

Is a 3.2 compatible version planned ? :)

  • Author

I'll update it asap.

thanks :)

  • Author

Updated: http://community.invisionpower.com/files/file/5019-sos32-top-20-popular-post/

Archived

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

Recently Browsing 0

  • No registered users viewing this page.