Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 29. Mar 2024, 07:17

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: 25. May 2018, 05:43 
Offline

Joined: 10. Sep 2017, 04:26
Posts: 11
Hi all,

I have a site with a PhpBB Forum (currently in the final stages of testing before going live).

When a user puts a link in a post it works fine in the forum. But when the forum is framed by Advanced iFrame it doesn't (it still looks like a link and you can click on it but it either does nothing or returns a blank framed page depending on the browser you're using). If I click on a link in the same forum as a stand-alone page (i.e. not iFramed) it works fine.

Is there a setting that can remedy this? I can't find one that may be relevant.

thanks,

Craig


Top
 Profile  
 
PostPosted: 27. May 2018, 12:16 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I'm iframing this phbbb forum also and there are no problems with links. Do you get any Javascript errors maybe?
Maybe you have some additional processing when a link is clicked which fails in an iframe

Best, Michael


Top
 Profile  
 
PostPosted: 27. May 2018, 23:49 
Offline

Joined: 10. Sep 2017, 04:26
Posts: 11
Hi Michael, thanks for your reply. I've dug a little deeper and it seems I actually only have a problem with links within individual posts/replies not being clickable within the iFrame. All other links (topics, users etc) in the forum are ok.

No errors etc apparent. I have a persistent horizontal nav is all...?


Top
 Profile  
 
PostPosted: 28. May 2018, 21:06 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Not sure how I can help you without having an url? Is the forum live now?

Best, Michael


Top
 Profile  
 
PostPosted: 28. May 2018, 22:42 
Offline

Joined: 10. Sep 2017, 04:26
Posts: 11
yes just not available to members yet.

If you go here http://m49.siteground.biz/~epi4dogs/forum-embed/ >> Epi4Dogs Forum >> including FB URL link.... >> then click on Facebook link you'll see what I mean.

Many thanks


Top
 Profile  
 
PostPosted: 29. May 2018, 11:43 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
This is your problem:
Refused to display 'https://www.facebook.com/epi4dogs' in a frame because it set 'X-Frame-Options' to 'deny'.

Facebook does not allow to be iframed.

You need to add target="_blank" to external links. You can check if there is already a mod for this.

If not my plugin can also do this!
See http://www.tinywebgallery.com/blog/wp-admin/admin.php?page=advanced-iframe.php ->
Modify the iframe -> Change iframe links/forms

Please note. You configuration to at the current iiframe url to the parent is not working!
map_parameter_to_url="page" is missing because you use the free version. Adding the url is part of the pro version.

Best, Michael


Top
 Profile  
 
PostPosted: 2. Jun 2018, 10:36 
Offline

Joined: 10. Sep 2017, 04:26
Posts: 11
Thanks, FYI I found an extension and it works! https://www.phpbb.com/customise/db/extension/elonw/

But I'd rather use the AiFPro to do this. I have navigated to the settings you describe but am not sure how to set them so that only external URLs open in a new window. I think these are the options though:

> Change iframe links/forms:
> Change iframe links/forms target value

I've read your sections on these two options but it's too detailed for a non-developer like me and I don't understand what I need to add to the boxes above and/or the shortcode? Can you tell me what setting etc I need to make external URLs open in a new window please?

Also, I bought the Pro version before and updated it recently so have no idea why the free version was there again. I've reinstalled the latest Pro version and it seems to be working properly again so thanks for letting me know.

Craig


TinyWebGallery wrote:
This is your problem:
Refused to display 'https://www.facebook.com/epi4dogs' in a frame because it set 'X-Frame-Options' to 'deny'.

Facebook does not allow to be iframed.

You need to add target="_blank" to external links. You can check if there is already a mod for this.

If not my plugin can also do this!
See http://www.tinywebgallery.com/blog/wp-admin/admin.php?page=advanced-iframe.php ->
Modify the iframe -> Change iframe links/forms

Please note. You configuration to at the current iiframe url to the parent is not working!
map_parameter_to_url="page" is missing because you use the free version. Adding the url is part of the pro version.

Best, Michael


Top
 Profile  
 
PostPosted: 2. Jun 2018, 11:43 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi Craig,

This config is really not easy as you need to identify external links in a jquery syntax:

a:not([href^='http://m49.siteground.biz']) -> but at Wordpress does replace [] you need to specify

a:not({{href^='http://m49.siteground.biz'}}) like described at "Change iframe links/forms target"

change_iframe_links="a:not({{href^='http://m49.siteground.biz'}})" change_iframe_links_target="_blank"

Best, Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy