Jump to content


Welcome to DevFuse Forums


Sign In  Log in with Facebook

Create Account
Welcome to DevFuse Forums, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of DevFuse Forums by signing in or creating an account.
  • Start new topics and reply to others
  • Subscribe to topics and forums to get email updates
  • Get your own profile page and make new friends
  • Send personal messages to other members.
 
Guest Message by DevFuse

(View All Products)Featured Products

Donation Tracker


Help fund your forum with donations, setup goals and track member donations. Offer rewards for members donating.

Timeslip System


Have your members submit their race times and share with others. Intergrates with our Garage System.

Videos System


Allows your members to submit their own videos for community viewing. Support is included for all the major video sites.

Garage System


Setup a community Garage when members add their own vehicles with images and modifications.

Form Manager


Build your own forms for your members without coding experience. Support included for pm, email and topics.

Collections System


Build a community database of items for your members. Full features custom fields included.

Tutorial info Visit support topic

  • Added on: Oct 29 2011 04:51 AM
  • Views: 595
 


3.2.x Public polls by default

A small skin edit to make new polls public by default, unless the poll creator chooses to make them private.

Posted by AndyF on Oct 29 2011 04:51 AM
Here is a quick, simple tutorial on how to have "Make votes public?" checked by default. This may eliminate the problem of members who do wish to have a public poll but are unable to change it after submitting it.

A small skin edit is required.

ACP > Look / Feel > Skin Manager > (choose skin) > Manage Templates / CSS > Post Screen > Poll Box >

Find...
<span class='ipsType_small' id='check_public_poll' data-tooltip="{$this->lang->words['poll_public_warning']}">
                        <input type='checkbox' class='input_check' name='poll_view_voters' id='poll_view_voters' value='1' <if test="viewPollVoters:|:$data['poll_view_voters']">checked='checked'</if> />
                        <label for='poll_view_voters'>{$this->lang->words['poll_fs_public']}</label>
                    </span>

Change to...
<span class='ipsType_small' id='check_public_poll' data-tooltip="{$this->lang->words['poll_public_warning']}">
                        <input type='checkbox' checked ='checked' class='input_check' name='poll_view_voters' id='poll_view_voters' value='1' <if test="viewPollVoters:|:$data['poll_view_voters']">checked='checked'</if> />
                        <label for='poll_view_voters'>{$this->lang->words['poll_fs_public']}</label>
                    </span>

Save the change. Repeat for other skins if required. Quick pic:

Posted Image

Powered by Tutorials 1.5.1 © 2013, by Michael McCune