vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   New Posting Features - Allow 'Make Votes Public' to be checked by default (https://vborg.vbsupport.ru/showthread.php?t=139506)

HMBeaty 02-14-2007 10:00 PM

Allow 'Make Votes Public' to be checked by default
 
As requested by ZomgStuff here https://vborg.vbsupport.ru/showthread.php?t=139492

This simple modification to your poll.php will allow the "Make Votes Public" to be checked by default when creating your poll. This has been tested and working on:

www.redlinemotorsports.org

Don't forget to click INSTALL

Support will only be given to those who have clicked INSTALL

ZomgStuff 02-15-2007 03:48 PM

Ah thank you so much!

HMBeaty 02-15-2007 03:50 PM

Not a problem. It took me a good while to find it as I thought it would be in a template like the "Remember Me" for the login. But I guess not

Ntfu2 02-15-2007 04:27 PM

It is,


New posting templates -> newpoll template

Find
Code:

<input type="checkbox" name="public" value="1" id="cb_public" tabindex="1" $checked[public] />
And change to
Code:

<input type="checkbox" name="public" value="1" id="cb_public" tabindex="1" $checked[public] checked="checked" />
No file edit required. Enjoy.

HMBeaty 02-15-2007 04:40 PM

Hmm. I must've looked over that then

Carlos2 06-12-2007 04:16 AM

Thanks ;)

edytwinky 02-21-2008 06:02 PM

Thanks!

edytwinky 06-15-2009 08:53 PM

Works great for 3.8

edytwinky 01-10-2010 02:10 PM

Any chances of a vb 4.0 upgrade?


All times are GMT. The time now is 05:45 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00942 seconds
  • Memory Usage 1,721KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete