Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted April 23, 201113 yr File Name: (SOS31) TOP 20 Popular PostFile Submitter: Adriano FariaFile Submitted: 23 Apr 2011File Updated: 24 Apr 2011File 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
April 23, 201113 yr 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.
April 23, 201113 yr Top 20 posts (I guess, the "s" is missing in a hook name)? How exactly is "posts" popularity established?
April 24, 201113 yr Top 20 posts (I guess, the "s" is missing in a hook name)? How exactly is "posts" popularity established? Reputation
April 24, 201113 yr 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. :)
April 25, 201113 yr 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?
April 25, 201113 yr 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§ion=stats&do=popular" title="{$this->lang->words['top20_popularpost']}">{$this->lang->words['top20_popularpost']}</a>
May 25, 201113 yr 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?
May 25, 201113 yr 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?
November 29, 201113 yr 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.