92An Warez Forum

商业资源,站长论坛,vBulletin中文非官方站长交流站-"互联网只有分享才有进步"

 

[AJAX] Ajax Poll Preview 0.5.5

你看到的是 vBulletin 3.7.X 英文插件 版面中的一个主题 [AJAX] Ajax Poll Preview 0.5.5, 一级版面 vBulletin 3.7.X 专版 ;


返回   92An.CoM 站长论坛 > vBulletin 3.7.X 专版 > vBulletin 3.7.X 英文插件
注册账号 论坛规则 论坛帮助 日历事件 搜索 今日新帖 标记版面已读

通知

发表新主题  回复

 

主题工具

[AJAX] Ajax Poll Preview 0.5.5 详细 »»

[AJAX] Ajax Poll Preview 0.5.5
版本: , by Xiao.T (92AN-站长) Xiao.T 当前离线
开发者上次在线: Dec 2008 显示可打印版本 邮寄本页给好友

分类: [3.7.X] 版本: 未知 评分:
释出: 2008-04-13 上次更新: 从未 安装: 0
 
没有作者支持.

DESCRIPTION

We're living in a world of AJAX (at least some say so Click the image to open in full size.), so why not minimize traffic by using AJAX technology? That's why I made this little hack for vbulletin (upon a request of a fellow mod on another forum).

So what this hack does is to display the poll results by hovering the thread poll icon in FORUMDISPLAY view (see screenshot), so you dont have to view the entire thread (and all its graphics and stuff) when you're just wanting to view the current poll results, and with this save forum traffic (though, granted, it's not that much). The hack uses the great jQuery javascript library and the modification jTip by Cody Lindley, which I've modified for proper vbulletin use (especially layout issues).

It uses every forum's custom style, so it'll look like it was made for your vbulletin. Click the image to open in full size.

The hack has been tested on 3.7.0B3 and 3.6.8, but should work on 3.5.x aswell.

STATISTICS

File Uploads: 5
File Changes: 0
Template Changes: 1
Products to Install: 1
Time to Install: ~ 2 minutes


FEATURES
  • Configuration Options in the AdminCP
    • Enable the Inline Poll Preview Plugin? (bool)
    • Tooltip Width (int)
  • Uses AJAX technology, so no extra query on any page
  • Uses vbulletin's permission system

INSTALLATION

- Upload files from the upload folder
- Import the product via ACP > Manage Products > Import
- Do the template change (can also be found within the ZIP file!)

In threadbit template replace
PHP 代码:
<if condition="$show['threadicon']"><img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" /><else />&nbsp;</if> 
with
PHP 代码:
<if condition="$show['threadicon']"
    <if 
condition="($vboptions[enable_inlinepollpreview]==TRUE) AND $thread['pollid']"
        <
a href="pollinline.php?width=$vboptions[tipwidth_inlinepollpreview]&threadid=$thread[realthreadid]&rand={$pollprevrand}" class="jTip" id="pollpreview$thread[realthreadid]" name="$thread[threadtitle]" onclick="return false;"><img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" /></a
    <else /> 
        <
img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" /> 
    </if> 
<else /> 
    &
nbsp
</if> 
CONFIGURATION

Note that by default (after installation) the hack in disabled! Go to the options page to enable and configure it.


The (yet) few configuration options shouldnt be hard to understand so no further info here. If someone has any questions (or suggestions), the hack is supported by myself. Just reply here.


SCREENSHOTS

1.) The options panel.
2.) Poll Preview on another forum layout.
3.) Permission message when the user doesnt have the rights to view thread's contents.
4.) Poll Preview in FORUMDISPLAY view.

VERSION HISTORY

0.5.5
- Fixed issue on vb3.7.0B3 with unregistered users using Internet Explorer
- Added some additional template caching
- Fixed issue when users were able to click the poll icon link and got a white results page

0.5.0
- Initial Release of Ajax Poll Preview

现在下载

文件类型: rar os_inlinepollpreview_0_5_5.rar (142.7 KB, 3 次查看)

缩略图

文件类型: jpg Ajax Poll Preview01.jpg (44.2 KB, 4 次查看)
文件类型: gif Ajax Poll Preview02.gif (29.0 KB, 3 次查看)
文件类型: gif Ajax Poll Preview03.gif (39.7 KB, 6 次查看)
文件类型: jpg Ajax Poll Preview04.jpg (36.7 KB, 3 次查看)

显示你的支持

  • 本插件没有作者的许可,不得自行销售或者另行发布.

相似插件

版主管理 资源发布者 类型 回复 最后发表
[AJAX] SmnLikQuick v2.0.1 - Advanced Announcements Block Xiao.T vBulletin 3.7.X 英文插件 0 15:31 2008-04-05
SAPR: Advanced Post Rating system (ajax)1.0.0 b2 Xiao.T vBulletin 3.7.X 英文插件 0 16:13 2008-04-05
AJAX Invisible Mode Switch 1.0.1 Xiao.T vBulletin 3.7.X 英文插件 0 16:33 2008-04-05

Powered by vBulletin® 版本 3.8.0 Release Candidate 1
版权所有 ©2000 - 2008,Jelsoft Enterprises Ltd.
92An 国外源码社区& 92AN Network Studio
CopyRights Reserved © 2008-2009 92AN.COM