function ptp_install_free() { /*$pluginName = 'xyz-wp-smap/xyz-wp-smap.php'; if (is_plugin_active($pluginName)) { wp_die( "The plugin Pebble Timeline Publish cannot be activated unless the premium version of this plugin is deactivated. Back to <a href='".admin_url()."plugins.php'>Plugin Installation</a>." ); }*/ global $current_user; get_currentuserinfo(); if (get_option('xyz_credit_link') == "") { add_option("xyz_credit_link", '0'); } $ptp_installed_date = get_option('ptp_installed_date'); if ($ptp_installed_date == "") { $ptp_installed_date = time(); update_option('ptp_installed_date', $ptp_installed_date); } add_option('xyz_ptp_application_id', ''); add_option('xyz_ptp_application_secret', ''); add_option('xyz_ptp_fb_id', ''); add_option('xyz_ptp_message', 'New post added at {BLOG_TITLE} - {POST_TITLE}'); add_option('xyz_ptp_po_method', '2'); add_option('xyz_ptp_post_permission', '1'); add_option('xyz_ptp_current_appln_token', ''); add_option('xyz_ptp_af', '1'); //authorization flag add_option('xyz_ptp_pebble_apikey', ''); //pebble api key add_option('xyz_ptp_pebble_topic', 'WOD'); //pebble topic to post to add_option('xyz_ptp_pebble_time', '11'); // time for event to show up on timeline the next day add_option('xyz_ptp_pages_ids', '-1'); add_option('xyz_ptp_future_to_publish', '1'); add_option('xyz_ptp_apply_filters', ''); $version = get_option('xyz_ptp_free_version'); $currentversion = xyz_ptp_plugin_get_version(); update_option('xyz_ptp_free_version', $currentversion); add_option('xyz_ptp_include_pages', '0'); add_option('xyz_ptp_include_posts', '1'); add_option('xyz_ptp_include_categories', 'All'); add_option('xyz_ptp_include_customposttypes', ''); add_option('xyz_ptp_peer_verification', '1'); add_option('xyz_ptp_post_logs', ''); add_option('xyz_ptp_premium_version_ads', '1'); add_option('xyz_ptp_default_selection_edit', '0'); }
<style> </style> <h1 style="visibility: visible;">Pebble Timeline Publish (V <?php echo xyz_ptp_plugin_get_version(); ?> )</h1> <div style="width: 99%"> <p style="text-align: justify"> Pebble Timeline Publish automatically publishes posts from your blog to your Facebook pages. It allows you to filter posts based on post-types and categories. Pebble Timeline Publish is developed and maintained by <a href="http://xyzscripts.com">xyzscripts</a>.</p> <p style="text-align: justify"> If you would like to have more features , please try <a href="http://xyzscripts.com/wordpress-plugins/pebble-timeline-publish/features" target="_blank">XYZ Social Media Auto Publish</a> which is a premium version of this plugin. We have included a quick comparison of the free and premium plugins for your reference. </p> </div> <table class="xyz-premium-comparison" cellspacing=0 style="width: 99%;"> <tr style="background-color: #EDEDED"> <td><h2>Feature group</h2></td> <td><h2>Feature</h2></td> <td><h2>Free</h2> </td> <td><h2>Premium</h2></td> </tr>