PDA

View Full Version : Add-On Releases - Default "Make Votes Public" In Polls To Yes


edytwinky
05-26-2012, 10:00 PM
This is a very simple edit in your newpoll template to set your Polls default to "Make Votes Public".

This has been tested in vB 4.2 and works.

In the newpoll template find:
<label for="cb_public"><input type="checkbox" name="public" value="1" id="cb_public" tabindex="1" {vb:raw checked.public}/> {vb:rawphrase make_votes_public}</label><p class="description">{vb:rawphrase make_votes_public_explain}

Replace with:
<label for="cb_public"><input type="checkbox" name="public" value="1" id="cb_public" tabindex="1" {vb:raw checked.public} checked="checked"/> {vb:rawphrase make_votes_public}</label><p class="description">{vb:rawphrase make_votes_public_explain}