Raised This Month: $32 Target: $400
 8% 

[Any] Polling (v0.1, 1/31/2017)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
alerad
Junior Member
Join Date: Mar 2016
Plugin ID:
5508
Plugin Version:
0.1
Plugin Category:
Statistical
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Simple polling system using SQLite.
    Old 01-30-2017 , 22:45   [Any] Polling (v0.1, 1/31/2017)
    Reply With Quote #1

    A simple polling system using SQLite.
    You can add options, delete options and vote options.
    When players connect, if they haven't voted on the poll they'll be prompted with a voting screen. Useful to know what your players want.

    Admin Commands
    sm_addoption/sm_createpolloption I'd like to see skins
    sm_deleteoption/sm_deletepolloption Opens panel with options, the selected one will be deleted WITH NO CONFIRMATION, so be extra careful

    User commands
    Both do the same, they open a panel with all the options, ordered from most votes to less votes and showing the percentage of votes for each option.
    sm_poll
    sm_results

    Just drop polling.smx in addons/plugins.

    The only configuration needed is adding this to /configs/databases.cfg

    HTML Code:
    "polling" {
        "driver" "sqlite"
        "host" "localhost"
        "database" "polling-sqlite"
        "user" "root"
        "pass" ""
    }
    Feel free to pull request at https://github.com/alerad/sm-polling
    Attached Files
    File Type: smx polling.smx (20.8 KB, 291 views)
    File Type: zip polling.zip (70.8 KB, 182 views)

    Last edited by alerad; 01-30-2017 at 22:48.
    alerad is offline
    away000
    Veteran Member
    Join Date: Sep 2010
    Old 02-09-2017 , 04:50   Re: [Any] Polling (v0.1, 1/31/2017)
    Reply With Quote #2

    Can u add that we can configure the time before this pops up?
    __________________
    away000 is offline
    Hekjuh
    AlliedModders Donor
    Join Date: Feb 2011
    Location: Holland
    Old 01-13-2018 , 10:09   Re: [Any] Polling (v0.1, 1/31/2017)
    Reply With Quote #3

    Good idea, was looking for this! Will check it out.
    Hekjuh is offline
    Reply


    Thread Tools
    Display Modes

    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

    Forum Jump


    All times are GMT -4. The time now is 14:25.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode