Thread: Miscellaneous Hacks - Sidebar Poll
View Single Post
  #68  
Old 26 Sep 2013, 11:27
valdet's Avatar
valdet valdet is offline
 
Join Date: Feb 2007
Real name: Valdet
Just an update for those who had troubles with polls not submitting in pages other than index.
I made a fairly simple workaround, so you can show the polls in other pages and the voting works correctly.

In vB options, you need to set the polls to show on Index, choose the ThreadID option.
The fix is in the plugin Sidebar Poll Include and this simple replacement does the trick.

Find this (Line 3):

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

Replace it with:

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

You may change THIS_SCRIPT locations as you wish.

Hope that helps.
Val.

Last edited by valdet; 18 Oct 2013 at 13:15.
Reply With Quote