This mod will rotate 10 colours to the poll bars and allow voting from SSI block on default theme of SMF.
==== INSTRUCTIONS ====
To use for this mod for custom theme, please unzip the mod archive and upload the poll folder and its content to your theme's images folder.
To show a poll in tinyportal block, add a block of type "phpbox" and enter the one of the following:
ssi_showPoll(X); - For a single fixed poll where X is a topic number. random_poll(); - For a random poll from all boards accessible by user. random_poll(Y); - For a random poll from all boards except Y where Y is a board number. random_poll(array(Y, Z)); - For a random poll from all boards except Y, Z where Y and Z are board numbers. random_poll(array(A, B, C), 'include'); - For a random poll from A, B, C where A, B and C are board numbers. Users unable to see board A would still be unable to see the poll from board A.
Version 1.2 May 07, 2008 - Added compatibility with SMF 1.1.5
Version 1.1.1 Nov 18, 2007 - Fixed random poll to exclude expired polls.
Version 1.1 Nov 17, 2007 - Added random poll selection for display - Added logic to ensure users only see polls in accessible boards. - Added flexibility to manually include or exclude poll from selected boards. - Added compatibility with SMF 1.1.4.
Version 1.0.1 Jun 25, 2007 - Added compatibility with SMF 1.1.3.