Jump to content

A Zayed

Clients
  • Posts

    900
  • Joined

  • Days Won

    3

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by A Zayed

  1. 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.

  2. 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).

  3. 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.

  4. On 6/8/2020 at 9:42 AM, opentype said:

    Already used it! Thanks! Works great. 

    My suggestion would be to auto-fill the email address with something like the site’s “Incoming email address” so it doesn’t have to be typed in again over and over again. 

    Now updated to auto fill with board incoming mail.

     

  5. 11 minutes ago, SJ77 said:

    Doesn't work in PM's

    It's mainly developed for topic posts. 

    I may widen the scope to cover more content items later. 

    12 minutes ago, SJ77 said:

    I have a dark theme (night mode) and the setup I picked looks horrible in night mode. Maybe we could do something about that.. not sure what.

    This can not be done with the current plugin development method. 

  6. On 5/12/2020 at 2:50 PM, IceCore said:

    So what are you saying is that Udemy.com did some FW rule that disables the embedding link from them?

    I moved my site from cloudflare, and I still unable to embed links from them, and there are move websites the unable to do it.

    Again, There's a rule set that blocks your server IP from accessing udemy through cURL, What's hard about that?!

    On 5/12/2020 at 2:50 PM, IceCore said:

    Edit: For some reason it started to work again, I think it's related to the SSL side.

    What's the prerequisite for a proper set up to make it work? FW rules, which ports should be enabled? PHP version, extensions in PHP to enable?

    I don't think so, There's nothing more than: php5+, cURL enabled + the server you're trying to access doesn't block cURL requests from your IP (Or doesn't block it at all like AMAZON that requires you to use their API).

    On 5/11/2020 at 11:50 AM, eskaiter said:

    yes

    I sent you a message, please check it.

  7. On 5/7/2020 at 6:26 PM, Askancy said:

    when an email notification is sent to me, the oembed image ruins the email layout, Is it possible to limit its size as is done in topic?

    image.png

    Thank you for your report... just fixed this in the new version:

    Quote

    What's New in Version 1.4.8   

    Released Just now

    • Bug Fix: Embedded URLs are not properly formatted inside email notification messages, now bare url is posted instead inside email messages.

     

    15 hours ago, Adam Moore said:

    Not quite sure what's wrong.

    I'm sorry, I must have highlighted this in the plugin description... The plugin is not supporting AMAZON embed in the mean time.

    It's planned to be embedded in the future.

  8. 30 minutes ago, IceCore said:

    So as I understood, some websites blocked cloudflaire IP with a custom firewall rules? (for example Udemy blocked those websites?)

    Why there's some website are working and some don't? if there were a rule, so it should be blocked with all websites if it was on cloudflaire side, or not?

    And I checked, I have no rules set in firewall page.

    No, the rule is set at the requested website

  9. I figured it,

    I tried a plain cURL HTTP request to the mentioned url and I got server response body as:

        error code: 1020

    I don't actually know much about this error code, but if googled, it will return tens of results about cloudflare block rules:

    Quote

    Error 1020 is a firewall rule on cloudflare...

    It looks that your server IP has been blacklisted on that web site via a custom firewall rule on cloudflare

  10. 7 hours ago, IceCore said:

    I have same issue with the latest version:

    Trying to paste a links from Udemy: https://www.udemy.com/course/ethical-hacking-hacking-real-websites/

    But it doesn't changes to the rich ones, other links (not all of them) works properly such as https://www.plesk.com/pricing/

     

    image.png.66b60a49a59214535f5e24dca269e2ff.png

    It works for me:

    image.thumb.png.73651da778e1ef03c8d2da72e63c06fc.png

    You have to give it time to load... if still not working, please give me website access so that I can investigate the root cause.

  11. On 3/23/2020 at 10:00 AM, Serayah said:

    I'm kinda confused with the image handling. Is there a way to prevent broken external images? 

    Thanks in advance @A Zayed

    Hi,

    Could you please give me a sample url with broken descriptive image?

    On 3/25/2020 at 9:39 PM, Chris Conley said:

    Hello @A Zayed!

    Thank you for the plugin. I have it installed. It seems to work, but not for links from our parent site.

    Do you know why it wouldn't or can't embed links like this?

    https://www.careinnovations.org/resources/telehealth-and-telephone-visits-in-the-time-of-covid-19-sample-fqhc-workflows/

    Our community is on a subdomain of this site: community.careinnovations.org

    But the parent site has so many pages we want to reference and embed.

    Thanks for any help!

    Chris

    Hello,

    The plugin is basically used for embedding external URLs, the IPS system considers aa.bb.cc and bb.cc have the same base url, then both of them are internal URLs.

    I think, you would have better to open a support request with IPS to look into this.

    If you need any further assistance please let me know.

    Regards,

  12. 7 minutes ago, Adriano Faria said:

    Does your table template has the params? I had this issue yesterday. 

    It was:

     

    
    <div data-role="tablePagination"> {template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit"} </div>



     

    I'm using the core admin tables:

    		<div data-role="tablePagination" class='ipsSpacer_bottom'>
    			{template="pagination" group="global" app="core" location="global" params="$table->baseUrl, $table->pages, $table->page, $table->limit"}
    		</div>

     

×
×
  • Create New...