To enter a simple iframe please go to the administration and follow the instructions on the basic settings tab. There you can either use a basic shortcode and set the settings in the administration or overwrite the settings directly in the shortcode. Please also read the FAQ and look at the free and pro examples.
', 'advanced-iframe');
_e('Advanced users that have their own server might also set up a reverse proxy if the iframe page is on a different domain and cannot use the "External workaround". See this blog for details.
', 'advanced-iframe');
_e('If you mix http and https read this blog. Parent https and iframe http is not supported by any browser anymore!
', 'advanced-iframe');
aiPostboxClose();
}
function printDonation($devOptions, $evanto, $closedArray) {
global $isFreemius, $isFreemiusMigration, $ai_fs, $showFreemiusMigration;
$isRegistered = $isFreemiusMigration && $ai_fs->is_registered() && $ai_fs->is_tracking_allowed();
$isOnlyRegistered = $isFreemiusMigration && $ai_fs->is_registered();
if ($evanto) {
echo '
';
_e('Advanced iFrame Pro - Quick start guide, plugin options, widget, vote for the plugin on code canyon', 'advanced-iframe');
echo '
';
if (!$isFreemius) {
// Registration
aiPostboxOpen("id-options-registration", "Registration", $closedArray);
echo '
';
} else if ($isRegistered) {
// Manage Freemius
aiPostboxOpen("id-options-manage", "Manage Freemius", $closedArray);
_e('
Advanced iFrame Pro licenses are managed through Freemius. Freemius comes with a friendly self-served User Dashboard giving you the freedom to manage subscriptions, payment methods and licenses, view their payments history, update billing information, download invoices, and more.
', 'advanced-iframe');
_e('
Here’s a direct link to your User Dashboard: https://users.freemius.com/store/6172
', 'advanced-iframe');
echo '
';
_e('You can also upgrade or buy a new license in the dashboard. Go to "Websites", select any of the sites and then on the right side you can manage your license and also get a new one.', 'advanced-iframe');
echo '
';
_e('Migrated licenses cannot be upgraded. Please select "Purchase another license" and use the coupon "CodeCanyonMigration" for a discount. The coupon can be used once per user for a 5 or 50 user license till the 31.12.2025!', 'advanced-iframe');
echo '';
$pricingUrl = $ai_fs->get_upgrade_url();
_e('
';
_e('Upgrade your license', 'advanced-iframe');
echo ' ';
$checkoutUrl = 'https://checkout.freemius.com/plugin/13759/plan/22977/currency/eur/';
_e('';
_e('Get a new license', 'advanced-iframe');
echo '
';
}
aiPostboxClose();
printQuickstartGuide($closedArray);
_e('
Plugin options
', 'advanced-iframe');
// Display
aiPostboxOpen("id-options-display", "Display options", $closedArray);
echo '
';
aiPostboxClose();
// Debug/validation
aiPostboxOpen("id-options-debug", "Validation of iframes/Debug console", $closedArray);
echo '
';
aiPostboxClose();
// Check/Monitoring
aiPostboxOpen("id-options-check-monitoring", "Checking/Monitoring of iframes", $closedArray);
echo '
';
aiPostboxClose();
// Other iframe solutions
aiPostboxOpen("id-options-other-iframe", "Support for other iframe solutions", $closedArray);
echo '
';
aiPostboxClose();
// Share part of your content
aiPostboxOpen("id-options-share", "Share part of your content", $closedArray);
echo '
';
aiPostboxClose();
// Technical
aiPostboxOpen("id-options-technical", "Technical options", $closedArray);
echo '
';
aiPostboxClose();
// Security/delete
aiPostboxOpen("id-options-delete", "Security/Delete options", $closedArray);
echo '
';
aiPostboxClose();
_e('
Widget, vote
', 'advanced-iframe');
aiPostboxOpen("id-options-widget", "Advanced iFrame Pro Widget", $closedArray);
_e('The pro version also does offer a widget where you can include the iframe. The usage is really simple. Go to Appearance -> Widgets and insert the shortcode you would normally put into a page into the text field of the "Advanced iFrame Pro Widget".', 'advanced-iframe');
aiPostboxClose();
aiPostboxOpen("id-options-vote", "Vote for the plugin", $closedArray);
_e('Thank you for getting Advanced iFrame Pro at CodeCanyon.
', 'advanced-iframe');
_e('Please feel free to leave an item rating from your items download page if you haven\'t already done so.', 'advanced-iframe');
_e('
Please get in contact with me if you have problems because most of the issues are easy to solve. But at least tell me what you did not like, so I can improve this. Also make sure that you took a look at the quick start guide to make sure the feature you like can be used!
', 'advanced-iframe');
aiPostboxClose();
} else {
echo '
';
_e('Advanced iFrame - Upgrading to Advanced iFrame Pro, quick start guide, plugin options', 'advanced-iframe');
echo '
';
aiPostboxOpen("id-options-pro", "Upgrading to Advanced iFrame Pro", $closedArray);
if ($isFreemiusMigration) {
_e('
Advanced iframe is free for personal use and the Pro version a bargain for your business.
', 'advanced-iframe');
_e('
Important: if you upgrade to the pro version you need to change the path of ai_external.js because of a different main directory. For more details see here.
', 'advanced-iframe');
} else {
_e('
Advanced iframe is free for personal use and the Pro version a bargain for your business. It has a limit of 10.000 views a month without a notice text, which should normally not been hit by a personal website.
', 'advanced-iframe');
}
$freemius_css = $isFreemiusMigration ? " signup_account_container_freemius" : "";
$freemius_inner_css = $isFreemiusMigration ? " signup_inner_freemius" : "";
echo '
';
echo '
';
if ($isFreemiusMigration) {
echo '
';
_e('OPT-IN Benefits', 'advanced-iframe');
echo '
- ';
_e('Automatic removal of the powered by message', 'advanced-iframe');
echo '
- ';
_e('Boxes in the administration remembers their state.', 'advanced-iframe');
echo '
- ';
_e('Additional sections on the help tab.', 'advanced-iframe');
echo '
- ';
_e('No OPT-IN message in the administration', 'advanced-iframe');
echo '
- ';
_e('Exclusive coupons', 'advanced-iframe');
echo '
- ';
_e('More benefits are planned for the next versions', 'advanced-iframe');
echo '
';
echo '
';
}
echo '
';
_e('Pro Version Benefits', 'advanced-iframe');
echo '
';
if ($isFreemiusMigration) {
echo '
- ';
_e('Multi site licenses', 'advanced-iframe');
echo '
- ';
_e('Monthly, yearly, lifetime licenses', 'advanced-iframe');
echo '
';
}
echo '
';
if ($isFreemiusMigration) {
_e('
* If you do OPT-IN the support message is automatically removed and you get the additional benefits described. Please note that for exclusive coupons you need to allow marketing offers in your Freemius account!', 'advanced-iframe');
} else {
_e('
* After 10.000 views/month the iframe is still working but over all iframes a small "powered by" notice with a link to the pro version is shown. If you hit this limit, and you qualify for the free license please contact the advanced iframe team to get a version with a higher limit.
If you use the Advanced iFrame on a non-personal website please first test the plugin carefully before buying. After that it is quick and painless to get Advanced iFrame Pro. Simply get Advanced iFrame Pro on CodeCanyon and be pro in a few minutes!
', 'advanced-iframe');
}
if (!$isFreemiusMigration) {
_e('
Current status: ', 'advanced-iframe');
echo get_option('default_a_options') / 100 . ' % of views for this month used.';
}
_e('
', 'advanced-iframe');
aiPostboxClose();
printQuickstartGuide($closedArray);
_e('
Plugin options
', 'advanced-iframe');
// Display
aiPostboxOpen("id-options-display", "Display options", $closedArray);
echo '
';
aiPostboxClose();
// Debug/validation
aiPostboxOpen("id-options-debug", "Validation of iframes/Debug console", $closedArray);
echo '
';
aiPostboxClose();
// Check/Monitoring
aiPostboxOpen("id-options-check-monitoring", "Checking/Monitoring of iframes", $closedArray);
echo '
';
aiPostboxClose();
// Other iframe solutions
aiPostboxOpen("id-options-other-iframe", "Support for other iframe solutions", $closedArray);
echo '
';
aiPostboxClose();
// Technical
aiPostboxOpen("id-options-technical", "Technical options", $closedArray);
echo '
';
aiPostboxClose();
// Security/delete
aiPostboxOpen("id-options-delete", "Security/Delete options", $closedArray);
echo '
';
aiPostboxClose();
}
}
?>