Add Battle for the Net Pop Up for July 12th Action Campaign???

Need some custom code changes to the phpBB core simple enough that you feel doesn't require an extension? Then post your request here so that community members can provide some assistance.

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Post Reply
rec9140
Registered User
Posts: 33
Joined: Sun Apr 02, 2017 3:25 pm

Add Battle for the Net Pop Up for July 12th Action Campaign???

Post by rec9140 » Mon Jul 10, 2017 12:09 am

Any easy simple way to edit something quick and dirty to SUPPORT the Fight for Net action for July 12th? 7/12/17.

See:

battleforthenet.com

For info on this.... Here is what needs to get added some place.. Done it for my main entry points.. but a LOT, actually MAJORITY of entry is mydomain.invalid/forum

Really want this to get as much traction as possible.

Any ideas????


Thanks.

Code: Select all

<script type="text/javascript">
  var _bftn_options = {
    /*
     * Choose from 'money', 'stop', and 'slow'. Omit this property to get the 
     * default theme.
     */
    theme: 'slow',

    /*
     * Choose from 'fp' for Free Press, 'dp' for Demand Progress or
     * 'fftf' for Fight for the Future. Omit this property to randomly split
     * form submissions between all organizations in the Battle for the Net 
     * coalition.
     */
    org: 'fftf',

    /*
     * Specify a delay (in milliseconds) before showing the widget. Defaults to one 
     * second.
     */
    delay: 1000,

    /*
     * Specify a date on which to display the widget. Defaults to July 12th, 2017 if 
     * omitted. ISO-8601 dates are UTC time, three-argument dates (with a zero-based
     * month) are local time.
     */
    date: new Date(2017, 6, 12),

    /*
     * Always show the widget. Useful for testing.
     */
    always_show_widget: true
  };
</script>
<script src="https://widget.battleforthenet.com/widget.js" async></script>
Last edited by JimA on Mon Jul 10, 2017 9:07 am, edited 1 time in total.
Reason: Moved from General Discussion to phpBB Custom Coding

Post Reply

Return to “phpBB Custom Coding”

Who is online

Users browsing this forum: No registered users and 1 guest