The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[AJAX] Ajax Poll Preview Details »» | |||||||||||||||||||||||||
WORKS WITH 3.6.x to 3.8.x!
DESCRIPTION We're living in a world of AJAX (at least some say so ), 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. 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
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 Code:
PHP Code:
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 Show Your Support
|
Comments |
#32
|
|||
|
|||
helooooooooooo?????????????????????????????????
|
#33
|
||||
|
||||
Sorry, I've been pretty busy.
I tested the addon both on FF3 and IE7 with vb3.7.3PL1, and it worked in both browsers for me. No other hacks installed. May you please provide a link? |
#34
|
||||
|
||||
Old mod bump
Any way I can get the date when the poll was created to display on this preview? |
#35
|
||||
|
||||
Well, I don't see any available variable like $pollstartdate or so. There are only two named $pollenddate or $pollendtime to use in templates.
|
#36
|
|||
|
|||
Works for me in 3.8.3
|
#37
|
|||
|
|||
Also have this working in 3.8.3. Just one request hopefully someone can help me with. When I go to a forum and see the poll icon, I can hover and everything works great. However, when I click on New Posts to retrieve a list of new posts, the popup does not work. I see the link in the status bar and it looks identical as on the threadbit, but no number after the rand= portion of the link.
Anyway, if I could get this to also work for the New Posts view it would be superb. Thanks for any help! |
#38
|
||||
|
||||
Quote:
|
#39
|
|||
|
|||
Still trying to figure out how to get the preview to work the same when you are viewing the New Posts list. Anyone able to help?
|
#40
|
|||
|
|||
Could you please help me get this working in the search_results template? I've added the code but the preview does not work and the URL I'm shown when hovering ends with rand= with no trailing number.
|
#41
|
||||
|
||||
Anyway of getting this to work with other areas of the site, such as Vbadvanced CMPS portal?
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|