Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[AJAX] Ajax Poll Preview Details »
[AJAX] Ajax Poll Preview
Mod Version: 0.5.5, by Alphawolf83 (Member) Alphawolf83 is offline
Developer Last Online: Nov 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.x Rating: (3 votes - 4.67 average) Installs: 86
Released: 25 Dec 2007 Last Update: 27 Dec 2007 Downloads: 741
Not Supported Uses Plugins Template Edits Additional Files Translations  

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
  • 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

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

with

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View 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

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	screenshot01.jpg
Views:	1431
Size:	44.2 KB
ID:	73749   Click image for larger version

Name:	screenshot02.gif
Views:	1131
Size:	29.0 KB
ID:	73750   Click image for larger version

Name:	screenshot03.gif
Views:	1849
Size:	39.7 KB
ID:	73751   Click image for larger version

Name:	screenshot04.jpg
Views:	718
Size:	36.7 KB
ID:	73752  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Forum Home Enhancements AJAX - Mouseover Profile Preview ericgtr vBulletin 3.6 Add-ons 376 24 Dec 2010 09:17
New Posting Features AJAX Preview For New Thread / Reply -=Sniper=- vBulletin 3.6 Add-ons 118 24 Jul 2009 15:22
Show Thread Enhancements Ajax Thread (1stPost) Preview 1.5 Gold SkyCatcher vBulletin 3.6 Add-ons 193 07 Aug 2007 17:32

Comments
  #2  
Old 25 Dec 2007, 15:56
bokmade bokmade is offline
 
Join Date: Feb 2002
Real name: Mansour
Install ..

Can You Make One For Thread Preview Just For Admin ..

Thanks ..
Reply With Quote
  #3  
Old 25 Dec 2007, 16:13
Forum Lover Forum Lover is offline
 
Join Date: Jun 2007
Real name: aupurbo
great hack. planning to use it to my new board.
Reply With Quote
  #4  
Old 25 Dec 2007, 18:24
Lionel Lionel is offline
 
Join Date: Dec 2001
Real name: Lionel
very nice!
Reply With Quote
  #5  
Old 25 Dec 2007, 19:04
Alphawolf83's Avatar
Alphawolf83 Alphawolf83 is offline
 
Join Date: Mar 2005
Real name: Oliver
Originally Posted by bokmade View Post
Install ..

Can You Make One For Thread Preview Just For Admin ..

Thanks ..
Why, if I may ask? You can use the vbulletin permission system to deny certain usergroups to view thread content / poll results.
Reply With Quote
  #6  
Old 25 Dec 2007, 19:30
Magnumutz's Avatar
Magnumutz Magnumutz is offline
 
Join Date: Feb 2006
Real name: Alex
Nice mod dude, good job !
Installed.
__________________

Reply With Quote
  #7  
Old 25 Dec 2007, 19:32
yahoooh yahoooh is offline
 
Join Date: Oct 2002
nice addon
Reply With Quote
  #8  
Old 25 Dec 2007, 20:51
SwollenCranium's Avatar
SwollenCranium SwollenCranium is offline
 
Join Date: Oct 2007
Location: Raleigh, NC
The following error occurred when attempting to evaluate this template:
The conditional on line 18 appears to be missing its beginning tag (<if>). This may cause unexpected behavior.
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.



I get the above error .. repeatedly.


**** Corrected *****

User head space and timing error.

Last edited by SwollenCranium; 25 Dec 2007 at 21:32.
Reply With Quote
  #9  
Old 25 Dec 2007, 21:41
SwollenCranium's Avatar
SwollenCranium SwollenCranium is offline
 
Join Date: Oct 2007
Location: Raleigh, NC
While using IE as an unregistered user I can not get the Ajax poll to auto populate. Also is it suppose to dynamically update ? Because I only see new poll results when I refresh the page.

Works fine in FF though.
Reply With Quote
  #10  
Old 25 Dec 2007, 23:59
FleaBag's Avatar
FleaBag FleaBag is offline
 
Join Date: Dec 2001
Great hack, thanks for sharing.
__________________
AndroidETC.com :: Android, and other stuff.
Reply With Quote
  #11  
Old 26 Dec 2007, 11:44
bokmade bokmade is offline
 
Join Date: Feb 2002
Real name: Mansour
Cool

Originally Posted by Alphawolf83 View Post
Why, if I may ask? You can use the vbulletin permission system to deny certain usergroups to view thread content / poll results.
No I'm Looking for Ajax thread Preview mod and just the admin can used this function ..
Reply With Quote
  #12  
Old 26 Dec 2007, 13:04
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
yeah looking forward to vbulletin implementing new and useful ajax ways to save bandwidth. Thanks.
Reply With Quote
  #13  
Old 26 Dec 2007, 14:26
Alphawolf83's Avatar
Alphawolf83 Alphawolf83 is offline
 
Join Date: Mar 2005
Real name: Oliver
Originally Posted by SwollenCranium View Post
The following error occurred when attempting to evaluate this template:
The conditional on line 18 appears to be missing its beginning tag (<if>). This may cause unexpected behavior.
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.


I get the above error .. repeatedly.

**** Corrected *****

User head space and timing error.
What vb version are you running? And when does the error appear? I am using the hack on 2 productive boards and didnt get any error messages yet...

Originally Posted by SwollenCranium View Post
While using IE as an unregistered user I can not get the Ajax poll to auto populate. Also is it suppose to dynamically update ? Because I only see new poll results when I refresh the page.

Works fine in FF though.
Well, I tested it and works fine in IE7 on vb3.7.0B3 as a guest. Can I have a link?

Originally Posted by bokmade View Post
No I'm Looking for Ajax thread Preview mod and just the admin can used this function ..
Well, I thought there's such a hack already, which pops up the first (or last) post of a thread using AJAX. A forum search might help.
Reply With Quote
  #14  
Old 26 Dec 2007, 20:05
SwollenCranium's Avatar
SwollenCranium SwollenCranium is offline
 
Join Date: Oct 2007
Location: Raleigh, NC
Originally Posted by Alphawolf83 View Post
What vb version are you running? And when does the error appear? I am using the hack on 2 productive boards and didnt get any error messages yet...


Well, I tested it and works fine in IE7 on vb3.7.0B3 as a guest. Can I have a link?

I'm running 3.7 beta 3.

I fixed the if tag issue.

But still get the white page in IE.

And this is the ERROR I get ---> Here.

This is the actual forum display link ---> here


I've had 14 different users confirm my error with IE. Works EVERY time for a registered user, but almost never for an unregistered first time viewer using IE.

After clearing cookies on my IE, I am even able to reproduce this effect in about 75% of my tries.




**********
I may be crazy but having unregistered access to some features is vital in building a member base. There are problems with Vbulletin and Vblog with unregistered users, I've already listed them in the bug section.

Last edited by SwollenCranium; 26 Dec 2007 at 20:10.
Reply With Quote
  #15  
Old 27 Dec 2007, 09:55
Sofia Sofia is offline
 
Join Date: Oct 2006
Real name: Sofia
nice hack Thanks a lot
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 21:38.

Layout Options | Width: Wide Color: