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. I'm trying to show 2 tables in the same page, everything goes fine except for the pagination part, table reloads without changing contents...

    Even I use different paginationKey and different sortKey for both tables, but pagination is broken, is it a bug? or am I missing something?

    Code:

    	/* First Table */
    	$table_1 = new \IPS\Helpers\Table\Db('first_table', \IPS\Request::i()->url(), array() );
    	$table_1->include = array( 'col1', 'col2', 'col3');
    	$table_1->mainColumn = 'col1';
    	$table_1->parsers = array(
    		'col2' => function ($val, $row) {
    			return \IPS\DateTime::ts($val);
    		}
    	);
    	$table_1->sortBy = $table_1->sortBy ?: 'col2';
    	$table_1->sortDirection = $table_1->sortDirection ?: 'desc';
    	$table_1->limit = 5;
    	$table_1->rowsTemplate = array( \IPS\Theme::i()->getTemplate( 'tables', 'core', 'admin' ), 'rows' );
    	$table_1->tableTemplate = array( \IPS\Theme::i()->getTemplate( 'tables', 'core', 'admin' ), 'table' );	
    	$table_1->paginationKey = 'firstTablePage';
    	$table_1->resortKey = 'firstTableResort';
    	
    	/* Second Table */			
    	$table_2 = new \IPS\Helpers\Table\Db('second_table',  \IPS\Request::i()->url(), array() );
    	$table_2->include = array( 'col1', 'col2', 'col3');
    	$table_2->mainColumn = 'col1';
    	$table_2->parsers = array(
    		'col2' => function ($val, $row) {
    			return \IPS\DateTime::ts($val);
    		}
    	);
    	$table_2->sortBy = $table_2->sortBy ?: 'col2';
    	$table_2->sortDirection = $table_2->sortDirection ? : 'desc';
    	$table_2->limit = 5;
    	$table_2->rowsTemplate = array( \IPS\Theme::i()->getTemplate( 'tables', 'core', 'admin' ), 'rows' );
    	$table_2->tableTemplate = array( \IPS\Theme::i()->getTemplate( 'tables', 'core', 'admin' ), 'table' );	
    	$table_2->paginationKey = 'secondTablePage';
    	$table_2->resortKey = 'secondTableResort';
    	
    	return \IPS\Theme::i()->getTemplate( 'tempGroup', 'temp' )->browse( (string) $table_1, (string) $table_2 );	

     

  2. 3 hours ago, oki doki said:

    Hi,

    I have just installed this plugin. It is wonderful and essential for every community. However, embedding does not show the picture. How could I fix it? Is it related to user permissions?

    Thanks

     

    sam.JPG.72c651624b71a6e5f3bd1a76a7c2fd39.JPG

    Could you please check that option in your ACP, it seems you don't allow posting remote images, in this case, the images from remote urls will not show up

    image.png.41a3b829cfb10bdc316301c6d4a473e8.png

  3. On 8/10/2019 at 1:48 PM, A Zayed said:

    I can't reproduce this issue with the latest IPS version, If possible, please PM me with login details for ACP so that I can find the reason, may be some ACP setting is causing this.

    What's new in version 1.4.6:

    Performance Improvement: Started using IPS\Http\Url that depends on Server Settings and IPS configuration will either use CURL or a Socket Connection as fallback instead of forced native CURL.

    This is mainly released to improve performance of the plugin by making it flexible to work according to server configuration after the recent bug report by @Nebthtet

  4. 15 hours ago, Nebthtet said:

    Hello @A Zayed, for some reason the plugin suddenly has stopped working. I've updated to the newest version, uninstalled it completely and re-installed it anew, repeteatedly cleaned cache, removed other plugin that that has been added since then - nothing helps. Issue persists on different browsers and accounts. Pasting any link results in following code being generated (here is an example for google).

    
    <a href="https://google.com" ipsnoembed="true">https://google.com</a>

    This occurs regardless of the contents of embedding blacklist too. I have no ideas how to fix this, please advise. Oh, and there's nothing in error logs of course.

    I can't reproduce this issue with the latest IPS version, If possible, please PM me with login details for ACP so that I can find the reason, may be some ACP setting is causing this.

  5. 8 hours ago, beats23 said:

    Yes I get the error with all links. 

    I also get this error on a clean 4.4.4 MAMP local install no plugins and no app installed. 

    From the system log error can you diagnose what the error code is referring to, 

    i tried php 7.3 and 7.2 same error

    Well, in this case I'd ask for ACP login so that I'd investigate further... please PM me with ACP admin account.

  6. 21 hours ago, beats23 said:

    Any word if this is possible with your app?

    Already support eBay, but didn't check Amazon yet...

    18 hours ago, beats23 said:

    I install plugin but it's not working is see this 

    The link could not be embedded because of an unexpected error: error: "Something went wrong. Please try again.".

    1342376021_ScreenShot2019-06-23at00_52_55.png.d253b5bbf2005fd617d724828193da02.png

     

    System log error

    222920871_ScreenShot2019-06-23at01_12_07.thumb.png.077cfffd3c17a429b3bd00784736688e.png

     

    I can't reproduce this on my local server, Also checked the same url on my server and it works:image.thumb.png.b7431c0ffd6cbe03702e0c6b838a0003.png

    Do you have this issue with specific urls? or all urls?

    Can you double check one more time for the same url and feedback?

    image.thumb.png.b7431c0ffd6cbe03702e0c6b838a0003.png

  7. On 6/6/2019 at 12:01 AM, liquidfractal said:

    Ok, so I just upgraded my test/development site to 4.4 and I think it's broken External Link Rich Embed.

    After I upgraded I noticed that a previously embedded link had broken, so I tried posting another link (from Wikipedia).  The link doesn't embed, and it doesn't post as a clickable link either - it only shows up in a blue font.

    When I disable the plugin, the link shows up properly.

    Just tested the plugin with version 4.4.4 and issues detected.

    According to the change log, the hook area not touched in this version.

    11 hours ago, beats23 said:

    Would you be able to make this app support amazon and Ebay affiliated links?

    I've to check if they support oEmbed, if not I'l try to find another work around.

  8. On 5/16/2019 at 7:57 AM, Sonya* said:

    Hi,

    can you please add a setting for the minimum number of characters? If I copy only two words on the site then it is not really necessary to add a copyright notice. E. g. I would add a copyright notice for the copied text over 150 characters only. 

    Thank you

    Thank you for your suggestion, Just added this as a feature in version 1.0.4, please check and feedback:

    https://invisioncommunity.com/files/file/8252-copyright-notice-on-copying/

  9. On 5/16/2019 at 1:21 AM, TimTheMiles said:


    Right, but if we exclude the URL from auto embedding then we don't get an Auto embed at all.
    We want the Twitch.TV and Youtube.com URL's to Auto Embed. We just want the Video Players instead of the Rich Embed Format for those Specific URL's.
    Is there anyway to exclude the Rich Embed, but still allow Embedding for Specific URL's?

    I really can't seem to reproduce this issue, I think there's conflict somewhere, If possible, could you PM with a list of plugins/apps you have?

  10. On 5/3/2019 at 6:41 AM, TimTheMiles said:

    Hello @A Zayed
    So I'm having a problem with this plugin working too well.
    Basically my website people post a lot of Youtube Videos and Twitch Streams.
    And with this plugin enabled, instead of auto embedding the video player like before.
    It's now defaulting to the External Links Rich Embed format.


    Is there anyway to force the plugin to not format certain websites?
    While still allowing it to auto embed Twitch Streams and Videos?

    Hello;

    I couldn't reproduce this issue, by the way the plugin has the option to exclude urls from being auto embedded.

    image.thumb.png.9483c08d0e7349761442d6f924d24cd9.png

  11. 2 hours ago, Phil7789 said:

    Are only those images pulled by the plugin that are marked as meta or og-image? I tested with a site with a lot of images and only the title and text is pulled (I checked to pull every available information)

    Aha, yes this is due to the same reason of the 1st point... Content is posted as written content, not IFrame like default IPS content.

    14 minutes ago, Phil7789 said:
    2 minutes ago, Phil7789 said:

    Yes, but as soon as you save the post and you edit it again you cannot move the embedded content anymore. It behaves like it is content you wrote. You would have to cut and paste it to move it.

    Yes, I got what you mean, The plugin captures og:image, twitter:image, image meta names or properties... If none of them are found it skips it.

    This is better than capturing image randomly from the page.

  12. 1 hour ago, Phil7789 said:

    After embedding external links the embedded content is editable. My suggestion would be, if possible, to prevent editing so users or mods do not accidentally alter the embedding. This happens only after embedding, saving and editing the post again

    No, this is not possible at least in the current versions... I'd make a plan for this in the future.

    1 hour ago, Phil7789 said:

    Are only those images pulled by the plugin that are marked as meta or og-image? I tested with a site with a lot of images and only the title and text is pulled (I checked to pull every available information)

    Could you please send me url sample?

    1 hour ago, Phil7789 said:

    Is it a wanted behaviour that we cannot move the embedded content like the default ones (e.g. quotes or videos with the little movement indicator in the top left corner). Same as above, only after saving and editing the post again

    No, You already can move the block to whatever area inside the editor.

  13. 19 hours ago, Davyc said:

    Having an issue with installing the latest version 1.4.4 during the install process everything is going as planned and then this:

    image.png.e00710260ffb450f0c77190a5d7e3098.png

    Getting this in the system error log:

    image.png.cd3fbe9f614dedbb9943682a29b78355.png

    The times reflect my attempts to install.  Any ideas?

    With thanks

    I'm sorry for that, but I can't reproduce the problem... Could you please try unistalling then re-install the new version one more time.

     

    10 hours ago, Christforums said:

    Was that the last version just released? If so, I upgraded the plugin, cleared cache, and also cleared cloudflare cache but the image with signature still isn't being shown with the new plugin.

    Here's an example page with link: https://www.christforums.com/forums/topic/20850-constantine-conspiracy-and-the-canon/

    It should work for newly posted urls only

  14. On 4/12/2019 at 5:51 PM, Christforums said:

    I often see an error. Here's a link to the problem embed and a screen shot: https://www.christforums.com/forums/topic/20850-constantine-conspiracy-and-the-canon/

    1371675196_LinkError.thumb.jpg.23fbd4dc52c3f88ab807de7aba11aed8.jpg

     

     

    This is not a plugin bug, the problem is that imageproxy is not serving images with signatures (for example: image.png?signature=abcdefgh)

    If you tried to post this image url

    (https://www.christforums.com/applications/core/interface/imageproxy/imageproxy.php?img=https://files.logoscdn.com/v1/files/3490000/content.ico?signature=kllyP4JcH1hAFE7qFTTfYfH_ZhU&key=59d81b3a6fb6ab1b3be5a45c1653eaf6878c6b314dd350cbb4e0f88375056020)

    in your website it will not get fetched in case you have imageproxy enabled, BTW I'll release a new version to avoid this situation and display a default icon image in case imageproxy is enabled.

×
×
  • Create New...