Lecteur Markdown
Polls Documentation En
Feature: Polls #
Opinion polling system with multilingual support, vote tracking by IP address, results displayed as progress bars and archiving of past polls.
Opinion polling system with multilingual support, vote tracking by IP address, results displayed as progress bars and archiving of past polls.
Via FTP: Upload the polls/ directory into /plugins/.
Via package manager: Select polls from the available plugins list.
Paths:
/plugins/polls/polls.php/plugins/polls/conf/polls.conf.inc.php/plugins/polls/locale/Configuration parameters (polls.conf.inc.php):
| Variable | Default | Description |
|---|---|---|
| $basedatadisplay | 'yes' | Display in management interface |
| $basedisplevel | BASE_LEVEL_MODERATOR | Level to create/manage polls |
Required SQL tables: poll, poll_setup, poll_reference_i18n
Exposed utility functions:
polls_getAvailableLanguages() — available languagespolls_getCurrentLanguage() — current languagepolls_getI18n(int $poll_id, string $lang) — poll translation?obj=polls.php — Active poll
?obj=polls.php&vote=OPTION_ID — Vote (GET)
?obj=polls.php&results=1 — Results
?obj=polls.php&previous=1 — Previous polls
Beamreactor\Database\SQLBeamreactor\Sanitizer\Parser