AJAX - Advanced Forum Statistics

  • 主题发起人 golden76
  • 发布时间
G

golden76

普通会员
2008-09-06
21
6
#1
vBulletin Version: 3.7.x
File Edits: 1 (if you want)
New Files: Yes
Template Edits: 0
New Templates: 20
New Phrases: 80
Uses Hooks: 4
Setting: 42
Uses Plugins: Yes
Time to install: 2 minutes max

Features:
This modification includes these statistics


- Top Threads:
  • Random threads with slideshow using attached images in threads
  • Latest Posts with tooltips
  • Most Viewed Threads
  • Latest Forum News
  • Hottest Threads
  • 5 Custom Lastest Posts: Get new topics in specified forums

- Top Members:
  • Newest Members
  • Top Posters
  • Top Thread Starters
  • Top Referrers
  • Top Reputations
  • Top Thanked
  • Top Infractions
  • Top Richest

- Customs:
  • Most Popular Forums
  • Latest Classified Ads
  • Latest Blogs
Install:安装

1. Upload files to your root folder. 上传压缩包内文件夹到VBB根目录.

2. Import XML file via Manage Products 导入产品XML
ACP >> Plugins & Products >> Manage Products >> [Add/Import Product]

3. If you want Guest to see Images in Random Threads, choose one of two ways: 如果你要GUEST也能看到随机附件图片,以下A或B的两种方法任选.

A. (Recommended) Edit attachment.php file. Find line 156: 推荐-编辑ATTACHMENT.PHP
PHP Code:找代码

PHP:
     if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canview']) OR !($forumperms & $vbulletin->bf_ugp_forumpermissions['canviewthreads']) OR !($forumperms & $vbulletin->bf_ugp_forumpermissions['cangetattachment']) OR (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canviewothers']) AND ($attachmentinfo['postuserid'] != $vbulletin->userinfo['userid'] OR $vbulletin->userinfo['userid'] == 0)))


Add Above 在其之上添加以下代码

PHP:
     if(!in_array(strtolower($attachmentinfo['extension']), array('bmp','gif','jpe','jpeg','jpg','png')))


B. Edit Guests' group permission: Can Download Attachments 编辑GUEST/游客 的组权限,让游客可以下载附件.

Live Demo: 在线演示
http://viet-enter.net/diendan/index.php


后台文件尚未翻译

CYB 首页新帖 那个玩意不知道什么关系,用到数据库可以崩溃.这个不知道什么情况.兄弟们试验以下,反馈点情况.谢谢~:mah (chilling):


第一次转东西,有不足之处请大家多提意见.
 

附件

Xiao.T

Xiao.T

管理员
技术员
2008-05-19
6,007
6,531
#2
这插件.前几天安装了.╮(╯_╰)╭ 很失望. 实时查询数据库...大论坛很快就死掉
 
G

golden76

普通会员
2008-09-06
21
6
#3
Xiao.T 说:
这插件.前几天安装了.╮(╯_╰)╭ 很失望. 实时查询数据库...大论坛很快就死掉
比CYB好点,不用整个页面同步一起查询数据,CYB和页面调用时一起查询数据库,试一次死一次.过些事件有能力了要改以下这个东西,建一个新表,专门是NEW THREAD的表.省得去查THREAD的表......不然必死..
 
顶部 底部