Lines:
1 to 72 of 72
<?php // (C) Copyright Bobbing Wide 2012-2016 /** * Admin for the oik-squeeze plugin * General fields: * * bw_squeeze['newsletter'] = default contacts system: Mad Mimi, InfusionSoft * bw_squeeze['opted-in'] = default opted-in page ID * bw_squeeze['submit-text'] = "Sign up now!" * bw_squeeze['privacy'] = privacy policy page ID * bw_squeeze['content_type'] = "text/html" / "text/plain"; * * * opted_in pages: * * * Contacts: * - Multiple contact lists would be in a super pro version * * * Newsletter integration: * - done using plugins OR modules * - textfield oiksp_name * - textfield oiksp_email * - submit submit * * Double opt-in email needs an email template: * So how do we provide email templates: * Easy - just like all the other oik profiles. * NO - even easier - as metafields for the opted_in page * * Sender: email * Sender: name * Subject: * Body: * with variables for: * $_oiksp_name * $_oiksp_email * $_oiksp_confirm * $link * $unsubscribe * * * Also necessary to have a local email plugin installed when the server is "localhost" * e.g. [bw_plug name=wp-mail-smtp] * * * * Fancy box delay - this should be in some jQuery triggered by a specific class * which would therefore go in the squeeze page rather than in this shortcode * delay = delay before the fancybox is shown - if 0 then fancybox is not used * * */ /* function oiksp_lazy_admin_menu() – Display the menu for squeeze settings ( "bw_squeeze" ) */ /* function oiksp_squeeze_do_page() – Opted-in settings */ /* function oiksp_newsletters_filter() – We need to find a better way of detecting which Newsletters are available. */ /* function oiksp_newsletters() – Determine the 3rd party newsletter software to integrate with */ /* function oiksp_email_content_types() – Return the list of email content types */ /* function oiksp_squeeze_usage() – Give an example of a squeeze page */ /* function oiksp_squeeze_options() – Display the opted-in settings */