Developer Connection
Use this forum to interact with our development team on technical issues, suggestions and official best practices advice.
1,734 topics in this forum
-
-
- 1 follower
- 1 reply
- 571 views
Hi IPS, FYI there have been 6 updates to Howler.js since v2.1.2 (from April 2019) in IPS 4.7.14. Current release is v2.2.4 (Sep 2023). Please consider bringing it up to date. 🙂 Also FYI: Many thanks. Graham
Last reply by Stuart Silvester, -
-
-
- 2 followers
- 5 replies
- 783 views
Clarifying what some tasks do, the desire to rename the task file / class is really needed. That said, when updating an existing installation of the application, the originally named task still exists in the applications task folder. It is also present when viewing all tasks, because it's sticking around in the core_tasks table. Running this query on upgrade appears to fail. Am I missing something? Double check the query syntax for me. \IPS\Db::i()->delete( 'core_tasks', array ('key=? AND app=?','steamCleanup','steam') )
Last reply by Aiwa, -
-
I have upgraded site on subdomain, Now i want to move those files on root of the site. and there will be change in the URL of the site. Will this work or i have to perform the upgrade again? Please guide
Last reply by Marc, -
- 0 replies
- 474 views
I want to extend /global/forms/uploads and add a button so I can launch a form that will gather some information from the user, pass that to the OpenAI image endpoint and return an avatar image. I would then want to set this image as their profile picture. Before I get started I want to know if it's possible for a custom plugin to do this. I know that the stock photos extension works by opening a form, browsing for pictures and then selecting one. Am I likely to encounter any limitations with this approach? Any advice would be most appreciated, thanks.
Last reply by Mick23, -
-
- 2 followers
- 7 replies
- 2.2k views
Chrome offer a convenient "Dowload" Button in its native HTML5 video player's context menu, that I want to be disabled. (Sorry, german screenshot. The marked button means "Download"). This button can be disabled by adding the following HTML attribute to the video tag: controlsList="nodownload" In AdminCP theme editing there is a template file wich looks exactly like the embedded video player code: Unfortunately making any changes there will not apply to the actual embedded video player code. So this must be generated from another part of the Invision application. I'd appreciate any help on how to get that controlsList="nodownload" …
Last reply by Nathan Explosion, -
-
-
- 1 follower
- 2 replies
- 622 views
I trying to figure out what would be the best way of using the rest api: 1. upload images to pages media when adding a database record 2. imbed this images within the content of the database record. I can certainly do this manually using the 'Insert Image from URL' feature, but I don't see anything in the api documentation about doing this using the api. Also I am not sure about embedding part. Would i just insert image url between the paragraphs and headings? If it is not possible to use the api to upload the image then I could upload them to a subdomain. But how can I then insert the images into the content so the image tag is properly formatted…
Last reply by virap1, -
-
-
- 3 followers
- 12 replies
- 1.2k views
One feature of my site is that there is limited free access to anybody who wishes to have it, but for unlimited access there is an annual subscription payable. For the "free" users (including guests), the tradeoff is that they are served adverts. I would like to ensure that the JavaScript file(s) that are loaded for the adverts are not even in the output HTML code for paid subscribers. For example: {{some template code to say "if user is not in Administrators, Moderators or Paid Subscribers groups, output this line"}} <script type="text/javascript" src="/some/path/to.js"></script> {{endif}} How would I achieve this?
Last reply by Ryan Ashbrook, -
-
-
- 1 follower
- 5 replies
- 783 views
Hi all, In the process of upgrade I am getting below error. Can any one please suggest something or should I continue anyway?
Last reply by Jyoti Rani, -
-
-
- 2 followers
- 9 replies
- 900 views
I have noticed that the IPS system is missing very important information and option whenever you set the Standard login "Authentication Type" to "Email Address" only. There's no option in case a member forgot his email address, and this is very import point especially IPS will be removing Display name login in v5. But still this option is needed in v4 whenever the community set to email address only to login. Perhaps force members to add security questions / answers in order to view their email address.
Last reply by Marc, -
-
-
- 2 followers
- 4 replies
- 891 views
Last reply by Marc, -
-
While I was looking into changing the number of comments per page for database records (see this link) I found out that IPS actually already allows to control it. The problem is that the number is tied to the setting that also controls the number of records shown per page. The setting I'm talking about is "Field Options > Records per page" when editing a database settings. The name implies it controls the number of records, but at the same time it controls also the number of comments: /** * Set custom posts per page setting * * @return int */ public static function getCommentsPerPage() { if ( ! empty( \IPS\cms\Databases\Dispatcher::i()->recordId…
Last reply by Marc, -
-
- 2 followers
- 2 replies
- 734 views
Leaderboard showing all Pages database "Comments and Reviews" on all options "All time, Year, Month, Week, Today, and Custom" despite they are disabled on any database or enabled.
Last reply by Marc, -
-
- 1 follower
- 1 reply
- 962 views
Hey, devs. I have a question about converting image attachments. So, if we use Imagick, PNG images are not compressed at all. 8 out of 10 images that I uploaded to the post have a larger file size than before uploading (lol). I wrote some code to compress PNG images (by changing the format to webp) and the size dropped by about 80% (sic!), however I need code to save the output file in .webp format. Can anyone direct me how to change the output format after uploading? /* Get Format */ $format = $this->imagick->getImageFormat(); /* Set PNG */ if( mb_strtolower( $format ) == 'png' ) { $this->imagick->setImageFormat('webp'); $this->i…
Last reply by Joey_M, -
-
- 2 followers
- 3 replies
- 680 views
Forgive me, I can't remember if this has been mentioned before, but after reading in several places that IPS4 will continue to be supported for some years to come, will it continue to receive any new features? For example, regarding new features that don't currently exist (like most helpful replies) and also replacement features like rumoured Commerce update to replace the features removed from it? Or will it just reserve security updates and support from IPS from now or after the release of IC5? Many thanks.
Last reply by Marc, -
-
-
- 3 replies
- 685 views
I want to create a plugin. So, i just want to know Which IPS class and event is fired, when i add reply to new topic in forum?
Last reply by Adriano Faria, -
-
-
- 1 follower
- 34 replies
- 1.9k views
Hi In the invision version 3.6 i have 2 hooks. During the upgrade these has been lost. Now in the version invision 4.7, How to implement the hooks? Any guide or link helps me a lot.
Last reply by Jyoti Rani, -
-
- 1 follower
- 1 reply
- 586 views
This change, made in 4.7.12, breaks applications that don't have an extensions.json or that haven't got all their extensions registered there. Any app that created extensions a while ago (and hasn't updated them recently?) will silently have stopped working. diff --git a/system/Application/Application.php b/system/Application/Application.php index 66c5fc8cd..854837fa7 100644 --- a/system/Application/Application.php +++ b/system/Application/Application.php @@ -786,7 +786,6 @@ public function extensions( $app, $extension, $construct=TRUE, $checkAccess=FALS $classes = array(); $jsonFile = $this->getApplicationPath() . "/data/extensions.json"; - $directory = …
Last reply by teraßyte, -
- 1 reply
- 572 views
I need to automate this step, as each one of my clients has their own group. Since 1) There is no API to create a group and 2) I am hosted, how can I create a new group?
Last reply by teraßyte, -
-
- 2 followers
- 3 replies
- 757 views
Is it possible to create a group using the API Rest tools? I see no documentation for group creation, only functions for group deletion and getting group information.
Last reply by Marc, -
-
-
- 1 follower
- 6 replies
- 783 views
I followed the below steps at local for developer mode by following the below url , but after doing so. I m facing the issue below Can some one guide ?
Last reply by Jyoti Rani, -
-
-
- 2 followers
- 4 replies
- 819 views
Trying to set up Docker locally with IPS, I have a container running with Apache, PHP, and MariaDB. The IPS4 pre-check is all green, and I am stepping through the installation but running into an issue with the Server Details and an error of "No such file or directory". Not sure what else needs to be done, but hopefully someone else has run into this before. I can connect to the database OK and run a sample query via VSCode SQLTools.
Last reply by Clover13, -
-
-
- 2 followers
- 3 replies
- 717 views
Hi, I noticed that CKEditor has fallen a couple of versions behind. It was last updated in v4.7.12 July to v4.21.0. Please could you update it to the final version? v4.22.1 was released 30-06-2023. (This is the last open-source release of CKEditor 4. As announced in 2018, CKEditor 4 has reached its End of Life in June 2023.) Many thanks.
Last reply by Marc, -
-
Is there a way to embed and overarching parent Google Map into a Pages page with all the Pages Address field entries from a given Pages database?
Last reply by Clover13, -
- 3 replies
- 606 views
Hello All, I tried using jquery validation in my form But its not working. As per the understanding received from Forum itself, I have changed the settings to include the javascript under the head section. Here is the url of the issue where i m facing it. https://beta.marketingcheckpoint.com/test_js_validator/
Last reply by Nathan Explosion, -
- 0 replies
- 521 views
Hello everyone; I'm trying to obtain the IDs of products for my own pages. However, I think I need the help of more experienced friends on how to accomplish this. Thanks to everyone who helps me find a way to add a product directly to the cart in the PHP file below. When I go to this address from the browser, it goes to the cart page, but no product is added. http://www.mysite.com/card.php?id=2 <a href="http://www.mysite.com/card.php?id=2">Add to cart</a> <?php $_SERVER['SCRIPT_FILENAME'] = __FILE__; $path = ''; $_GET['app'] = 'nexus'; $_GET['module'] = 'store'; $_GET['controller'] = 'cart'; require_once $path . 'init.php'; if (\IPS…
Last reply by OsmanK,