Jump to content

Nathan Explosion

Friends
  • Posts

    7,136
  • Joined

  • Days Won

    129

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Projects

Release Notes v5

Invision Community 5 Bug Tracker

Forums

Events

Store

Gallery

Everything posted by Nathan Explosion

  1. What settings have you put in place for the application?
  2. ul.cAuthorPane_info > li[data-role="group"]{ display:none; }
  3. I thought that would be explanatory with the information presented but hey...add a comma-separated listing of the database IDs in the field provided: Example: 2,3,1,5,6,7,8,9,10,4 It does. May need to clear cache in the ACP to speed up the front-end response
  4. Got DEBUG_TEMPLATES in your constants? Try removing it.
  5. See how the attached plugin works for you, setting included to allow you to enter a listing of IDs in your chosen order. (NE) Order databases in Create menu 1.0.0.xml
  6. Nope - I believe it's based on database ID order, not the language used.
  7. Go to your application listing, and reorder the applications - based on the above, your current order is probably: System Forums Events Quizzes (possibly the name) Pages VideoBox (possily the name) Raffles (possibly the name) Polls (possibly the name)
  8. drop the . before body - unless you've added a class called 'body' to your <body tag?
  9. Not weird really as the MySQLi extension isn't always enabled in PHP 8 by default. run the current IPS requirements checker, fix any issues it shows.
  10. How to manually patch it yourself - at your own risk... Assumptions made: You are self-hosted You know how to use FTP You know how to edit a PHP file The only file involved here is /applications/classifieds/sources/Advert/Advert.php Steps: Download that file to your PC Open it in an editor (Windows -> Notepad will do) Find the line that has public static function getItemsWithPermission( in it Add ,$location = NULL inside the closing bracket - immediately after $showMovedLinks=FALSE Save the file, upload back to server If it doesn't work, then disable the app and wait for the developer to get to it.
  11. This will help with this...here's the other discussion that this relates to...
  12. public function handleForm(array $values) {
  13. Do those clicking the link have permissions to 'Download attachments'? The behaviour you see is because anyone is allowed to view the video, because it's a direct link to the .mov file and no check is done on permissions there. But the fallback to the attachment.php file does do a permissions check. Been that way since 4.3 was released:
  14. Bit of a niche issue, in that it requires the poster has the ability to post html, but reporting it anyway...not expecting a fix on it. Steps to reproduce: Allow the ability for your account to post HTML (edit group, enable the 'Can post HTML?' setting) Create a new topic Upload an audio file, click it to insert into the editor, and submit Hover mouse over audio player - no tooltip, as expected. Reply to the topic Upload an audio file Enter some text in the editor, and press return/enter Click the audio file to insert it into the editor Submit the reply Hover mouse over audio player - no tooltip, as expected. Reply to the topic Upload an audio file Enter some text in the editor - do not press return/enter Click the audio file to insert it into the editor Submit the reply Hover mouse over audio player - there's a tooltip, and you may also find that the number of downloads is incorrect (the above screenshot is for a file that has just been submitted)
  15. It was left behind because it wasn't deleted by you. And no, it doesn't pull any information unless you have something in place that is doing that. Back them up, delete them, restore if there any issues.
  16. Interesting - it used to blat the images out. Good stuff.
  17. There you go - he is now armed with the options.
  18. In the interest of fairness, there actually may be a way...simply changing the short code of the old emoticon to something else would mean that your example will be an emoji going forward. But then you still have the custom emoticon in the listing, available or use. You could remove the emoji button from the editor and rely on just type/search in the editor then. Ultimately though, want them gone without affecting old content then the resource listed will allow you to disable the old ones from being viewed in the menu.
  19. You will see a dead image. Not natively, no. Hence the resource I created.
  20. Deleting them will result in the images no longer being there, and therefore older posts will not display them - no conversion will take place. Your use-case is one of the reasons I created the following:
  21. Thank you. Because it is an attachment, my application isn't responsible for the video player - that is native functionality for uploaded video files, added by Invision several major versions ago. Why is it a video player instead of an audio player? Because Invision have .ogg files listed in their $videoExtensions variable in /system/File/File.php: /** * @brief File extensions for HTML5 compatible videos */ public static $videoExtensions = array( 'mp4', '3gp', 'mov', 'ogg', 'ogv', 'mpg', 'mpeg', 'flv', 'webm', 'wmv', 'avi', 'm4v' ); ...and they also have it listed in their $audioExtensions variable too: /** * @brief File extensions for HTML5 compatible audio */ public static $audioExtensions = array( 'mp3', 'ogg', 'wav', 'm4a' ); When a file is uploaded, Invision is checking it's type and then deciding what to do with it...and because it first finds ogg in the videoExtensions list, you get a video player. How to fix it? Go here or here and post about it - it would help to link to this post so that whoever reads it doesn't simply say "OH, disable this or delete that or contact the dev" For information - my application is only having an effect on the native player by turning the embedded video player (added by Invision) into a linked attachment because both the "Enforce settings to native IPS video" and "Enforce 'Download attachments' permission" settings are enabled (reason for using those is in the linked description of the second setting)
  22. What are your settings? I already know the answer but you providing your settings will allow me to explain it clearly for you.
×
×
  • Create New...