872 comments found.
Error title tag page/post on new version 2022.1. Please fix
Hi, can you please give me more details what is wrong? 2022.1 was actually a fix in combination with All in one SEO.
The title feature is modified with this new feature: Use iframe title for parent
http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/add-iframe-url-to-parent/add-iframe-url-as-param-same-domain http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/add-iframe-url-to-parent/add-iframe-url-as-param-remote-domainHave you saved the administration once like recommended in the update settings to generate the latest versions of ai.min.js.
Best regards, Michael
Can you please provide more details. If possible by e-mail here: https://codecanyon.net/user/mdempfle
Hi,
I have updated the plugin to 2022.2 – there the overwriting of the title only happens if the iframe really is delivering a new one.
Sorry for the inconvenience.
This is now fixed, thanks!
Thanks for the confirmation.
Hi, I need to retrieve the final redirected URL of a shortened URL in iframe. Is it possible with Advanced iFrame Pro? We cannot use any server side technology and the final site doesn’t have X-Frame header restrictions. It’s cross-domain where I don’t have access.
Hi, No – the iframe takes the urls and then the redirects happen inside the iframe.
Best regards, Michael
hi 1- can make my embedded iframe not clickable ? like only display where ever click no thing happen
2- the opposite can make my embedded iframe redirecting to url I set , Like where ever click on iframe redirecting to https://codecanyon.net/i
Yes:
2. You can also define a url with the setting. So everyone who clicks there is redirected to the link you define.
Best regards, Michael
thanks , how to do the 2 ?
Please check example 8 – there you see how an url can be defined. Hide part of the iframe has many parameters. next to the area you can define the url and a target.
This is also documented in the administration.
Best regards, Michael
I posted issue in the form but get banned for nothing !!!!!!!!!!!!!!!
Hi, This is the automated system of WordPress. Maybe simply you ip is in the blacklist there. Please give my your username to unblock you or send me a direct e-mail here: https://codecanyon.net/user/mdempfle
Best regards, Michael
btw. I checked you account. You where not banned. I only needed to approve your first posts manually to avoid spam.
How do you think a forum would look like if there is no moderation. I have 100 of “fake” accounts each day who try to post links to their sites there which have nothing todo with my plugin.
Can it replace a word(phrase) in parameter forewording??
Like when passing parameter ?name=123 becoming ?title=abc in iframe
Hi, This is not a supported feature. You would have to add this by yourself.
What you can do is to add something: http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/url-features#h49 with placheholders you can get the original value and simply add something before or after.
Best regards, Michael
replacing the key is no problem if you use placeholders.
Hi , is it possible to open the page link in new tab ? not the framed link ? like I framed https://codecanyon.net/ and when visitor click on ” Video” will open https://videohive.net/ in new tab ?
Hi, you need to check if you can apply this feature here: http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/change-links-targets . You need to be able to add javascript to videohive.net! If this is not possible you cannot change this.
Best regards, Michael
ohh no , simply I was asking , like I want to iframe link like https://codecanyon.net/ and when user click on any link in the ifram shoul open in new tab without ifram
Right. This is what you need. If the page in the iframe has no target set properly you will not be able to change this.
..
This is also only possible if you can add Javascript to the other page. Otherwise you can “view” an fixed area. See working examples here:
http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/show-only-a-part-of-the-iframeBest regards, Michael
I checked you link here:
https://www.tinywebgallery.com/blog/advanced-iframe/free-iframe-checkerebay does not allow iframing.
Best regards, Michael
Hi there,
I’ve a pre-purchase question: I’ve to show in a page of a website (our marketing webiste) a single part of another page made in other domain (our e-commerce website).
Specifically, what I’ve to do is show this calendar in our marketing page: https://snipboard.io/U0j9FP.jpg
The calendar it’s made with YITH Booking and Appointment for Woocommerce. Users must check the availability in our marketing page and then, when they clicks on whole wrapper, should be redirected in the other domain (e-commerce) where they can buy the appointment.
Is there a way to do this with your plugin? The wrapper in our marketing page should just show the calendar and at the click (in the whole wrapper area) bring users in our e-commerce website.
Thank’s for your support, Simone 
Hi,
So you would like no real interaction in the iframe but redirect them directly? Do you have access to the other page? To add some Javascript?
Because I think you have 2 topics: - showing only a part of the iframe http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/external-workaround-with-post-message - make the iframe readonly and put a link on it. http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/hide-a-part-of-the-iframeIs this what you need?
Best regards, Michael
Hi Michael,
Yes I’ve the control of both websites and I can edit all I want.
Yes I want no interaction with the iframe, just a link in our e-commerce.
Then the 2 links I have sent you should enable you to do this.
Hello It turns out the iframe cannot show the website I need which is www.indeed.com, how do I apply for a refund?
You have to to this at codecanyon directly.
Also see here: https://codecanyon.net/item/advanced-iframe-pro/5344999#item-description__qs
Please check the urls next time before you buy at: https://www.tinywebgallery.com/blog/advanced-iframe/free-iframe-checker
Best regards, Michael
Hi,
I am searching for a plugin which can open a new window without url bar en tool bar and other bars on button click.
can i do that with this plugin ?
You can change link targets but a new window without url bar has nothing todo with an iframe. This should actually be easy todo by yourself.
Maybe this is also something for you:
http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/show-the-iframe-as-layerhere you can open die new url in an iframe on your page. So you also don’t have any url bar…
Best regards, Michael
Hi,
Just bought this plugin and need your help, I have a quiz/exam page and i want footter to be buttons (Exam 1, Exam 2, Exam 3 etc)
here is the example. Example 54a: Change link targets and show the iframe in the original size with additional footer + modify the iframe
http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/show-the-iframe-as-layer#e38kindly help me out.
regards
What to you mean with “footer to be buttons”? So that if you click on links in your footer it open in an iframe? Do the elements in the footer have a css selector ? e.g. “footer a” ?
so you need to specify
change_parent_links_target=”footer a” show_iframe_as_layer=”true”
or do you mean the footer file? This is a full file you can include by yourself. This is plain html you can put in whatever you like. Go to the administration to the “show iframe as layer” section. There you find also the option to create such files and modify them with WordPres directly.
Yes you are right, buttons in footer so that i can click on it and open it in an frame.
I am very new, how do i do that ? I guess i need to create 2 pages and i have to place a code in each page ? So which code do i need ? and what shortcode i need for that buttons ?
So you don’t have a page where the links exists already?
Normally this feature is used to open existing links not in the browser or in a new window but directly in an iframe.
So you create a page with you links on and also include the shortcode like in the example pages. If you configure everything properly then you link will open in the iframe and the users do not leave you page.
Best regards, Michael
So which code do i need to place on that page ? i have 10 exam pages with 40 questions each exam, i want butttons in footer like Exam 1, Exam 2, Exam 3 so that it will open in a iframe. I don’t want to user leave the page to chose that Exam 2 or other exams.
I have used the following code,
[advanced_iframe securitykey=”my_key” use_shortcode_attributes_only=”true” src=”about:blank” id=”example54” height=”1000” width=”700” change_parent_links_target=”www.wrmpas.nl” show_iframe_as_layer=”true” enable_ios_mobile_scolling=”true” show_iframe_as_layer_header_file=”footer” show_iframe_as_layer_header_height=”200” show_iframe_as_layer_header_position=”bottom” show_iframe_as_layer_full=”original” show_iframe_loader=”true”]
does not show anything ?
The following code shows a iframe page inside my page.
[advanced_iframe securitykey=”My_key” use_shortcode_attributes_only=”true” src=”//www.tinywebgallery.com/blog/advanced-iframe” width=”100%” height=”600”]
i need Example 54a: Change link targets and show the iframe in the original size with additional footer + modify the iframe with buttons as a link
How can i use this example?
[advanced_iframe securitykey=”your key” use_shortcode_attributes_only=”true” src=”about:blank” id=”example54a” height=”1000” width=”700” change_parent_links_target=”a#linklayer6a” show_iframe_as_layer=”true” enable_ios_mobile_scolling=”true” show_iframe_as_layer_header_file=”footer” show_iframe_as_layer_header_height=”200” show_iframe_as_layer_header_position=”bottom” show_iframe_as_layer_full=”original” iframe_hide_elements=”header” hide_page_until_loaded=”true” show_iframe_loader=”true” show_iframe_as_layer_keep_content=”false”]
Not sure what you want to do with the post before.
[advanced_iframe securitykey=”my_key” use_shortcode_attributes_only=”true” src=”about:blank” id=”example54” height=”1000” width=”700” change_parent_links_target=”www.wrmpas.nl” show_iframe_as_layer=”true” enable_ios_mobile_scolling=”true” show_iframe_as_layer_header_file=”footer” show_iframe_as_layer_header_height=”200” show_iframe_as_layer_header_position=”bottom” show_iframe_as_layer_full=”original” show_iframe_loader=”true”]
does not make sense. Please read the documentation in the administration. You should start simple!
[advanced_iframe securitykey=”your key” use_shortcode_attributes_only=”true” src=”about:blank” id=”example54a” height=”1000” width=”700” change_parent_links_target=”a#linklayer6a” show_iframe_as_layer=”true” enable_ios_mobile_scolling=”true” show_iframe_as_layer_header_file=”footer” show_iframe_as_layer_header_height=”200” show_iframe_as_layer_header_position=”bottom” show_iframe_as_layer_full=”original” iframe_hide_elements=”header” hide_page_until_loaded=”true” show_iframe_loader=”true” show_iframe_as_layer_keep_content=”false”]
is also too complicated for you to start.
Create your page with you links and then start with:
[advanced_iframe use_shortcode_attributes_only=”true” src=”about:blank” id=”example54a” height=”1000” width=”700” change_parent_links_target=”a” show_iframe_as_layer=”true”]
http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/show-the-iframe-as-layer#e34 is a simple start. Do not add anything before this is not running!change_parent_links_target=”a#linklayer2” show_iframe_as_layer=”true”
are the only 2 important settings you should start with. change_parent_links_target defines the links which should be modified!
Best regards, Michael
Can I pay to have this installed and iframe installed on my website? I don’t have the time to learn any coding right now.
Yes. Please contact me here: https://codecanyon.net/user/mdempfle and send me details to check if it is possible what you need.
Best regards, Michael
Hi – when i refresh the page (frontend) sometimes i got this and my iframe cuts off
Uncaught ReferenceError: aiResizeIframe is not defined onload https://mydomain.com/:1
Source: ;aiResizeIframe(this, “false”,”1”);
any idea why?
Edit: when i activate autoptimze the error does NOT show up after page refreshes… maybe some scripts are not loading fast enough. But my iframe js file is loading after the wp js file…
Yes. please see here: https://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-checklist c) 4.
This happens if the iframe loads faster than the ai.js at the bottom of the page. This is why I added the option to include ai.js before the iframe also.
THX – i added a onlad delay of 500 ms (advanced tab) and it works fine so far. So should i let it that way or should i load the js file earlier as you suggested?
load the js file earlier. Depending on the device and bandwith a user has the 500 ms are maybe not enough. And most of the time you only need much less. So you block your users most of the time…
I just checked., The minimizer I use has changed the url. I need to update this. Will do this asap!
Please download 2021.9 and install it over the old version. Then it should work again.
Sorry for the inconvenience. The minimizer changed their urls and instead of returning an error which would have been covered they returned a website that they changed the url
.
.
Hi-Updated to 2021.9 – error gone. Seems to work. Thx a lot.
thanks for the feedback.
Advanced iframe configuration error: You have enabled the resize of the iframe for pages on the same domain. But you use an iframe page on a different domain. You need to use the external workaround like described in the settings. Also check the next log. There the browser message for this error is displayed.
I’m not using an external domain. the iframes fall under the same domain.
Where do i find the next log?
thank you!
Please check your domain settings. https://www.example.com != https://example.com This are different domains for the browser!
I don’t have a www in there. It didn’t used to have this error and i’m afraid to play with the setting since the auto neight is actually working but throwing all kids of browser errors.
I get this
ai.min.js?ver=221040:2 Advanced iframe configuration error: You have enabled the resize of the iframe for pages on the same domain. But you use an iframe page on a different domain. You need to use the external workaround like described in the settings. Also check the next log. There the browser message for this error is displayed.
Odd.
Please first update to 2021.9. The minimizer I used has change its url and is returning invalid data for the ai.min.js.
If you get the error above then the urls of the parent and the iframe do not 100% match. Because I catch the error of the browser here and only rewrite it so people understand it better. Can you please provide the shortcode and also the url of the parent?
Normally you also get a 2nd error below from the browser which tells you the same in a more “technical” way. It does not have to be a www. Also http / https or any other subdomain is causing this problem. On the external workaround tab a solution for subdomains is also explained.
Best regards, Michael
[advanced_iframe src=”https://domain.com/charts/2021/candlestick/honesty.html” class=”nolazy” scrolling=”no”]
So I can’t put the live domain cause I don’t want it linking back here in analytics.
So in the iframe should it be
src=”domain.com/charts/2021/candlestick/honesty.html”
I used to have it
src=”/charts/2021/candlestick/honesty.html”
But chanced it thinking that was causin the domain error.
I can’t play around on hte live site. but i’ll find another website I can add the plugin and play around with settings and stuff.
I have updated to the latest version.
Thank you for your time!
This error is coming from the browser. Is there maybe a redirect somewhere so the domain changes then?
Can you please post the full error? also the one coming from the browser. There should be something below mine.
Best regards, Michael
Hello, i have a question. My customer have a expired support license from your plugin, but if work i will get a new license for me and apply on his site.
I want to know if is possible to fix this problem with your plugin.
https://dev.pixeel.net/despachorapido/cotacao/ When you add more items (after add city/package) and press https://nimb.ws/EHc0LZ, the iframe don’t turn big.i only get a 404 when pressing the 2nd link. so please give me a clicking path to under stand the problem…
Hello! I’ve recently bought the plugin and I’ve managed to implement some iframes that pull a parameter from the url. They seem to work on any browser except safari. At least, on the iphone, it just does not get the parameter in the iframe. I’ve used the following shortcode [advanced_iframe use_shortcode_attributes_only=”true” src=”{url}” width=”100%” height=”1000” url_forward_parameter=”u_id”] where {url} is the address that needs to recieve the parameter. Any idea on why it isn’t working on iphone / safari or what should I do to make it work?
PS: I’ve also tried to write on the forum (the same username as here), but unfortunately, the system banned me because I tried to edit the post so that you can see the links / shortcodes.
Can you share any links? Safari behaves differently very often, Apple does not treat iframes properly. Your short code looks very normal.
Yes – https://vipteamasigurari.com/agent/besliu-anca-mariana/ here, if you press on one of the first five insurance types – let’s say “Asigurare pentru calatorie”, the link will pass a parameter, that the shortcode should pull and access an iframe with the calculator specific for the respective agent. If you try it on any other browser except safari, it works. When i try it on iphone, it just loads the iframe but without the parameter so it just loads a generic version of the iframe, without being specific to the agent that i came from.
A missing parameter does not look like a missing cookie. I don’t have iphone here right now. Is the parameter in the url there?
You can enable the debug mode on an iphone by adding ?aiEDC=true to your url. then you get a red bar on the bottom where you get many details. I also see some Javascript errors coming from a magnificPopup. Maybe this is causing a problem in IOS.
Best regards, Michael
The parameter is in the URL and those errors have nothing to do with the iframe, they’re just referring to a jquery function from another plugin, the thing is that the iframe loads, but it just doesn’t open with the parameter, in comparison to other browsers.
have you checked the ?aiEDC=true ? Is the parameter really missing?
Javascript errors can cause the next Javascript to fail. This is why I ask if the Javascript is the issue or the url.
Best regards, Michael
Hi, I’m having some difficulties: 1 – Shortcode:
[advanced_iframe use_shortcode_attributes_only = “true” src = “https://catalog.streamusic.live/” width = “100%” url_forward_parameter = “ALL” show_iframe_loader = “true” enable_responsive_iframe = “true” itioframe_heighten”_ratioframe = “1 true” false “use_post_message =” false “]
Here, I need to increase the iframe height to 600px, but only in mobile mode: https://paste.pics/DBPBR
In Desktop mode everything is fine: https://paste.pics/DBPD9
2 – How to place the Music Catalog iFrame occupying the entire area on a new alternative page? Preview desktop mode: https://paste.pics/DBR5N Preview mobile mode: https://paste.pics/DBR66
3 – How to disable the “inspect element” of the browser so that it is not possible to see the iFrame source and URL? Examples: https://paste.pics/DBRA3 https://paste.pics/DBRALCan you help? thank you
Hi,
1. I assume you don’t have access to the other page. So I recommend you use:
http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/set-height-with-media-query2. I don’t understand the problem. Can you please give more details?
3. You can no rally do this as it can easily done with F12 also. You can “hide” it a little bit. See here: http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/hide-url-in-html
Best regards, Michael
Hi, I’ll explain my question better: 2 – I had bought the Addon Widget Ninja Popups which by ERROR in this case put the iFrame in me like this: https://streamusic.live/en/music-catalog/ but this plugin caused me other problems so I will delete it and use it your. So I want to know how to get iFrame that same way with your plugin.
Thank you, Luis
Hi, For popups I support the following things.
http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/show-the-iframe-as-layerIt this what you need?
Best regards, Michael
Hi, I still have two problems: 1 – On my Mac’s Chrome browser the Music Catalog’s iFrame doesn’t appear: https://prnt.sc/1hyvyaw
2 – I put this shortcode as you suggested but nothing has changed as it is still possible to inspect the source code and see the iFrame URL: [advanced_iframe src=”//catalog.streamusic.live” use_shortcode_attributes_only=”true” width=”800” height=”600” id=”hidden_file” src_hide=”0”] https://prnt.sc/1hywgihThe Music Catalog will only be shown in the customer’s user account and in their Dashboard so we don’t want to show the iFrame URL.
Thank you for help, Luis
1. You need to check the browser console for errors. 2. Please read the documentation of -> Right click handling. Not the right click of the main page is disabled. Only the one from the iframe itself if possible + the url is obfuscated! You can add this as well if you add the provided Javascript snipplet. And the one in the iframe will only work for the external workaround you cannot use.
Still. Everyone who knows the developer tools (F12) can easily get the url. There is no way to completely hide the url!
I have already disabled all plugins and everything remains the same… please fix this as it is a problem with your plugin, I will send you the accesses to my Wordpress + SSH server by email.
Thank you, Luis
Hi, I answered to your e-mail. Still want to mention that there is nothing I can fix as the problem seems to be the page in the iframe running in an iframe…
Best regards, Michael
Hello Michael, I apologize for having bought your plugin as I can’t use it in my Music Catalog. Please accept Refund as I will not use it. Thank you Luis
refunded
Thank you! Good Support ❤️
Can your iframe show full content height for site made with this script—FreshRSS.org (one click install in cPanel) eg. https://bon.bonology.com/p/i/ ... there is index.php and a index.html in the folder (I put a banner in both pages, nothing shows up??? That’s why I suspect your plugin may not do it as well?? Test and confirm (becos your plugin will have no use if you can’t even inframe a site thats mine.
You can check your page here: https://www.tinywebgallery.com/blog/advanced-iframe/free-iframe-checker. So it can be iframed I would say.
Best regards, Michael
No, it failed (autoheight doesn’t work)...
Because the RSS script is at a subdomain (it has to be), I must paste some code in the script, right?
So, I tried to place your demo code
<script> var iframe_id = “example6”; var updateIframeHeight = “true”; var hide_page_until_loaded_external = “true”; var iframe_hide_elements = ”#iframe-header,#iframe-footer,#some-images”; var iframe_content_id = ”#iframe-content”; var iframe_content_styles = “color:#ff0000”; </script> <script src=”https://www.tinywebgallery.com/blog/wp-content/plugins/advanced-iframe/js/ai_external.js”></script>
in all the index.php & index.html… there are many (I placed in all of them)... All no action. And finally, I pasted in the last one in the “i” folder… The site dies.
Do you mind to take a look at the script (free at FreshRSS.org) to see where should place the code for it to work?
NB: I tested same domain iframing teh frontapage (bonology.com), it works.
You need to use YOUR ai_external.js! Not mine! Mine has my path and settings!
It is like a car. You try to use my car with your keys – this does not work.
Please follow the instructions on the external workaound tab. Only include ai_external.js! Not my demo settings if you don’t need them.
Do the simple thing first like described in the administration. There auto height is already preconfigured! Not sure what you do at bonology. But auto height cannot work with my ai_external.js.
Please check this: http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-checklistBest regards, Michael
> You need to use YOUR ai_external.js! Not mine! So I used the “simple” <script src=”https://bonology.com/wp-content/plugins/advanced-iframe/js/ai_external.js”></script> to expriment (No idea what’s the difference? To me, its the same js file… Anyway, lets move on…)
I placed the <script> in every single index.php/html except the one in the “i” folder as this will crash the site.
And I used your block <!- wp:ai/ai-block {src“} /->
Also tried [advanced_iframe src=”https://bon.bonology.com/p/i/”]
The result: SAME. Doesn’t work.
Then I noticed “Add enable_external_height_workaround=”true” to your shortcode!”
So, I used [advanced_iframe src=”https://bon.bonology.com/p/i/” enable_external_height_workaround=”true”] Also played with options…
Still the same. No change/No action to iframe at all. What am I missing?
Why wouldn’t you take a look at the script and let me know the simplest possible way to achieve the “autoheight”?
There is a big difference in the script. The base url is now yours. And not mine anymore.
I don’t see ai_external.js when I open https://bon.bonology.com/p/i/ This is the one where you need it. You say that the site would crash. what do you mean? Any Javascript errors? This needs to be solved.
Not sure what you mean – look at the script?
For me it looks like in your /i/ folder files is something which makes a problem. So you should add the script and check the Javascript console for errors like explained in the checklist.
Best regards, Michael
> I don’t see ai_external.js when I open https://bon.bonology.com/p/i/
- There are dozen of Index.php & index.html in the script package, I pasted the <script> in all of them except the one in “i” folder. Chances are good you’re looking at the index.php in the “i” folder (also meaning this is likely the “frontpage”)
> You say that the site would crash. what do you mean?
- The site will crash if I paste the <script> in the index.php in “i” folder. That’s why I asked you how to insert the <script> (in this file)?
> Not sure what you mean – look at the script?
- YES… This is what it look like:-
<?php // > Error: FreshRSS requires PHP, which does not seem to be installed or configured correctly! <!—
- ** BEGIN LICENSE BLOCK ** MINZ – A free PHP framework
- ** END LICENSE BLOCK **
require(DIR . ’/../../constants.php’); require(LIB_PATH . ’/lib_rss.php’); //Includes class autoloader
$migrations_path = APP_PATH . ’/migrations’; $applied_migrations_path = DATA_PATH . ’/applied_migrations.txt’;
if (!file_exists($applied_migrations_path)) { require(APP_PATH . ’/install.php’); } else { session_cache_limiter(’’); }
if (!file_exists(DATA_PATH . '/no-cache.txt')) {
require(LIB_PATH . '/http-conditional.php');
$currentUser = Minz_Session::param('currentUser', '');
$dateLastModification = $currentUser === '' ? time() : max(
@filemtime(join_path(USERS_PATH, $currentUser, 'log.txt')),
@filemtime(join_path(DATA_PATH, 'config.php'))
);
if (httpConditional($dateLastModification, 0, 0, false, PHP_COMPRESSION, true)) {
Minz_Session::init('FreshRSS');
Minz_Session::_param('keepAlive', 1); //To prevent the PHP session from expiring
exit(); //No need to send anything
}
}
$error = false;
try {
// Apply the migrations if any
$result = Minz_Migrator::execute($migrations_path, $applied_migrations_path);
if ($result === true) {
FreshRSS_Context::initSystem();
$front_controller = new FreshRSS();
$front_controller->init();
Minz_Session::_param('keepAlive', 1); //To prevent the PHP session from expiring
$front_controller->run();
} else {
$error = $result;
}
} catch (Exception $e) {
$error = $e->getMessage();
}
if ($error) {
syslog(LOG_INFO, 'FreshRSS Fatal error! ' . $error);
Minz_Log::error($error);
die(errorMessage('Fatal error', $error));
}
> For me it looks like in your /i/ folder files is something which makes a problem. So you should add the script and check the Javascript console for errors like explained in the checklist.
- Yes, the site will crash if I paste anything in the file above. - And I really don’t know what to do next? - I really wanna buy your plugin as I also interested to extract some content from here and there (which you said is possible even from an alien page out there in the Internet). So, please help, and lets start with this one first. - BTW, I don’t know hoe to check the Javascript console for errors
Buddy, I just thought of a new idea—In case you couldn’t resolve the problem above… What about just pluck out certain area of the page? In this case, the most important section is the “posts listing” where you can click open to read the full post… Can you show me how to do this at the same time?
The file above is a PHP script! Not a html where you can paste a line of Javascript in. So if you like to add Javascript to this page I recommend you simply ask the developers of this script where to place such code. Or read their documentation. Most likely it is explained there. Maybe they have a subfolder with templates where you can add such things. If I check github https://github.com/FreshRSS/FreshRSS/blob/edge/app/layout/layout.phtml could be the right place.
Btw. The checklist will tell you how to check the JavaScript console. It is describe there even with a screenshot.
Selecting only an area which is opening later on to a specific size is normally not the best solution! Here you find a demo: http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/show-only-a-part-of-the-iframe
Still I recommend you understand how your application does work and how to add some Javascript there.
So the only problem I see right now that you have a tool where you don’t know how to add Javascript properly to it. Try the layout.phtml I have looked up for you. This seems like a good first idea. If this does not work Try to get an answer from the developers here: https://github.com/FreshRSS/FreshRSS/discussions.
Best regards, Michael
I am surprised you don’t know how to handle PHP… I thought your script is written in PHP?
1. If your <script> cannot be pasted in php, then I imagine there is hardly any website this can be done (as most website are dynamic, therefore it will be some kind language like PHP)... What takes?
2. Can I ask for support? Of course I can ask, but FreshRSS is FREE software - you don’t expect professional help. Anyway, I did ask (even before I asked you - see https://github.com/FreshRSS/FreshRSS/issues/3698).
3. So far, one of the contributors told me something stupid like making an “extension” just to paste the motherfucking <script>...
“I think the best way would be to make an extension to handle that for you. Check other extension to check how it is done. For instance, the Latex extension is a good example.”
Does it make sense to you? I mean if I know how to make an extension, do I even need your plugin?
4. I am guessing that guy also don’t know what to do with your <script>. Unless you know what to do (I have asked them about “phtml”, doubt there will be an answer because there is no such file in my installed directory), guess I better take it as there is no solution.
That said, hope I may find other use for your plugin… Else, I really don’t know how to support you…?
Another guy suggested this one—“That’s app/layout/layout.phtml from the root. But you’ll just want to copy https://framagit.org/Lapineige/FreshRSS_Extension-ReadingTime or something. Except for this one line: https://framagit.org/Lapineige/FreshRSS_Extension-ReadingTime/-/blob/29a744a8ab950f41e6f8bd3dbaa830e0ec91c189/extension.php#L4" https://github.com/FreshRSS/FreshRSS/issues/3698#issuecomment-880133059 Pretty sure you can help to make the extension he suggested?
Show part of the iframe Based on your 1st sample, where/how do you get these numbers/info: -
height=”2000” width=”1000” show_part_of_iframe_x=”290” show_part_of_iframe_y=”650” show_part_of_iframe_width=”550” show_part_of_iframe_height=”320” hide_elements=”.info,#sidebar” content_id=”#main” content_styles=”margin-top:0px;width:910px”
Or is a video/documentation explaining how to find these values?
“I am surprised you don’t know how to handle PHP”. Are you joking? You are the one who does not know the difference between php and a script tag. If you continue like that I will stop writing here.
1. php is a programming language. While the script part is part of the outcome the script can generate. So you can easily make a
echo ”<script …> ”; in a php file. The problem you still have that it is then at the completely wrong place. The script has to be inside the rendered html. This is why I told you you need to put this into the template. app/layout/layout.phtml seems the right place for me. Also the extension seems easy for me: https://framagit.org/Lapineige/FreshRSS_Extension-ReadingTime/-/blob/master/extension.php . There you only need to add the url into it. So you need to copy this. Figure out how to install this extension and you are fine.
2. Not sure what you mean with support. You still use the free version of my plugin anyway. Auto height is supported there. So not sure what you aim for. I offer paid support. If I should do the whole setup for you simply write me an e-mail to get a quote.
3. Yes – this would be an option. The extension is for including my script. Not replacing it. The extension is only few lines of code as you see above.
4. He gave you an option how to include a script. This is what you asked for. This is what he told you.
Not sure why you want to support me. All the options are clear. You either make a plugin or check if the layout.phtml is located where they say and add it script here where the documentation is telling you.
About the show only a part of the iframe. There is a full documentation in the plugin.
If you see here:
http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/show-only-a-part-of-the-iframe-> screenshots of the administration. There is also an area selector: http://www.mdempfle.de/examples/configurator/advanced-iframe-area-selector.html where you can simply select the area with your mouse.
Still I think using the area selector ist not the best choice for you.
Best regards, Michael
Take it easy.
1.
> So you can easily make a echo ”<script …> ”; in a php file…
But wait,
> The script has to be inside the rendered html.
—HAS TO BE? That means the [echo ”<script …> ”] won’t work, right?
> put this into the template. app/layout/layout.phtml
—I told you this file doesn’t exist in installed directory, I looked everywhere, there is also no such folder app/layout/layout.phtml Why don’t you install it to see for yourself, it only one click using cPanel.
> Also the extension seems easy for me: https://framagit.org/Lapineige/FreshRSS_Extension-ReadingTime/-/blob/master/extension.php . There you only need to add the url into it. So you need to copy this. Figure out how to install this extension and you are fine.
—Good and I love to try. Did you mean to make an extension with this (replace ‘readingtime.js’ with just the URL to your js ”<script>...</script>”?
<?php class ReadingTimeExtension extends Minz_Extension { public function init() { Minz_View::appendScript($this->getFileUrl(‘readingtime.js’, ‘js’)); } }
Else, please show me (the whole thing)... Sorry, I am coding moron.
3. The extension is for including my script. The extension is only few lines of code as you see above.
—Good to know the extension is included. I await your few lines [to make an extension].
4. He gives me links that I don’t understand… you consider this a solution? I asked him to make an extension… Good thing is you gonna show us how to make an extension for your script. We await your expert solution.
Finally,
> You either make a plugin or check if the layout.phtml is located where they say and add it script here where the documentation is telling you.
—You will show us the Plugin (extension?), thank you. —No ideawhere is the file layout.phtml —And no documentaion… certainly not on making extension or how to make your plugin works.
> Still I think using the area selector ist not the best choice for you.
—No idea why you said that? I am happy if it works… Right now, nothing works, not “auto height”, not “area selector” (I will continue to study this one …). So, please tell me #3 first.
Thank you.
1. As FreshRss seems to have a template system most likely the script will be on top of the html or below. Both locations are not right.
Maybe during installation they rename some files. So you would have to look for something similar. I will for sure not install this as you have not hired me and analyzing scripts from someone else is not included in free support.
About the extension. Yes. I assume you need to rename the file or folder of the extension. replace the js file and try. They have for sure a documentation for extensions.
3. Please note. It is not my responsibility to write you a plugin for an other external script. Even when you would buy my plugin this is beyond included support. Custom coding you would need a developer if you cannot do this by yourself.
You can try the area selector already in the free version in the preview. Enable the pro administration in the administration and then you have this feature available there. It only works in the preview!
Best regards, Michael
How much do you want to make your plugin works on FreshRSS?
Please contact me directly: https://codecanyon.net/user/mdempfle
pre-sale question. We need insert an advanced iframe but not with a shortcode like [[advanced_iframe], is possible add with html or js? Thanks
pre-sale question #2 – Is possible change css styles to a advanced iframe imported content?
You can use the standalone version with php see here: http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-standalone
or invert the logic in in the iframe is running wordpress see here: http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/share-content-from-your-domain-add-ai_external-js-localBest regards, Michael
If I purchase this plugin, will the iframes on this page work? https://dotcomwp.com/11986-2/
I cannot really tell. If I check the url with http://www.tinywebgallery.com/blog/advanced-iframe/free-iframe-checker I see a kind of error page. The same if I use the url directly. So you maybe can check by yourself.
Best regards, Michael
Hello, I am trying to create a iframe on my domain that loads a javascript file inside that iframe. How is this done ? Thanks
You want to do this with the plugin? See in the administration o the tab “Add/include files”. There you can configure this.
Best regards, Michael
Thanks, i am not sure where to put it exactly
i am trying to include this <script async=”” id=”dutchie—embed__script” src=”https://www.getdutchie.com/api/v2/embedded-menu/Xfoxv9CnjELdjTE7F.js”></script>
it looks like it needs more than just url
This slippet you need to include directly into the page in the iframe. async is not supported. How is your setup? Same domain? different domain? Because if you are on a different domain you need to include ai_externa.js for this. So you can include your JS also directly.
Best regards, Michael