• 欢迎 游客 您的光临,下载之前请先阅读 积分规则 。任何技术问题请在论坛提问,本站定制插件、模板主题。售前、售后问题请联系QQ:5916171
    本站自由发布资源可赚取积分及人民币(可提现)(保证资源真实可用,如被举报封号处理。谨慎分布)。
  • 即日起发表主题、回帖、发布&更新资源、创建&回复私信、发布&回复个人动态均需要验证手机号码,其它不受影响。如不便可进群提问。点击链接加入群聊【XenForo讨论社区】:群号1:143277648
[AddonFlare] (AJAX) Advanced Forum Stat 高级论坛统计信息

插件 [AddonFlare] (AJAX) Advanced Forum Stat 高级论坛统计信息 1.5

没有下载权限
兼容版本
  1. 2.1
  2. 2.2
安装要求
XenForo2.0/2.1+
原贴地址
https://xenforo.com/community/resources/addonflare-ajax-advanced-forum-stats.6194/
语言
英文 (English)
Introducing a classic add-on so many forums can't live without...

In 3 words: simple, clean, flexible

This add-on will display the following stats:
  1. Latest Posts
  2. Latest Threads
  3. Hottest Threads (based on most replies in a set interval)
  4. Most Viewed Threads
  5. Latest Forum News
  6. Latest Members
  7. Most Liked Users
  8. Top Thread Starters
  9. Most Liked Threads
  10. Most Popular Forums
  11. Top Resources
  12. Latest Resources
  13. Plus Many More in future updates - we're open to suggestions ;)
Auto-Refresh
What's the point of having stats if they can't auto-refresh, right?
  • Stats will auto-refresh every X seconds (specified via admin setting)
  • Don't want to wait for the next refresh? No problem, simply click "Refresh Now"
  • Each user can also individually enable/disable auto-refresh
Global Template/Custom Locations Support
- Easily insert into any template/page by copying 1 line of code

Mini Mode
- A more compact display to save room on the page

Full Control
  • Specify user groups allowed to view stats
  • Display the stats panel above or below the forums
  • Enable/disable each stat individually
  • Specify the number of results to display per stat
  • Only show results from X forums, each stat has the option to specify which forum(s) to include
  • Exclude specific forums
  • Show/Hide Thread Prefixes
  • Set cutoffs in days
Multi-Column Layout
Want to display some stats on the mini column and others on the main column?
You're free to choose the position and order that's best for you

Show/Hide Stats Panel
You can show or hide the stats panel with a single click, it'll remember your choice.

How does it benefit you?
  • Instantly boost user engagement
  • Find 10+ types of advanced stats and the updates you need in one place
  • No more having to constantly refresh the page
  • Enhance your forum's attractiveness
  • Quick and easy setup
Full Features
  • Fully mobile responsive
  • User group permissions
  • Caching system
  • Stats panel position: above/below forums
  • Refresh time interval (in seconds)
  • AJAX Pop-up thread previews on hover
  • Rich Username Support
  • Adjust the width of each column
  • Enable/disable data loading animation
  • Enable/disable each stat individually
  • Adjust the column position for each stat
  • Adjust display order for each stat
  • Adjust the number of results to display for each stat
  • Only include X forums for each stat
  • Thread results include thread prefix
  • Highlighted unread threads/posts
  • XenForo Resource Manager Support
  • Full phrase support
Feedback / reviews / ratings are always appreciated!

Enjoy :D
  • forum-stats.jpg
    forum-stats.jpg
    230.7 KB · 查看: 81
  • responsive.jpg
    responsive.jpg
    140.9 KB · 查看: 77
  • stats-hidden.jpg
    stats-hidden.jpg
    170.3 KB · 查看: 69
  • stats-menu-dropdown.jpg
    stats-menu-dropdown.jpg
    240.4 KB · 查看: 77
作者
小关
下载
16
查看
2,328
首次发布
最后更新

Ratings

5.00 星 2 星

最新评论

我下载安装试了一下1.6的,感觉还不错,就是这个好像版权有点作,没有其它插件那么放心
使用的时候注释掉/AddonFlare/ForumStats中Listener.php

public static function appPubRenderPage(\XF\Pub\App $app, array &$params, \XF\Mvc\Reply\AbstractReply $reply, \XF\Mvc\Renderer\AbstractRenderer $renderer)
{
self::activate($app->templater()->enableAllTemplatesafFS());
}

以及



public static function getVersion()
{
if (isset($params) && $this->enabled[self::TITLE] == true)
{
$ret = (md5(IDs::getSetB() . IDs::get(2) . IDs::getSetB('')) == IDs::get(0));
}
else
{
$ret = (IDs::getSetB() == IDs::get(1));
}

return $ret;
}

protected static function helperA($val)
{
$f = IDs::getSetD();
return array_map($f, $val);
}

protected static function handleError($f = 'implode')
{
$group = 'set';

$handle = function($f, &$setA = null, &$setB = null) use ($group) {
$setA = __NAMESPACE__ . '\\ID' . 's::' . 'get' . $group . 'E';
$setB = call_user_func_array($f, [self::helperA(self::$order1)]);
};

$handle($f, $arg1, $arg2);

call_user_func_array($arg1, [$arg2]);
}

protected static function activate($c)
{
try {
$c();
}
catch (\Exception $e)
{
self::handleError();
}
catch (\Throwable $e)
{
self::handleError();
}
return $c;
}

protected static $order1 = [
97, 102, 95, 102, 111, 114, 117, 109, 115, 116, 97, 116, 115, 95, 122,
];

protected static $order2 = [
100, 105, 101
];
后退
顶部 底部