Commit inicial - WordPress Análisis de Precios Unitarios

- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-11-03 21:04:30 -06:00
commit a22573bf0b
24068 changed files with 4993111 additions and 0 deletions

View File

@@ -0,0 +1,145 @@
<div class="onp-help-section">
<h1><?php _e('Creating Facebook App', 'bizpanda'); ?></h1>
<p>
<?php _e('A Facebook App is required for the following buttons:', 'bizpanda'); ?>
<ul>
<?php if ( BizPanda::hasPlugin('sociallocker') ) { ?>
<li><?php _e('Facebook Like of the Social Locker.', 'bizpanda') ?></li>
<li><?php _e('Facebook Share of the Social Locker.', 'bizpanda') ?></li>
<?php } ?>
<li><?php _e('Facebook Sign-In of the Sign-In Locker.', 'bizpanda') ?></li>
<?php if ( BizPanda::hasPlugin('optinpanda') ) { ?>
<li><?php _e('Facebook Subscribe of the Email Locker.', 'bizpanda') ?></li>
<?php } ?>
</ul>
</p>
<p><?php _e('By default the plugin utilises its own fully configured Facebook app.', 'bizpanda') ?></p>
<p><?php _e('So you <strong>don\'t need to create your own app</strong>. Nonetheless you can create your own app, for example, to replace the app logo on the authorization screen with your website logo.') ?></p>
</div>
<div class="onp-help-section">
<p><?php printf( __('1. Open the website <a href="%s" target="_blank">developers.facebook.com</a> and click <strong>Add a New App</strong> (you have to be logged in):', 'bizpanda'), 'https://developers.facebook.com/' ) ?></p>
<p class='onp-img'>
<img src="http://cconp.s3.amazonaws.com/bizpanda/facebook-app/v3/1.png">
</p>
</div>
<div class="onp-help-section">
<p><?php _e('2. Type your app name (it will be visible for users), email address (for notifications from Facebook) and click <strong>Create App ID</strong>:', 'bizpanda') ?></p>
<p class="onp-img">
<img src="http://cconp.s3.amazonaws.com/bizpanda/facebook-app/v3/2.png">
</p>
</div>
<div class="onp-help-section">
<p><?php _e('3. Pass the security check if required and click on <strong>Submit</strong>:', 'bizpanda') ?></p>
<p class="onp-img">
<img src="http://cconp.s3.amazonaws.com/bizpanda/facebook-app/v3/3.png">
</p>
</div>
<div class="onp-help-section">
<p><?php _e('4. Click <strong>Settings -> Basic</strong> in the menu at the left:', 'bizpanda') ?></p>
<p class="onp-img">
<img src="http://cconp.s3.amazonaws.com/bizpanda/facebook-app/v3/4.png">
</p>
</div>
<div class="onp-help-section">
<p><?php _e('5. Twice enter your site domain name: without "www" and with "www", check your email address, select the category and paste links to Terms & Policy pages:', 'bizpanda') ?></p>
<table class="table">
<thead>
<tr>
<th><?php _e('Field', 'bizpanda') ?></th>
<th><?php _e('How To Fill', 'bizpanda') ?></th>
</tr>
</thead>
<tbody>
<tr>
<td class="onp-title"><?php _e('App Domains', 'bizpanda') ?></td>
<td>
<p><?php _e('Paste these domains:', 'bizpanda') ?></p>
<p><i><?php echo opanda_get_domain( get_site_url() ) ?></i>
<p><i><?php echo 'www.' . opanda_get_domain( get_site_url() ) ?></i>
</p>
</td>
</tr>
<tr>
<td class="onp-title"><?php _e('Privacy Policy URL', 'bizpanda') ?></td>
<td>
<p><?php printf( __('Paste the URL (you can edit it <a href="%s" target="_blank">here</a>):', 'bizpanda'), admin_url('admin.php?page=settings-' . $this->plugin->pluginName . '&opanda_screen=terms&action=index' ) ) ?></p>
<p><i><?php echo opanda_privacy_policy_url(true) ?></i>
</p>
</td>
</tr>
<tr>
<td class="onp-title"><?php _e('Terms of Service URL', 'bizpanda') ?></td>
<td>
<p><?php printf( __('Paste the URL (you can edit it <a href="%s" target="_blank">here</a>):', 'bizpanda'), admin_url('admin.php?page=settings-' . $this->plugin->pluginName . '&opanda_screen=terms&action=index' ) ) ?></p>
<p><i><?php echo opanda_terms_url(true) ?></i>
</td>
</tr>
</tbody>
</table>
<p class="onp-img">
<img src="http://cconp.s3.amazonaws.com/bizpanda/facebook-app/v3/5.png">
</p>
</div>
<div class="onp-help-section">
<p><?php _e('6. Fill the form <strong>Data Protection Officer Contact Information</strong> below if required according to your business:', 'bizpanda') ?></p>
<p class="onp-img">
<img src="http://cconp.s3.amazonaws.com/bizpanda/facebook-app/v3/6.png">
</p>
</div>
<div class="onp-help-section">
<p><?php _e('7. Click on <strong>Add Platform</strong> after the forms:', 'bizpanda') ?></p>
<p class="onp-img">
<img src="http://cconp.s3.amazonaws.com/bizpanda/facebook-app/v3/7.png">
</p>
</div>
<div class="onp-help-section">
<p><?php _e('8. Select <strong>Website</strong>:', 'bizpanda') ?></p>
<p class="onp-img">
<img src="http://cconp.s3.amazonaws.com/bizpanda/facebook-app/v3/8.png">
</p>
</div>
<div class="onp-help-section">
<p><?php _e('9. Specify an URL of your website and save the changes:', 'bizpanda') ?></p>
<p class="onp-img">
<img src="http://cconp.s3.amazonaws.com/bizpanda/facebook-app/v3/9.png">
</p>
</div>
<div class="onp-help-section">
<p><?php _e('10. Move to the section <strong>App Review</strong>:', 'bizpanda') ?></p>
<p class="onp-img">
<img src="http://cconp.s3.amazonaws.com/bizpanda/facebook-app/v3/10.png">
</p>
</div>
<div class="onp-help-section">
<p><?php _e('11. Make your app available to the general public:', 'bizpanda') ?></p>
<p class="onp-img">
<img src="http://cconp.s3.amazonaws.com/bizpanda/facebook-app/v3/11.png">
</p>
</div>
<div class="onp-help-section">
<p><?php _e('12. Copy your app id:', 'bizpanda') ?></p>
<p class="onp-img">
<img src="http://cconp.s3.amazonaws.com/bizpanda/facebook-app/v3/12.png">
</p>
</div>
<div class="onp-help-section">
<p><?php printf( __('13. Paste your Facebook App Id on the page Global Settings > <a href="%s">Social Options</a>.', 'bizpanda' ), opanda_get_settings_url('social') ) ?></p>
<p><?php printf( __('Feel free to <a href="%s">contact us</a> if you faced any troubles.', 'bizpanda'), opanda_get_help_url('troubleshooting') ) ?></p>
</div>

View File

@@ -0,0 +1,60 @@
<div class="onp-help-section">
<h1><?php _e('Using the Facebook Like with the Social Locker', 'bizpanda'); ?></h1>
<p>
<?php _e('This note describes the Facebook restriction regarding using the Facebook Buttons in the Social Locker.', 'bizpanda') ?>
<?php _e('Since 5 Nov, you don\'t have to incentivize people to like your page to unlock the content:') ?>
</p>
<p class='onp-remark'>
<span class="onp-inner-wrap">
<i><?php _e('You must not incentivize people to use social plugins or to like a Page. This includes offering rewards, or gating apps or app content based on whether or not a person has liked a Page. It remains acceptable to incentivize people to login to your app, checkin at a place ...', 'bizpanda') ?></i><br />
<i style="display: block; margin-top: 5px;">
<strong><?php _e('Source:', 'optionpanda') ?></strong>
<a href="https://developers.facebook.com/blog/post/2014/08/07/Graph-API-v2.1/" target="_blank">https://developers.facebook.com/policy#properuse</a>
</i>
</span>
</p>
<p>
<?php _e('<strong>This Facebook restriction doesn\'t affect</strong> on the Facebook Connect and Facebook Subscribe buttons (which ask to log into your app) from Email and Connect Lockers.', 'bizpanda') ?>
</p>
<p>
<?php _e('<strong>This restriction doesn\'t affect</strong> on buttons from other social networks (Twitter, Google, LinkedIn).', 'bizpanda') ?>
</p>
<p>
<?php _e('Technically <strong>you can ignore this restriction, the Social Locker will work without any problems</strong>. Also you can just update a bit the settings of your lockers to make it compatible with the new policy.', 'bizpanda') ?>
</p>
<?php $this->showContentTable() ?>
</div>
<div class="onp-help-section">
<h2><?php _e('Making Social Locker compatible with the Facebook Policies', 'bizpanda'); ?></h2>
<p><?php _e('If want to use the Social Locker with the Facebook Like and keep it compatible with the new Facebook Policies, you need to convert your Social Locker to "Social Reminder". What does it mean?', 'bizpanda') ?></p>
<p><strong><?php _e('1. Enable the option Close Icon.', 'bizpanda') ?></strong></p>
<p>
<?php _e('You have to give people the way to skip the liking process.', 'bizpanda') ?>
<?php _e('The Close Icon is not bright and the most people will not notice it at first time and will still click on the Like button.', 'bizpanda') ?>
</p>
<p><strong><?php _e('2. Remove any phrases like "this content is locked" from your locker.', 'bizpanda') ?></strong></p>
<p>
<?php _e('Don\'t write that your content is locked. Ask support you because you need it in order to keep doing what you\'re doing (provide free downloads, write good articles and so on).', 'bizpanda') ?>
</p>
<p><strong><?php _e('3. Turn on the Transparency or Blurring mode.', 'bizpanda') ?></strong></p>
<p>
<?php _e('It makes your locker looks like a popup which appears suddenly to ask the user to support you.', 'bizpanda') ?>
</p>
<p class='onp-img'>
<img src='http://cconp.s3.amazonaws.com/bizpanda/facebook-like/1.png' />
</p>
<?php $this->showContentTable() ?>
</div>

View File

@@ -0,0 +1,170 @@
<div class="onp-help-section">
<h1><?php _e('Getting Google Client ID', 'bizpanda'); ?></h1>
<p>
<?php _e('A Google Client ID is required for the following buttons:', 'bizpanda'); ?>
<ul>
<?php if ( BizPanda::hasPlugin('sociallocker') ) { ?>
<li><?php _e('YouTube Subscribe of the Social Locker.', 'bizpanda') ?></li>
<?php } ?>
<li><?php _e('Google Sign-In of the Sign-In Locker.', 'bizpanda') ?></li>
<?php if ( BizPanda::hasPlugin('optinpanda') ) { ?>
<li><?php _e('Google Subscribe of the Email Locker.', 'bizpanda') ?></li>
<?php } ?>
</ul>
</p>
<p><?php _e('By default the plugin utilises its own fully configured client ID.', 'bizpanda') ?></p>
<p><?php _e('So you <strong>don\'t need to create your own client ID</strong>. Nonetheless you can create your own app, for example, to replace the app logo on the authorization screen with your website logo.') ?></p>
</div>
<div class="onp-help-section">
<p><?php printf( __('1. Go to the <a href="%s" target="_blank">Google Developers Console</a>.', 'bizpanda'), 'https://console.developers.google.com/project' ) ?></p>
</div>
<div class="onp-help-section">
<p><?php _e('2. Click "Select a project":', 'bizpanda') ?></p>
<p class='onp-img'>
<img src="http://cconp.s3.amazonaws.com/bizpanda/google-app/v2/1.png">
</p>
</div>
<div class="onp-help-section">
<p><?php _e('2. Click "Select a project":', 'bizpanda') ?></p>
<p class="onp-img">
<img src="http://cconp.s3.amazonaws.com/bizpanda/google-app/v2/1.png">
</p>
</div>
<div class="onp-help-section">
<p><?php _e('3. Click the button with the plus icon:', 'bizpanda') ?></p>
<p class="onp-img">
<img src="http://cconp.s3.amazonaws.com/bizpanda/google-app/v2/2.png">
</p>
</div>
<div class="onp-help-section">
<p><?php _e('4. Enter a new project name (for example, your website name) and click "Create":', 'bizpanda') ?></p>
<p class="onp-img">
<img src="http://cconp.s3.amazonaws.com/bizpanda/google-app/v2/3.png">
</p>
</div>
<div class="onp-help-section">
<p><?php _e('5. Again click "Select a project":', 'bizpanda') ?></p>
<p class="onp-img">
<img src="http://cconp.s3.amazonaws.com/bizpanda/google-app/v2/1.png">
</p>
</div>
<div class="onp-help-section">
<p><?php _e('6. And select your project you have just created:', 'bizpanda') ?></p>
<p class="onp-img">
<img src="http://cconp.s3.amazonaws.com/bizpanda/google-app/v2/4.png">
</p>
</div>
<div class="onp-help-section">
<p><?php _e('7. Make sure that you are in the Library section. Find and enable the following APIs:', 'bizpanda') ?></p>
<ul>
<li><?php _e('<strong>Google+ API</strong> (to use the Google Plus, Google Share and Sign-In buttons)', 'bizpanda') ?></li>
<li><?php _e('<strong>YouTube APIs</strong> (to use the YouTube Subscribe button)', 'bizpanda') ?></li>
</ul>
<p><?php _e('To enable these APIs, click on a title of the required API in the list and then click the button "Enable".', 'bizpanda') ?></p>
<p class="onp-img">
<img src="http://cconp.s3.amazonaws.com/bizpanda/google-app/v2/5.png">
</p>
<p class="onp-img">
<img src="http://cconp.s3.amazonaws.com/bizpanda/google-app/v2/6.png">
</p>
</div>
<div class="onp-help-section">
<p><?php _e('8. Move to the "Credentials" section:', 'bizpanda') ?></p>
<p class="onp-img">
<img src="http://cconp.s3.amazonaws.com/bizpanda/google-app/v2/7.png">
</p>
</div>
<div class="onp-help-section">
<p><?php _e('9. Create new credentials "OAuth client ID"', 'bizpanda') ?></p>
<p class="onp-img">
<img src="http://cconp.s3.amazonaws.com/bizpanda/google-app/v2/8.png">
</p>
</div>
<div class="onp-help-section">
<p><?php _e('10. Google may ask you to configure a consent screen before creating OAuth client ID, at this case follow the Google instruction and then return back:', 'bizpanda') ?></p>
<p class="onp-img">
<img src="http://cconp.s3.amazonaws.com/bizpanda/google-app/v2/9.png">
</p>
<p class="onp-img">
<img src="http://cconp.s3.amazonaws.com/bizpanda/google-app/v2/10.png">
</p>
</div>
<?php
$origin = null;
$pieces = parse_url( site_url() );
$domain = isset($pieces['host']) ? $pieces['host'] : '';
if (preg_match('/(?P<domain>[a-z0-9][a-z0-9\-]{1,63}\.[a-z\.]{2,6})$/i', $domain, $regs)) {
$origin = $regs['domain'];
}
?>
<div class="onp-help-section">
<p><?php _e('11. Fill up the form:', 'bizpanda' ) ?></p>
<table class="table">
<thead>
<tr>
<th><?php _e('Field', 'bizpanda') ?></th>
<th><?php _e('How To Fill', 'bizpanda') ?></th>
</tr>
</thead>
<tbody>
<tr>
<td class="onp-title"><?php _e('Application Type', 'bizpanda') ?></td>
<td>
<p>Web Application</p>
</td>
</tr>
<tr>
<td class="onp-title"><?php _e('Authorized Javascript origins', 'bizpanda') ?></td>
<td>
<p><?php _e('Add the origins:', 'bizpanda') ?></p>
<p><i><?php echo 'http://' . str_replace('www.', '', $origin) ?></i></p>
<p><i><?php echo 'http://www.' . $origin ?></i></p>
<p><?php _e('If you use SSL, additionally add URLs with "https"', 'bizpanda') ?></p>
</td>
</tr>
<tr>
<td class="onp-title"><?php _e('Authorized redirect URIs', 'bizpanda') ?></td>
<td>
<p><?php _e('Paste the URL:', 'bizpanda') ?></p>
<p><i><?php echo add_query_arg( array(
'action' => 'opanda_connect',
'opandaHandler' => 'google'
), admin_url('admin-ajax.php') ) ?></i>
</p>
</td>
</tr>
</tbody>
</table>
<p class='onp-img'>
<img src="http://cconp.s3.amazonaws.com/bizpanda/google-app/v2/11.png">
</p>
</div>
<div class="onp-help-section">
<p><?php _e('12. After clicking on the button Create, you will see your new Client ID:', 'bizpanda' ) ?></p>
<p class='onp-img'>
<img src="http://cconp.s3.amazonaws.com/bizpanda/google-app/v2/12.png">
</p>
</div>
<div class="onp-help-section">
<p><?php printf( __('10. Copy and paste it on the page Global Settings > <a href="%s">Social Options</a>.', 'bizpanda' ), opanda_get_settings_url('social') ) ?></p>
<p><?php printf( __('Feel free to <a href="%s">contact us</a> if you faced any troubles.', 'bizpanda'), opanda_get_help_url('troubleshooting') ) ?></p>
</div>

View File

@@ -0,0 +1,112 @@
<div class="onp-help-section">
<h1><?php _e('Getting LinkedIn Client ID', 'bizpanda'); ?></h1>
<p>
<?php _e('A LinkedIn Client ID is required for the following buttons:', 'bizpanda'); ?>
<ul>
<li><?php _e('LinkedIn Sign-In of the Sign-In Locker.', 'bizpanda') ?></li>
<?php if ( BizPanda::hasPlugin('optinpanda') ) { ?>
<li><?php _e('LinkedIn Subscribe of the Email Locker.', 'bizpanda') ?></li>
<?php } ?>
</ul>
</p>
<p><?php _e('By default the plugin utilises its own fully configured client ID.', 'bizpanda') ?></p>
<p><?php _e('So you <strong>don\'t need to create your own client ID</strong>. Nonetheless you can create your own app, for example, to replace the app logo on the authorization screen with your website logo.') ?></p>
</div>
<div class="onp-help-section">
<p><?php printf( __('1. Go to the <a href="%s" target="_blank">LinkedIn Developer Network</a> and click <strong>Create Application</strong>.', 'bizpanda'), 'https://www.linkedin.com/secure/developer' ) ?></p>
</div>
<div class="onp-help-section">
<p><?php _e('2. Fill up the form the following way:', 'bizpanda' ) ?></p>
<table class="table">
<thead>
<tr>
<th><?php _e('Field', 'bizpanda') ?></th>
<th><?php _e('How To Fill', 'bizpanda') ?></th>
</tr>
</thead>
<tbody>
<tr>
<td class="onp-title"><?php _e('Company', 'bizpanda') ?></td>
<td><?php _e('Select an existing company or create your own one (you can use your website name as a company name).', 'bizpanda') ?></td>
</tr>
<tr>
<td class="onp-title"><?php _e('Name', 'bizpanda') ?></td>
<td><?php _e('The best name is your website name.', 'bizpanda') ?></td>
</tr>
<tr>
<td class="onp-title"><?php _e('Description', 'bizpanda') ?></td>
<td>
<p><?php _e('Explain what your app does, e.g:', 'bizpanda') ?></p>
<p><i><?php _e('This application asks your credentials in order to unlock the content. Please read the Terms of Use to know how these credentials will be used.', 'bizpanda') ?></i></p>
</td>
</tr>
<tr>
<td class="onp-title"><?php _e('Application Logo URL', 'bizpanda') ?></td>
<td>
<p><?php _e('Paste an URL to your logo (80x80px). Or use this default logo:', 'bizpanda') ?></p>
<p><i><?php _e('https://cconp.s3.amazonaws.com/bizpanda/linkedin-app/default-logo.png', 'bizpanda') ?></i></p>
</td>
</tr>
<tr>
<td class="onp-title"><?php _e('Application Use', 'bizpanda') ?></td>
<td>
<p><?php _e('Select "Other" from the list.', 'bizpanda') ?></p>
</td>
</tr>
<tr>
<td class="onp-title"><?php _e('Website URL', 'bizpanda') ?></td>
<td>
<p><?php _e('Paste your website URL:', 'bizpanda') ?></p>
<p><i><?php echo site_url() ?></i></p>
</td>
</tr>
<tr>
<td class="onp-title"><?php _e('Business Email', 'bizpanda') ?></td>
<td>
<p><?php _e('Enter your email to receive updates regarding your app.', 'bizpanda') ?></p>
</td>
</tr>
<tr>
<td class="onp-title"><?php _e('Business Phone', 'bizpanda') ?></td>
<td>
<p><?php _e('Enter your phone. It will not be visible for visitors.', 'bizpanda') ?></p>
</td>
</tr>
</tbody>
</table>
<p><?php _e('Mark the checkbox "I have read and agree to the LinkedIn API Terms of Use." and submit the form.', 'bizpanda') ?></p>
</div>
<div class="onp-help-section">
<p><?php _e('3. On the page "Authentication", mark "<strong>r_basicprofile</strong>" and "<strong>r_emailaddress</strong>".', 'bizpanda' ) ?></p>
</div>
<div class="onp-help-section">
<p>
<?php _e('4. In the field "<strong>Authorized Redirect URLs</strong>" of the section "<strong>OAuth 2.0</strong>" paste the URL:', 'bizpanda' ) ?><br />
</p>
<p>
<i>
<?php echo add_query_arg( array(
'action' => 'opanda_connect',
'opandaHandler' => 'linkedin',
'opandaRequestType' => 'callback'
), admin_url('admin-ajax.php') ) ?>
</i>
</p>
<p>Click the orange button "<strong>Add</strong>", then click the button button "<strong>Update</strong>" below the from.</p>
</div>
<div class="onp-help-section">
<p><?php _e('5. On the page "Settings", switch <strong>Application Status</strong> to <strong>Live</strong>. Click the button Update.', 'bizpanda' ) ?></p>
</div>
<div class="onp-help-section">
<p><?php printf( __('4. Return to the page "Authentication", copy your <strong>Client ID</strong> and <strong>Client Secret</strong>, paste them on the page Global Settings > <a href="%s">Social Options</a>.', 'bizpanda' ), admin_url('admin.php?page=settings-bizpanda&opanda_screen=social') ) ?></p>
<p><?php printf( __('Feel free to <a href="%s">contact us</a> if you faced any troubles.', 'bizpanda'), opanda_get_help_url('troubleshooting') ) ?></p>
</div>

