Post by wallace33 on Jul 6, 2015 11:44:43 GMT -5
Create Thread
<ul class="noscript-form-error"></ul>
Subject:
Add Poll
Add Attachment
BookmarkUnbookmark
<input type="hidden" id="form_92t0KArS_message_nojavascript_input" name="message_nojavascript" value="1" />
ArialComic Sans MSCourier NewGeorgiaImpactTimes New RomanTrebuchet MSVerdanaFont Face1 (8pt)2 (10pt)3 (12pt)4 (14pt)5 (18pt)6 (24pt)7 (36pt)Font SizeArialComic Sans MSCourier NewGeorgiaImpactTimes New RomanTrebuchet MSVerdanaFont Face1 (8pt)2 (10pt)3 (12pt)4 (14pt)5 (18pt)6 (24pt)7 (36pt)Font Size
proboards.data('css_wysiwyg_style', '<link rel=\"stylesheet\" type=\"text/css\" href=\"//storage.proboards.com/f/css/0/wysiwyg_263.css\" id=\"wysiwyg_style\" />');
proboards.data('css_wysiwyg_non_editable', '<link rel=\"stylesheet\" type=\"text/css\" href=\"//storage.proboards.com/f/css/0/wysiwyg_non_editable_263.css\" />');
var wysiwyg_buttons = {"italic":"//images.proboards.com/v5/bbcode/italic.png","superscript-active":"//images.proboards.com/v5/bbcode/superscript-active.png","justifyLeft":"//images.proboards.com/v5/bbcode/justify-left.png","insertVideo":"//images.proboards.com/v5/bbcode/movie.png","justifyFull-active":"//images.proboards.com/v5/bbcode/justify-full-active.png","createLink":"//images.proboards.com/v5/bbcode/link.png","insertUnorderedList":"//images.proboards.com/v5/bbcode/list.png","strikethrough":"//images.proboards.com/v5/bbcode/strikethrough.png","justifyCenter-active":"//images.proboards.com/v5/bbcode/justify-center-active.png","insertImage":"//images.proboards.com/v5/bbcode/image.png","bold":"//images.proboards.com/v5/bbcode/bold.png","insertSmiley":"//images.proboards.com/v5/bbcode/smiley.png","justifyLeft-active":"//images.proboards.com/v5/bbcode/justify-left-active.png","foreColor":"//images.proboards.com/v5/bbcode/color.png","strikethrough-active":"//images.proboards.com/v5/bbcode/strikethrough-active.png","insertTable":"//images.proboards.com/v5/bbcode/table.png","subscript":"//images.proboards.com/v5/bbcode/subscript.png","underline-active":"//images.proboards.com/v5/bbcode/underline-active.png","underline":"//images.proboards.com/v5/bbcode/underline.png","italic-active":"//images.proboards.com/v5/bbcode/italic-active.png","insertHorizontalRule":"//images.proboards.com/v5/bbcode/horizontal-rule.png","insertUserLink":"//images.proboards.com/v5/bbcode/membersearch.png","insertCode":"//images.proboards.com/v5/bbcode/code.png","justifyRight-active":"//images.proboards.com/v5/bbcode/justify-right-active.png","insertQuote":"//images.proboards.com/v5/bbcode/quote.png","justifyFull":"//images.proboards.com/v5/bbcode/justify-full.png","insertEmbed":"//images.proboards.com/v5/bbcode/embed.png","justifyRight":"//images.proboards.com/v5/bbcode/justify-right.png","subscript-active":"//images.proboards.com/v5/bbcode/subscript-active.png","justifyCenter":"//images.proboards.com/v5/bbcode/justify-center.png","bold-active":"//images.proboards.com/v5/bbcode/bold-active.png","superscript":"//images.proboards.com/v5/bbcode/superscript.png","removeFormat":"//images.proboards.com/v5/bbcode/remove-format.png","createEmail":"//images.proboards.com/v5/bbcode/email.png"};
$(document).ready(function() {
$('#form_92t0KArS_message_input')
.wysiwyg({
varName : 'message',
formId : 'form_92t0KArS',
defaultEditor : 'visual',
defaultFormat : 'bbcode',
smiles : ["","//images.proboards.com/v5/smiley/smiley.png","","//images.proboards.com/v5/smiley/tongue.png","","//images.proboards.com/v5/smiley/plain.png","","//images.proboards.com/v5/smiley/cry.png","","//images.proboards.com/v5/smiley/angry.png","","//images.proboards.com/v5/smiley/grin.png","","//images.proboards.com/v5/smiley/sad.png","","//images.proboards.com/v5/smiley/eyesroll.png","","//images.proboards.com/v5/smiley/wink.png","","//images.proboards.com/v5/smiley/cool.png","","//images.proboards.com/v5/smiley/squint.png","","//images.proboards.com/v5/smiley/huh.png","","//images.proboards.com/v5/smiley/shocked.png","","//images.proboards.com/v5/smiley/rofl.png","","//images.proboards.com/v5/smiley/dead.png","","//images.proboards.com/v5/smiley/insane.png","","//images.proboards.com/v5/smiley/sick.png","","//images.proboards.com/v5/smiley/cheesy.png","","//images.proboards.com/v5/smiley/browraise.png","","//images.proboards.com/v5/smiley/superangry.png","","//images.proboards.com/v5/smiley/lipssealed.png","","//images.proboards.com/v5/smiley/kiss.png","","//images.proboards.com/v5/smiley/nerd.png","","//images.proboards.com/v5/smiley/notamused.png","","//images.proboards.com/v5/smiley/undecided.png","","//images.proboards.com/v5/smiley/asleep.png","","//images.proboards.com/v5/smiley/embarrassed.png","","//images.proboards.com/v5/smiley/wavey.png","","//images.proboards.com/v5/smiley/pirate.png","","//images.proboards.com/v5/smiley/ninja.png"],
visualHtml : proboards.data('visualHtml')
});
$('body').on('click', '.user-link', function(e) {
if(e.altKey) {
e.preventDefault();
$('#form_92t0KArS_message_input').wysiwyg('overwriteSelection', $(this).attr('title'));
}
});
});
Preview
BBCode
<style>.wysiwyg-tabs { display: none; }</style>
This thread has no effects applied to it.
close
This will add this thread to the calendar as an event.
to
all day event
close
Poll Question
Poll Answers
add more
Poll Options
Voters can select up to answer(s)
Automatically lock poll on
Show results alwaysafter votingafter poll is locked or expires
close
0/3 files
1 MB max per attachment
Add files...
Attachments not manually inserted in your post will be appended to the end
Done
$(document).ready(function() {
$('#form_92t0KArS').form({
create: function(e) {},
submit: function(e) {proboards.autosave.clear();},
beforeSubmit: function(e) {proboards.data('submitting', 1);
proboards.time.convertToUTCBeforeSubmit({
dateSelector : 'input[name="start_date"]',
timeSelector : 'input[name="start_time"]',
returnType : 'datetime',
formSelector : '#form_92t0KArS',
formInputName : 'start_date_utc'
});
proboards.time.convertToUTCBeforeSubmit({
dateSelector : 'input[name="end_date"]',
timeSelector : 'input[name="end_time"]',
returnType : 'datetime',
formSelector : '#form_92t0KArS',
formInputName : 'end_date_utc'
});
proboards.time.convertToUTCBeforeSubmit({
dateSelector : 'input[name="poll_expires_on"]',
timeSelector : 'input[name="poll_expires_on_time"]',
returnType : 'timestamp',
formSelector : '#form_92t0KArS',
formInputName : 'poll_expires_on_utc'
});
proboards.time.convertToUTCBeforeSubmit({
dateSelector : 'input[name="announcement_expires_date"]',
timeSelector : 'input[name="announcement_expires_time"]',
returnType : 'timestamp',
formSelector : '#form_92t0KArS',
formInputName : 'announcement_expires_date_utc'
});
if(!$('input[name="is_mobile"]').val()) {
$('#form_92t0KArS_message_input').val($('#form_92t0KArS_message_input').wysiwyg('getContent'));
}
$('.visual-editor iframe').contents().bind('click focus keydown', function() { $.clearInputError(); });
try {
$('#form_92t0KArS_ga_client_id_input').val(
proboards.analytics.google.getClientId()
);
} catch(e) {}
},
validations: [{"field":"subject","name":"exists","opts":{},"message":"You must provide a subject."},{"field":"message","name":"exists","opts":{"fields":["message_mode"],"area_of_effect":".editors"},"message":"You must provide a message."},{"opts":{"max_length":262144},"message":"Your message exceeds the maximum length allowed of 262144 characters.","field":"message","name":"message_length"},{"field":"start_date","name":"exists","message":"You must provide an event date.","opts":{"if_exists":"has_event"}},{"opts":{"if_exists":"has_event"},"message":"You must provide an end date.","field":"end_date","name":"exists"},{"name":"date_format","field":"start_date","message":"Invalid date format for the event date.","opts":{"if_exists":["has_event","start_date"]}},{"opts":{"if_exists":["has_event","end_date"]},"message":"Invalid date format for the end date.","field":"end_date","name":"date_format"},{"name":"exists","field":"start_time","message":"You must provide an event time.","opts":{"if_not_exists":"all_day_event","if_exists":"has_event"}},{"opts":{"if_exists":"has_event","if_not_exists":"all_day_event"},"message":"You must provide an end time.","field":"end_time","name":"exists"},{"name":"time_format","field":"start_time","opts":{"if_exists":"has_event","if_not_exists":"all_day_event"},"message":"Invalid time format for the event time."},{"opts":{"if_exists":"has_event","if_not_exists":"all_day_event"},"message":"Invalid time format for the end time.","name":"time_format","field":"end_time"},{"message":"The end date cannot be before the start date.","opts":{"if_exists":["has_event","all_day_event"],"fields":["start_date"]},"field":"end_date","name":"date_range"},{"message":"The end date and time must be after the start date and time.","opts":{"fields":["start_date","start_time","end_time"],"if_exists":"has_event","if_not_exists":"all_day_event"},"name":"date_and_time_range","field":"end_date"},{"field":"poll_question","name":"exists","opts":{"if_exists":"has_poll"},"message":"You must provide a poll question."},{"name":"count","field":"poll_answers","message":"You must provide at least 2 poll answers.","opts":{"greater_than_equal_to":2,"if_exists":"has_poll"}},{"message":"The maximum number of poll answers voters can select must be a number.","opts":{"if_exists":"has_poll"},"field":"poll_max_answers","name":"numeric"},{"name":"amount","field":"poll_max_answers","opts":{"greater_than_equal_to":1,"if_exists":"has_poll"},"message":"The maximum number of poll answers voters can select must be at least 1."},{"name":"date_format","field":"poll_expires_on","opts":{"if_exists":["has_poll","poll_expires_on"]},"message":"Invalid date format for automatic poll lock time."},{"name":"exists","field":"poll_expires_on_time","opts":{"if_exists":["has_poll","poll_expires_on"]},"message":"You must provide a time."},{"name":"time_format","field":"poll_expires_on_time","message":"Invalid time format for the event time.","opts":{"if_exists":["has_poll","poll_expires_on"]}},{"message":"You must enter a valid date for the announcement to expire.","opts":{"if_exists":["announcement","announcement_expires"]},"name":"exists","field":"announcement_expires_date"},{"field":"announcement_expires_time","name":"exists","message":"You must enter a valid time for the announcement to expire.","opts":{"if_exists":["announcement","announcement_expires"]}},{"name":"date_format","field":"announcement_expires_date","opts":{"if_exists":["announcement","announcement_expires"]},"message":"You must enter a valid date for the announcement to expire."},{"field":"announcement_expires_time","name":"time_format","opts":{"if_exists":["announcement","announcement_expires"]},"message":"You must enter a valid time for the announcement to expire."}],
errors: {},
positionError: null
});
});