Jump to content

Askancy

Members
  • Posts

    221
  • Joined

  • Last visited

  • Days Won

    1

 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 Askancy

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

  2. 36 minutes ago, ahc said:

    Qualcun altro che usa questo che posso dare una sbirciatina? 

    250 cookies this was enough to make me run away from that site.

    I believe that here people want to have a board full of functions, make it weigh down a lot without thinking that those applications are better as external addons to avoid having an IP.Board really heavy. Hashtags, stories, tiktak embeed does a board really need these things?

    I think IP.Board has many big shortcomings, but these are just the last on the list. one thing that comes to mind all of a sudden is link cleaning ie, convert a link:

    https://www.amazon.com/LG-OLED55CXPUA-Alexa-Built-Ultra/dp/B0829RYP8V?pf_rd_r=ASVJVSMFM2Q6R0VW4JJ8&pf_rd_p=76f54966-688a-4b94-8474-c7a8ff47e986&pd_rd_r=8b6dd349-94a1-4d86-ac13-216375283b45&pd_rd_w=0hjH4&pd_rd_wg=MAanm&ref_=pd_gw_ci_mcx_mr_hp_d

    to

    Amazon.com: LG OLED55CXPUA Alexa Built-In CX Series 55&quot; 4K Ultra HD Smart OLED TV (2020): Electronics

    I think it's pointless to propose infinite things and it would be better to think of, “Would this be useful for everyone or just me?” and then think about whether to fund the addons or propose it to the staff. So many councils are trying to make IP.board become a "facebook clone".

    I hope the IP.Board staff will keep the board as light as possible.

     

  3. On 5/12/2020 at 11:51 AM, Tech-crew.it said:

    don't work on 4.10

    haven't tried the BomAe script, but probably the problem is in the display:block of "ipsRichEmbed". if you put display: inline-block; in ipsRichEmbed, it will be enough for ckeditor to put the oembed into a div/p in order to choose its position with the text-align.

    Hopefully they solve this problem because anyone who uses an oembed for an article in his blog/pages the effect is really bad.

    oembed.thumb.png.d76810b862332b7e715afab59f606685.png

  4. I'm trying to create a condition for a custom field in the user profile, in my case I have two fields, field_25 and field_26.

    field_25 = input
    field_26 = checkbox

    I would need that if field_26 is equal to 1 it adds an emoji.

    In the template customFieldsDisplay I wrote:

    {{if \IPS\Db::i()->select('field_26', 'core_pfields_content')->where('member_id', $author->member_id)->first() == '1'}}
        check
    {{else}}
        no
    {{endif}}


    but I get the error: [[Template core/front/global/customFieldsDisplay is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

    where is my mistake?
     

  5. I honestly don't like to take users out of the community, already with the arrival of Facebook, Instagram, Whatsapp and Telegram, the life of the forums is increasingly difficult.

    However, the implementation of Telegram with IPS could be useful to notify users in the case of new messages, using it as a sort of push notification, perhaps via an IPS bot.

×
×
  • Create New...