View File

@@ -0,0 +1,7 @@
<div class="onp-help-section">
<h1><?php _e('Creating Social Apps', 'bizpanda'); ?></h1>
<p><?php _e('Creating own Social Apps is not required in most cases. Click on the links below to know about the cases when you need to create respective apps.', 'bizpanda') ?></p>
<?php $this->showContentTable() ?>
</div>

View File

@@ -0,0 +1,185 @@
<div class="onp-help-section">
<h1><?php _e('Creating Twitter App', 'bizpanda'); ?></h1>
<p>
<?php _e('A Twitter App is required for the following buttons:', 'bizpanda' ) ?>
<ul>
<?php if ( BizPanda::hasPlugin('sociallocker') ) { ?>
<li><?php _e('Twitter Tweet of the Social Locker.', 'bizpanda') ?></li>
<li><?php _e('Twitter Follow of the Social Locker.', 'bizpanda') ?></li>
<?php } ?>
<li><?php _e('Twitter Sign-In of the Sign-In Locker.', 'bizpanda') ?></li>
<?php if ( BizPanda::hasPlugin('optinpanda') ) { ?>
<li><?php _e('Twitter Subscribe of the Email Locker.', 'bizpanda') ?></li>
<?php } ?>
</ul>
</p>
<p><?php _e('By default the plugin utilises its own fully configured Twitter app.', 'bizpanda') ?></p>
<p><?php _e('So you <strong>don\'t need to create your own app</strong>. Nonetheless you can create your own app, for example, to replace the app logo on the authorization screen with your website logo.') ?></p>
</div>
<div class="onp-help-section">
<p><?php printf( __('1. Open the website <a href="%s" target="_blank">developer.twitter.com/en/apps</a> and click <strong>Create an app</strong> (you have to be signed in).', 'bizpanda'), 'https://developer.twitter.com/en/apps' ) ?></p>
</div>
<div class="onp-help-section">
<p><?php _e('2. Fill up the form, agree to the Developer Agreement, click <strong>Create Your Twitter application</strong>.', 'bizpanda' ) ?></p>
<table class="table">
<thead>
<tr>
<th><?php _e('Field', 'bizpanda') ?></th>
<th><?php _e('How To Fill', 'bizpanda') ?></th>
</tr>
</thead>
<tbody>
<tr>
<td class="onp-title"><?php _e('App name', 'bizpanda') ?></td>
<td><?php _e('The best app name is your website name.', 'bizpanda') ?></td>
</tr>
<tr>
<td class="onp-title"><?php _e('App Description', 'bizpanda') ?></td>
<td>
<p><?php _e('Explain why you ask for the credentials, e.g:', 'bizpanda') ?></p>
<p><i><?php _e('This application asks your credentials in order to unlock the content. Please read the TOS.', 'bizpanda') ?></i></p>
</td>
</tr>
<tr>
<td class="onp-title"><?php _e('Website URL', 'bizpanda') ?></td>
<td>
<p><?php _e('Paste your website URL:', 'bizpanda') ?></p>
<p><i><?php echo site_url() ?></i></p>
</td>
</tr>
<tr>
<td class="onp-title"><?php _e('Enable Sign in with Twitter', 'bizpanda') ?></td>
<td>
<p><?php _e('Mark it.', 'bizpanda') ?></p>
</td>
</tr>
<tr>
<td class="onp-title"><?php _e('Callback URL', 'bizpanda') ?></td>
<td>
<p><?php _e('Callback URLs:', 'bizpanda') ?></p>
<p><i><?php echo admin_url('admin-ajax.php') ?></i>
</p>
</td>
</tr>
<tr>
<td class="onp-title"><?php _e('Terms of Service URL', 'bizpanda') ?></td>
<td>
<p><?php printf( __('Paste the URL (you can edit it <a href="%s" target="_blank">here</a>):', 'bizpanda'), admin_url('admin.php?page=settings-' . $this->plugin->pluginName . '&opanda_screen=terms&action=index' ) ) ?></p>
<p><i><?php echo opanda_terms_url(true) ?></i>
</td>
</tr>
<tr>
<td class="onp-title"><?php _e('Privacy policy URL', 'bizpanda') ?></td>
<td>
<p><?php printf( __('Paste the URL (you can edit it <a href="%s" target="_blank">here</a>):', 'bizpanda'), admin_url('admin.php?page=settings-' . $this->plugin->pluginName . '&opanda_screen=terms&action=index' ) ) ?></p>
<p><i><?php echo opanda_privacy_policy_url(true) ?></i></p>
</td>
</tr>
<tr>
<td class="onp-title"><?php _e('Tell us how this app will be used', 'bizpanda') ?></td>
<td>
<p><?php _e('Explain how your app works, e.g:', 'bizpanda') ?></p>
<p><i><?php _e('This app asks visitors of our website to sign in via Twitter or tweet/follow to get access to restricted content available only for registered users or followers.', 'bizpanda') ?></i></p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="onp-help-section">
<p><?php _e('3. Move to the section "Permissions", mark <strong>Read and Write</strong> (if you are going to use tweeting functionality) or <strong>Read Only</strong> (if you are NOT going to use tweeting functionality) and save changes.', 'bizpanda' ) ?></p>
<p><?php _e('If you are going to use the Twitter Sign-In Button, mark the permission <strong>Request email addresses from users</strong> in the section "Additional Permissions".','bizpanda') ?></p>
<p class='onp-img'>
<img src='http://cconp.s3.amazonaws.com/bizpanda/twitter-app/4.png' />
</p>
</div>
<div class="onp-help-section">
<p><?php _e('4. Move to the section "Keys and tokens", find your API key and API secret key:', 'bizpanda' ) ?></p>
<p class='onp-img'>
<img src='http://cconp.s3.amazonaws.com/bizpanda/twitter-app/5.png' />
</p>
</div>
<div class="onp-help-section">
<p><?php printf( __('5. Paste your key and secret on the page Global Settings > <a href="%s">Social Options</a>.', 'bizpanda' ), admin_url('admin.php?page=settings-bizpanda&opanda_screen=social') ) ?></p>
<p><?php printf( __('Feel free to <a href="%s">contact us</a> if you faced any troubles.', 'bizpanda'), opanda_get_help_url('troubleshooting') ) ?></p>
</div>
<!--div class="onp-help-section">
<p class='onp-note'>
<?php _e('By default Twitter does not return an <strong>email address</strong> of the user until your app is not got whitelisted. To make your app whitelisted, please follow the instruction below.', 'bizpanda') ?>
</p>
</div>
<div class="onp-help-section">
<p><?php printf( __('9. Visit Twitter Help Center: <a href="https://support.twitter.com/forms/platform" target="_blank">https://support.twitter.com/forms/platform</a>', 'bizpanda' ), admin_url('admin.php?page=settings-optinpanda&opanda_screen=social') ) ?></p>
</div>
<div class="onp-help-section">
<p><?php _e('10. Choose <strong>I need access to special permissions</strong>, fill and submit the form:', 'bizpanda' ) ?></p>
<table class="table">
<thead>
<tr>
<th><?php _e('Field', 'bizpanda') ?></th>
<th><?php _e('How To Fill', 'bizpanda') ?></th>
</tr>
</thead>
<tbody>
<tr>
<td class="onp-title"><?php _e('Application Name', 'bizpanda') ?></td>
<td><?php _e('Enter your app name you typed in the step 2.', 'bizpanda') ?></td>
</tr>
<tr>
<td class="onp-title"><?php _e('Application ID', 'bizpanda') ?></td>
<td>
<p><?php _e('You can find your app ID in the URL when viewing your app on the apps.twitter.com.', 'bizpanda') ?></p>
<p class='onp-img'>
<img src='http://cconp.s3.amazonaws.com/bizpanda/twitter-app/8.png' style="width: 400px;" />
</p>
</td>
</tr>
<tr>
<td class="onp-title"><?php _e('Permissions Requested', 'bizpanda') ?></td>
<td>
<p><?php _e('Explain what permissions you need:', 'bizpanda') ?></p>
<p><i><?php _e('Please enable the permission "Request email addresses from users" for my app. I want to use the option "include_email" while requesting "account/verify_credentials". I ask visitors of my website to sign in by using their Twitter accounts and need to know their emails.', 'bizpanda') ?></i></p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="onp-help-section">
<p><?php printf( __('10. <strong>Within 2-3 business days</strong>, you will get a reply from Twitter. If the email permission was successfully granted for your app, visit <a href="%s" target="_blank">apps.twitter.com</a> and click on the title of your app.', 'bizpanda' ), 'https://apps.twitter.com' ) ?></p>
</div>
<div class="onp-help-section">
<p><?php printf( __('11. Click on the tab <strong>Settings</strong>, fill the fields and save the form:', 'bizpanda' ), 'https://apps.twitter.com' ) ?></p>
<table class="table">
<thead>
<tr>
<th><?php _e('Field', 'bizpanda') ?></th>
<th><?php _e('How To Fill', 'bizpanda') ?></th>
</tr>
</thead>
<tbody>
<tr>
<td class="onp-title"><?php _e('Privacy Policy URL', 'bizpanda') ?></td>
<td><i><?php echo opanda_privacy_policy_url() ?></i></td>
</tr>
<tr>
<td class="onp-title"><?php _e('Terms of Service URL', 'bizpanda') ?></td>
<td><i><?php echo opanda_terms_url() ?></i></td>
</tr>
</tbody>
</table>
</div>
<div class="onp-help-section">
<p><?php printf( __('11. Click on the tab <strong>Permissions</strong>, mark the checkbox <strong>Request email addresses from users</strong> and save the changes.', 'bizpanda' ), 'https://apps.twitter.com' ) ?></p>
</div-->

View File

@@ -0,0 +1,74 @@
<div class="onp-help-section">
<h1><?php _e('Connection to Zapier', 'bizpanda'); ?></h1>
<p><?php printf( __("You can send data collected via your lockers to Zapier and then automatically pass them to other web apps supported by Zapier. For example, to Google Docs. <a href='%s' target='_blank'>Click here</a> to learn more about Zapier.", "bizpanda"), 'https://zapier.com/help/what-is-zapier/' ); ?></p>
<p><?php _e('To connect the plugin to Zapier, please follow the steps below:', 'bizpanda'); ?></p>
</div>
<div class="onp-help-section">
<p><?php _e('1. Make sure that you have a Zapier account. If not, create one here: <a href="https://zapier.com/sign-up/" target="_blank">https://zapier.com/sign-up/</a>', 'bizpanda') ?></p>
</div>
<div class="onp-help-section">
<p><?php _e('2. Pick <strong>Webhooks</strong> and the apps where you wish to send data to. Learn more about Webooks here: <a href="https://zapier.com/apps/webhook/integrations" target="_blank">https://zapier.com/apps/webhook/integrations</a>', 'bizpanda') ?></p>
<p class="onp-img">
<img src="http://cconp.s3.amazonaws.com/bizpanda/zapier/1.jpg">
</p>
</div>
<div class="onp-help-section">
<p><?php _e('3. Select a <strong>Zap</strong> you need by clicking on <strong>Use this Zap</strong>. For example, Webkooks + Google Sheet:', 'bizpanda') ?></p>
<p class="onp-img">
<img src="http://cconp.s3.amazonaws.com/bizpanda/zapier/2.jpg">
</p>
</div>
<div class="onp-help-section">
<p><?php _e('4. While creating a Zap, select <strong>Catch Hook</strong> option:', 'bizpanda') ?></p>
<p class="onp-img">
<img src="http://cconp.s3.amazonaws.com/bizpanda/zapier/3.jpg">
</p>
</div>
<div class="onp-help-section">
<p><?php _e('5. Skip the step <strong>Pick off a Child Key</strong> if you don\'t have any preferences for this option or you aren\'t sure how to set it up:', 'bizpanda') ?></p>
<p class="onp-img">
<img src="http://cconp.s3.amazonaws.com/bizpanda/zapier/4.jpg">
</p>
</div>
<div class="onp-help-section">
<p><?php _e('6. Copy a webhook URL on the step <strong>Test Webhooks by Zapier</strong>. The option Silent Mode may be turned off or turned on, it doesn\'t have matter.', 'bizpanda') ?></p>
<p class="onp-img">
<img src="http://cconp.s3.amazonaws.com/bizpanda/zapier/5.jpg">
</p>
</div>
<div class="onp-help-section">
<p><?php printf( __('7. Paste the webhook URL on the page Global Settings -> <a href="%s" target="_blank">Zapier</a> and click Save Changes. Make sure that the options <strong>Only New Leads</strong> and <strong>Only Confirmed Leads</strong> turned off (you need to disable them for testing connection on the next step, later you can configure them as you need).', 'bizpanda'), opanda_get_settings_url('zapier') ) ?></p>
<p class="onp-img">
<img src="http://cconp.s3.amazonaws.com/bizpanda/zapier/6.jpg">
</p>
</div>
<div class="onp-help-section">
<p><?php _e('8. Pass connection test on Zapier. For that, on the page Test Webhooks by Zapier after saving the webhook URL in the settings of the plugin, click the button <strong>Ok, I did this</strong>.', 'bizpanda') ?></p>
</div>
<div class="onp-help-section">
<p><?php _e('9. While the spinner runs, open a webpage on your website where the locker is located and unlock it.', 'bizpanda') ?></p>
<p class="onp-img">
<img src="http://cconp.s3.amazonaws.com/bizpanda/zapier/7.jpg">
</p>
</div>
<div class="onp-help-section">
<p><?php _e('10. If the hook is fired successfully, you will see the success message, if not try to refresh the Zapier page.', 'bizpanda') ?></p>
<p class="onp-img">
<img src="http://cconp.s3.amazonaws.com/bizpanda/zapier/8.jpg">
</p>
</div>
<div class="onp-help-section">
<p><?php _e('11.Complete other configuration steps on Zapier and enjoy your results.', 'bizpanda') ?></p>
<p><?php printf( __('Feel free to <a href="%s">contact us</a> if you faced any troubles.', 'bizpanda'), opanda_get_help_url('troubleshooting') ) ?></p>
</div>