Jump to content

Community

External Links Rich Embed [Support Topic]


Recommended Posts

I integrated my IP.board forum into an SSO system with my site, using a custom remote comment system but I have encountered a problem with the plugin.

When a user enters a link on the forum, the oembed is successfully created with links to the images correctly but when one views the comment via the site, it has a problem with the image url:

Example:

 

<div class="externalLinkRichEmbed">
	<div class="ipsRichEmbed" style="max-width: 500px;  border: 1px solid rgba(0,0,0,0.1); ">
		<div class="ipsRichEmbed_masthead ipsRichEmbed_mastheadBg ipsType_center">
			<a href="https://--.it/articolo/7572-dirt-rally-20-game-of-the-year-e-disponibile-da-oggi.html" style="background-image: url( 'https://--.it/upload/gallery/1557/dirt-rally-20-1430506358.jpg' ); background-position: center; background-repeat: no-repeat; background-size: cover; height: 120px; display: block;" rel=""><img alt="dirt-rally-20-1430506358.jpg" class="ipsHide" data-src="https://--.it/upload/gallery/1557/dirt-rally-20-1430506358.jpg" src="<___base_url___>/applications/core/interface/js/spacer.png"></a>
		</div>

		<div style="padding: 10px;">
			<h3 class="ipsRichEmbed_itemTitle  ipsTruncate ipsTruncate_line  ipsType_blendLinks">
				<span><img alt="6554b6be8c0d829a8bf63ae0c82cf121_link.pn" data-src="<___base_url___>/uploads/set_resources_6/6554b6be8c0d829a8bf63ae0c82cf121_link.png" src="<___base_url___>/applications/core/interface/js/spacer.png"></span> <a href="https://---.it/" style="text-decoration: none; margin-bottom: 5px;" title="Test" rel="">Test</a>
			</h3>

			<div class="ipsType_light">
				--.IT
			</div>

			<hr class="ipsHr"><div class="ipsSpacer_top ipsSpacer_half" data-ipstruncate="" data-ipstruncate-size="3 lines" data-ipstruncate-type="remove" style="overflow-wrap: break-word;">
				<span>Test</span>
			</div>
		</div>
	</div>
</div>

how do I display the correct URL instead of <__base_url__>?

Also, isn't it possible to bring up the site favicon instead of the link icon?

error_oembed.png.58c5945222244bceca29be5f72819228.png

Link to post
Share on other sites
  • Replies 187
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

What's new in 1.3.2: Bug Fix: Non-latin characters (Arabic, Cyrillic, Aramaic, Japanese...) support.

Hope it will soon release

This should be default IPS i will purchase soon

Posted Images

15 hours ago, Askancy said:

I integrated my IP.board forum into an SSO system with my site, using a custom remote comment system but I have encountered a problem with the plugin.

When a user enters a link on the forum, the oembed is successfully created with links to the images correctly but when one views the comment via the site, it has a problem with the image url:

Example:

 


<div class="externalLinkRichEmbed">
	<div class="ipsRichEmbed" style="max-width: 500px;  border: 1px solid rgba(0,0,0,0.1); ">
		<div class="ipsRichEmbed_masthead ipsRichEmbed_mastheadBg ipsType_center">
			<a href="https://--.it/articolo/7572-dirt-rally-20-game-of-the-year-e-disponibile-da-oggi.html" style="background-image: url( 'https://--.it/upload/gallery/1557/dirt-rally-20-1430506358.jpg' ); background-position: center; background-repeat: no-repeat; background-size: cover; height: 120px; display: block;" rel=""><img alt="dirt-rally-20-1430506358.jpg" class="ipsHide" data-src="https://--.it/upload/gallery/1557/dirt-rally-20-1430506358.jpg" src="<___base_url___>/applications/core/interface/js/spacer.png"></a>
		</div>

		<div style="padding: 10px;">
			<h3 class="ipsRichEmbed_itemTitle  ipsTruncate ipsTruncate_line  ipsType_blendLinks">
				<span><img alt="6554b6be8c0d829a8bf63ae0c82cf121_link.pn" data-src="<___base_url___>/uploads/set_resources_6/6554b6be8c0d829a8bf63ae0c82cf121_link.png" src="<___base_url___>/applications/core/interface/js/spacer.png"></span> <a href="https://---.it/" style="text-decoration: none; margin-bottom: 5px;" title="Test" rel="">Test</a>
			</h3>

			<div class="ipsType_light">
				--.IT
			</div>

			<hr class="ipsHr"><div class="ipsSpacer_top ipsSpacer_half" data-ipstruncate="" data-ipstruncate-size="3 lines" data-ipstruncate-type="remove" style="overflow-wrap: break-word;">
				<span>Test</span>
			</div>
		</div>
	</div>
</div>

how do I display the correct URL instead of <__base_url__>?

Also, isn't it possible to bring up the site favicon instead of the link icon?

error_oembed.png.58c5945222244bceca29be5f72819228.png

I didn't get the point, please PM me with a live example.

Link to post
Share on other sites

THANK YOU FOR YOUR PLUGIN! Works great, when it does, but obviously some sites won't support it.

Thus, articles in Newsweek.com do not generate a preview (like this one https://www.newsweek.com/ca-sees-record-increase-new-covid-19-cases-more-20000-5-days-1512421 ).

I'm just reporting this here so you know, and maybe something can be done to improve this.

I'm very happy with the plugin and what it does.

Link to post
Share on other sites
  • 4 weeks later...
  • 3 weeks later...
  • 4 weeks later...
On 9/3/2020 at 11:55 PM, RevengeFNF said:

@A Zayed with IPS 4.5, if the link have and http image (not https), it will show the link above the image.

sygXl0r.jpg

 

Link for you to test: https://www.record.pt/internacional/paises/espanha/detalhe/diego-costa-e-arias-infetados-com-covid-19-e-falham-arranque-dos-trabalhos-do-at-madrid

Thank you, it's confirmed...

I posted a new version under approval now, The problem is that the image is blocked in case you enabled the new setting that disables insecure images (non https).

Link to post
Share on other sites
On 9/9/2020 at 9:02 PM, A Zayed said:

Thank you, it's confirmed...

I posted a new version under approval now, The problem is that the image is blocked in case you enabled the new setting that disables insecure images (non https).

Thank you for the update.

One more question. Its possible to force https on the image if its available?
For example, in the example i gave you, the embed will use the http version of the image (that's why the issue occurred), but the site also have the https version available.

Link to post
Share on other sites
9 minutes ago, RevengeFNF said:

Thank you for the update.

One more question. Its possible to force https on the image if its available?
For example, in the example i gave you, the embed will use the http version of the image (that's why the issue occurred), but the site also have the https version available.

The plugin doesn't use the image inside content, but the image provided in the head meta tags... there is no https version in there.

Link to post
Share on other sites

Good morning, @A Zayed

We recently purchased and installed version 1.4.8 of External Links Rich Embed in preparation for our upgrade to IPB 4.5.  We completed the upgrade to IPB 4.5 and attempted to upgrade the plugin to version 1.4.10 from within the AdminCP using the instructions indicated on the plugin's site on the Marketplace.  However, when we attempted the install, we received the following message:

"The plugin you are trying to install appears to be installed already"

Any assistance you could provide would be greatly appreciated!

Regards,
Wade

EDIT:  WHOOPS!  I decided to uninstall 1.4.8 and then reinstall from the Marketplace and it worked just fine!  Please disregard everything that I posted above! 🙂

Edited by SFLUFAN
Link to post
Share on other sites
  • Recently Browsing   0 members

    No registered users viewing this page.


×
×
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy