Advertisement:

Navigation

SMF Mod Site

Mod Name:
SMF Poll Mod
Created By:
clemenzo
Type:
Feature Enhancement
First Created:
April 14, 2007, 05:17:45 AM
Last Modified:
May 07, 2008, 10:42:27 AM
Latest Version:
1.2
Compatible With:
1.1.2, 1.1.3, 1.1.4, 1.1.5
Total Downloads:
32707

Download this mod

SMF_Poll_Mod_1.1.1.zip (21kB) [1777]
SMF_Poll_Mod_1.2.zip (21kB) [29388]
Manual Install Instructions for SMF

Description:

==== MOD DETAILS ====

Name: SMF Poll Mod
Created by: Clement (Clemenzo)
Main site: http://www.voixbox.com
Development site: http://dev.voixbox.com


==== DESCRIPTION ====

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.


==== REFERENCES ====

TinyPortal
 - http://www.tinyportal.net/index.php?topic=9623.0
 - http://www.tinyportal.net/index.php?topic=9869.0


==== HISTORY ====

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.
 
Version 1.0 Apr 14, 2007
 - Offically released on simplemachines.org.