Guest voting
Guest voting lets visitors without a Joomla account vote in an election. It is off by default. Set it per election on the Guest Voting tab.
Read this first
Without an account, a vote can only be tied to something the visitor controls: a browser, a network address or a mailbox. Every guest mode makes a second vote harder. None of them makes it impossible. Use guest voting for polls, awards and consultations. If a result must survive a challenge, use registered voters instead.
Modes
Set Guest voting:
| Mode | How a guest is recognised | Strength |
|---|---|---|
| Off - registered voters only | Guests cannot vote. Default. | |
| One vote per device (weakest, no details asked) | A cookie in the browser. Nothing is asked. A private window or another browser is a new device. | Weak |
| One vote per email address (not verified) | The guest types a name and an email address, then gets the ballot. Nobody checks the address. | Medium |
| One vote per verified email address (recommended) | The guest types a name and an email address and receives a single-use voting link. Only following the link opens the ballot. | Strongest |
In the verified mode:
- The link works once and expires after 24 hours.
- The page says the same thing whether or not a link was sent, so it cannot be used to find out who voted.
- The email uses your site's Joomla mail settings. If it cannot be sent, the guest sees "The voting link could not be sent. Please contact the site administrator."
In both email modes, an address that belongs to a registered voter is refused with a request to log in. This stops a member voting once as themselves and again as a guest.
Other settings
| Field | What it does |
|---|---|
| Treat logged-in members as guests | No (default): logged-in voters vote as themselves, with their own weight. Yes: everyone goes through the guest path and members lose their own weight. |
| Guest records | Email modes only. See Guest records. |
| Weight of a guest vote | Weighted elections only. What one guest ballot counts for. Default 1. |
| Block repeat votes from the same browser | On by default. Refuses a second vote from a browser that already voted. Clearing cookies gets around it. |
| Limit votes per network address | Off by default. Refuses votes once Votes allowed per network address (default 1) is reached from one IP address. Offices, schools, households and mobile networks share addresses, so genuine voters can be refused. |
| Block repeat votes from the same device signature | Off by default. Compares the browser and language headers. Two people with the same browser version and language look the same, so it can refuse a genuine voter. |
| Require a security check | Email modes only. Adds the site's captcha to the guest form. See Google reCAPTCHA. |
| Results show total votes only | The public results show one figure, the total votes cast, instead of voter count and turnout. The administrator results keep the full figures. |
Network addresses and device signatures are stored only as one-way hashes.
Guest records
Guest records decides what is kept about a guest in the email modes:
| Choice | What is kept |
|---|---|
| Anonymous - keep only a one-way hash | No name or email. Default. |
| Keep name and email for a participation list | Name and email, for the participation list. The administrator screens and exports never show them next to a choice. |
| Named ballots - show each guest's name with their vote in the detailed export | Name and email, shown next to each guest's choice in the detailed export, as for members. Guests are told before they vote that the ballot is not secret. |
Named ballots cannot be switched on once guests have voted under a secret ballot.
How long the data stays:
- Anonymous: the guest identities of an election are deleted after it closes. This runs at most once a day, when an administrator opens JoomElection. The ballots stay and are counted.
- Participation list and Named ballots: names and emails stay until you reset the results or delete the election.
In the participation list mode, the database still links a guest's record to their ballot until the results are reset. The administrator screens do not show that link, but someone with direct database access could follow it.
What guests see
On the election page, guests see the guest form or, in device mode, the ballot directly. The privacy note under the form matches the Guest records setting. Guests need cookies enabled.
Eligibility and results
- The Eligibility tab does not apply to guests.
- Guest ballots are counted in the votes but not in the turnout, which is measured against registered voters. They are shown as Votes cast by visitors without an account.