Jump to content

KVentz

Members
  • Posts

    124
  • Joined

  • Last visited

 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 KVentz

  1. There is a Pages app with the Database connected to the Forum. Every Page has its own topic in forums. The first post in topic repeats the text of the Page. Pages app alters this post every time the pages changes. But it edit the post with the least ID in topic. Not the post in forums_topics.topic_firstpost, not the post earliest in time. In most cases post with the least ID is the first one, but not always in fact. And sometimes Pages app alters not the first post in the topic.

    I think it would be better if Pages app will get forums_topics.topic_firstpost to alter or at least forums_posts.post_date.

  2. Today adding new plugins to the CKEditor is a lottery: maybe it will work, maybe it will ruin the editor completely. No previews, no tests, no undo. If a plugin brake the editor, the only thing you can do is to reset it. And add all previous plugins manually again and arrange all the buttons again. Managing CKEditor plugins in Invision Community is a very implicit process. 

    I think Plugin manager for CKEditor will help many Invision Community customers who are not limited to standard CKEditor capabilities.

  3. On 11/24/2021 at 1:33 PM, Marc Stridgen said:

    You would need to check on a default unlatered theme in order to test this. Some of the items there can affect any area of the site

    Same with unaltered theme.

    I found that <blockquote> tag does not have 'data-ipsquote-contentclass="forums_Topic"' attribute at all when clicking on 'Quote' link or using 'Quote selection' button:

    <blockquote class="ipsQuote" data-gramm="false" data-ipsquote="" data-ipsquote-contentapp="forums" data-ipsquote-contentcommentid="1102269" data-ipsquote-contentid="51668" data-ipsquote-contenttype="forums" data-ipsquote-timestamp="1638423997" data-ipsquote-userid="882" data-ipsquote-username="KVentz">

    Should be:

    <blockquote class="ipsQuote" data-gramm="false" data-ipsquote="" data-ipsquote-contentapp="forums" data-ipsquote-contentcommentid="1102269" data-ipsquote-contentid="51668" data-ipsquote-contenttype="forums" data-ipsquote-contentclass="forums_Topic" data-ipsquote-timestamp="1638423997" data-ipsquote-userid="882" data-ipsquote-username="KVentz">

     

  4. On 11/18/2021 at 8:42 AM, Darth Vortex said:

    Why so complicated? Simply drag and drop them on one page.

    There will be the same content on every page in the database. With Pages Sidebar I can add different content blocks per category but not per page.

    On 11/18/2021 at 10:08 AM, Daniel F said:

    Take a look at the similar content block, where the content is depending on the viewed item 😉

    Do you mean this one? OK, that's fine, but this is only half of the solution:

    // Using a PHP variable to store an array of pages => page names that we'll loop over
    {{$myPages = array('help/apple' => "Apple", 'help/banana' => "Banana", 'help/orange' => "Orange");}}
    
    <ul class='ipsList_inline cMyMenu'>
    	{{foreach $myPages as $url => $title}}
      		// HOW TO CALL A PLUGIN WITH PARANETER HERE?
      		// Topic Feed PLUGIN WITH $title AS 'With tags' PARAMETER?
      		// To show topics with 'Apple' tag on 'Apple' page and with 'Banana' tag on 'Banana' page
      	{{endforeach}}
    </ul>

     

    The question is how to show a list of all topics with 'Apple' tag on the 'Apple' page in the database and a list of all topics with 'Banana' tag on the 'Banana' page in the same category?

     

    Now I do this:

    // Using a PHP variable to store an array of pages => page names that we'll loop over
    {{$myPages = array('help/apple' => "Apple", 'help/banana' => "Banana", 'help/orange' => "Orange");}}
    
    <ul class='ipsList_inline cMyMenu'>
    	{{foreach $myPages as $url => $title}}
      		{{$topics_feed = 'custom_block_topics_feed_' . $title;}}
    	    {block="$topics_feed"}
      	{{endforeach}}
    </ul>

    And I must create different blocks: custom_block_topics_feed_Apple with 'With tags — Apple' option, custom_block_topics_feed_Banana with 'With tags — Banana' option, custom_block_topics_feed_Ogange with 'With tags — Ogange' option.

    Is there any better way?

  5. 4 minutes ago, Daniel F said:

    Works just fine for me as guest.

    I have clicked on the link (and also the + button for testing) which resulted in:

    I mean this link:

    1200183721_2021-11-2412_08_03.thumb.png.9648da59f0d00cb94c575b62af9fb27f.png

    This little arrow has link (goes to 404):

    https://www.nashtransport.ru/?app=core&module=system&controller=content&do=find&content_class=undefined&content_id=58241&content_commentid=1100709

    But it should have link:

    https://www.nashtransport.ru/?app=core&module=system&controller=content&do=find&content_class=forums_Topic&content_id=58241&content_commentid=1100709

    It has "content_class=undefined" instead of "content_class=forums_Topic".

  6. Recently I have found that all quote links (on an arrow in the quote block) return not found, because they have content_class=undefined instead of content_class=forums_Topic:

    ?app=core&module=system&controller=content&do=find&content_class=undefined&content_id=2478&content_commentid=1100519

    instead of this:

    https://www.nashtransport.ru/?app=core&module=system&controller=content&do=find&content_class=forums_Topic&content_id=2478&content_commentid=1100519

    Are there any ideas why this is happened? 

  7. I have an idea to show all types of content in Community about the subject on a single page. I have a database page in Pages about a subject. And there, right on this page I want to show feeds from other areas of the community about this subject: topic feed from forums, entries feed from blogs, images feed from gallery, event feed from calendar. It is possible to select all the content using tags. That's fine. But how to add all these feeds to the page?

    I can create and setup custom plugin block for each page for each type of content. For "Subject A" I can create custom plugin topic feed, set it up to show topics with "Subject A" tag, custom plugin entries feed, set it up to show topics with "Subject A" tag and so on. For "Subject B" I can create custom plugin topic feed, set it up to show topics with "Subject B" tag and so on, and so on.

    But this is insane. Is there another better way to do this? Maybe call a block with parameters or somehow call a feed plugin with parameters?

  8. That's fine but how to get topic or post feed from different forums/topics on different Pages Database records? I can't use Block manager, because its layout is the same on all pages. I can make a separate custom blocks for every record (every forum/topic I want to get feed from), dozens of them. But is there a better solution? A kind of a parameter sent to the custom block from the page?

  9. This is a very useful plugin, but it seems it does not work as expected. When you change a tag using Mass Tag Topics it removes all previous tags from the topics and assigns the entered one. For example, if you already have topics with different tags:

    • Topic 1 (tag 1, tag 2)
    • Topic 2 (tag 2)
    • Topic 3 (tag 1)

    and you want to add another one "tag 3" to all of them, you can not use Mass Tag Topics for this. Because if you will select these topics and will enter a new "tag 3" using this plugin, you will have this:

    • Topic 1 (tag 3)
    • Topic 2 (tag 3)
    • Topic 3 (tag 3)

    And you will loose all other tags. A have lost all my one hour work because of this.

    I think it could be great that there will be some more options: (1) merge entered tags with current ones an (2) remove entered tags from selected topics if they have ones.

    Thank you!

×
×
  • Create New...