Jump to content

Nathan Explosion

Friends
  • Posts

    6,982
  • Joined

  • Days Won

    127

 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 Nathan Explosion

  1. They want to clear the content of the core_achievements_log table down by chaning the setting that prunes it.

    They are concenred that it will have an effect on the badges that have been awarded to the users already.

    Here's my input...

    Awarded badges are stored in core_member_badges, so should be unaffected by changing that.

    However, I suspect that if you clicked the option to rebuild achievements at a later point then there may be an effect on automatically awarded badges at that time.

  2. Cause appears to be the following:

    The markAsRead function in front\mixins\ips.core.table.js searches up up from the clicked link for the closest element with the class .ipsDataItem, and then adds ipsItemStatus_read and removes ipsItemStatus_unread.

    That's fine in the traditional view as there it is:

    Could contain: File, Text, Page

    But in grid view, there's no element with the .ipsDataItem class for it to find:

    Could contain: Text, File

    Adding the ipsDataItem class to that indicated entry resolves the issue - located in front\index\forumGridItem.phtml

    Could contain: Page, Text, File

     

  3. Something I observed on another site where the grid display is the only option - just tested it on here, and same behaviour

    1. Switch to "Grid" view on the Forum index
    2. On a forum that has unread content, click the "Mark Forum as Read" icon
    3. You will observe that the strong effect on the forum title is removed, however the icon doesn't change from unread to read until a refresh is performed.

    Tested on desktop versions of Firefox, Edge, Chrome.

    I'll upload a video once someone replies to something on here.

     

  4. 9 minutes ago, Marc Stridgen said:

    No. I mean in Members->Staff->Administrators. If you do not have full permission in there, this is likely to be your issue

    Might have something to do with the lack of ACP menu entries for it - I've always assumed that you guys had hidden it in the ACP because it was due for deprecation in v5:

    Could contain: Page, Text

     

    Can be located via the ACP search - search for 'Support' and you'll get the Commerce entries.

  5. It's not just page 3, it's actually on page 2 aswell - that is where the original post is, which is then quoted on page 3

    Do the following to edit...

    1. right click the ... menu (that would normally display the edit button) and select 'Open in new tab" (or window)
    2. You get the same page, with the menu now available.
    3. Click 'Edit'

    Didn't you have this before a while back?

     

  6. Just going to add this to the fun...

    If it was me doing this, I'd be checking if I have any other non-Invision applications installed which may have a table in the database.

    For example...."links"...

    With NO knowledge of what you have installed in your Invision environment, and NO knowledge of whether you have 1 table called "links" or multiple tables called  "links_<SOMETHING>", I'd be wondering if that was used by an application called "Links Directory"

  7. ?

    The link is to a resource that provides the feature you are requesting to be added, as the feature doesn't exist (hence why you've asked for it)

  8. If the requirement is for the availabiity of the player to depend on whether the user can download attachments (which is a forum level permission) then I added functionality for this for videos back when Invision 4.3 added the native player for videos (see my feedback of my concern on this)

    Same functionality was extended to cover audio file after they were added in v4.6 (I think)

    https://www.ynwa.tv/files/file/38-ne-html5-audiovideo-player/

    Instead of a player being displayed, the file will be displayed as an attachment instead if the user doesn't have the "Download attachments" permission in the forum in which the post is located:

    Could contain: Text, Business Card, Paper

     

    However, if you require the user to be able to play the audio, but not download it, then the above won't assist. The resource does have functionality to disable the 'Download' button in browsers that support the ability to disable it, and to disable right-click on the player. But ultimately, if the player is available then they can always get the URL of the file via the HTML source code if they really wanted to do so.

    Any questions on the resource, https://www.ynwa.tv/forum/98-pre-sales-questions/

  9. OK - I'm not going to get the full picture with such small bits of information so here's a quick working example (dev folder and tar included in zip - now deleted)

    • Install the application on your test site
    • In your editor settings, add jscontroller.test to the allowed javascript controllers
    • Create a post, add the following as the HTML (via the source)
    <div data-controller="jscontroller.test">TEST</div>
    • Submit the post.

    Result:

     

    Could contain: Text

     

×
×
  • Create New...