Developer Connection
Use this forum to interact with our development team on technical issues, suggestions and official best practices advice.
1,680 topics in this forum
-
- 1 follower
- 2 replies
- 476 views
I'm not sure if this the correct place to report bugs... I belive this has been reported before, but I can't recall the thread. All notifications I'm receiving from IPs here are doubled (SEE attached screenshot).
Last reply by SeNioR-, -
- 0 replies
- 550 views
From what I remember, it has already been reported several times. The donation page still looks bad, missing space, no rounded corners and there are 3 different background colors. Default Template: Dark:
Last reply by SeNioR-, -
- 4 followers
- 5 replies
- 691 views
Our mariadb slow query logs pointed to poor results when guests were viewing the new 'combined view' topic listing (it was fine when members were viewing) 4.8 seconds + for the query below /*xxxx::IPS\Helpers\Table\_Content::getRows:489*/ SELECT forums_topics.*, author.*, last_commenter.*, core_tags_cache.tag_cache_text FROM `ibf_forums_topics` AS `forums_topics` FORCE INDEX (last_post) LEFT JOIN `ibf_forums_forums` AS `forums_forums` ON forums_topics.forum_id=forums_forums.id LEFT JOIN `ibf_core_tags_cache` AS `core_tags_cache` ON tag_cache_key=MD5(CONCAT('forums;forums;',forums_topics.tid)) LEFT JOIN `ibf_core_members` AS `author` ON author.member…
Last reply by sound, -
- 1 follower
- 2 replies
- 289 views
hi in the new version (4.7.2) in forum setting like below picture there is a mistake language string that It has been repeated twice also there is one mistake in non-translated string
Last reply by Martin A., -
- 1 reply
- 398 views
Currently using the Carousel module there is an option to start a slideshow using data-ipsCarousel-slideshow but the timer itself is hardcoded to 4 seconds in the javascript file \dev\js\framework\common\ui\ips.ui.carousel.js: var slideshowTimeout = 4000; Since this is a module there's no way to create a mixin for it as it's only for controllers. (Or is it possible to use a mixin on a module? Even if it is, because of the place the timer is in, there's no way to override its value though.) Can you add support for overriding the timer with a new option like this one? data-ipsCarousel-timer='3000'
Last reply by Daniel F, -
-
- 1 follower
- 1 reply
- 401 views
Whoops\Exception\ErrorException thrown with message "Undefined array key "icons_homescreen_maskable"" Stacktrace: #6 Whoops\Exception\ErrorException in /var/www/html/ips/applications/core/modules/admin/customization/icons.php:218 #5 Whoops\Run:handleError in /var/www/html/ips/applications/core/modules/admin/customization/icons.php:218 #4 IPS\core\modules\admin\customization\_icons:processApplicationIcon in /var/www/html/ips/applications/core/modules/admin/overview/onboard.php:183 #3 IPS\core\modules\admin\overview\_onboard:manage in /var/www/html/ips/system/Dispatcher/Controller.php:118 #2 IPS\Dispatcher\_Controller:execute in /var/www/html/ips/applications/core/modules/…
Last reply by Daniel F, -
-
Just want to put this bug in your ears, especially with the code checker now in place and the possibility it will get strict along these lines in the future. Apologies if this has already been noted recently (or way in the past) - have not looked too deeply here. I've noticed more than a few instances of functions defined as static public instead of public static in code; mine and yours. Your source files have a couple (4?), your apps more, but I was more puzzled why my app and plugin hooks had a bunch as this isn't a thing I normally do. As an example, a hook on baseCss() is routinely static public in the hook. So I looked and your method is clearly public stat…
Last reply by Daniel F, -
-
- 1 follower
- 2 replies
- 415 views
I noticed the word "after" is repeated on the Login tab of the Login and Registration page in v4.7.2.1. It isn't there in the previous versions.
Last reply by Daniel F, -
-
- 1 follower
- 0 replies
- 270 views
I have been trying to display the short date on some custom Pages template, but it seems this only works on forums. May you guys make this works everywhere on IPS. Thanks
Last reply by Afrodude, -
- 1 reply
- 241 views
The newly added method where() in \IPS\core\Reports\Report is producing an error when you have an app without container: Log: Backtrace: To reproduce, simply delete the category added when you install Downloads, for example.
Last reply by Daniel F, -
- 1 follower
- 2 replies
- 437 views
Hi all, I'm just letting you know that the September Development blog is out now and covers our PHP8 ready schedule and an important change to a very much used and overloaded function. Thanks!
Last reply by Randy Calvert, -
- 1 follower
- 1 reply
- 404 views
I am working on an application using C#. I am trying to get the endpoints for OLD versions of Download files. As I look at this (AND TRIED IT) I cannot get this. I tried with a OAuth2 connection, and RestAPI. it tells me: 9/27/2022 6:41:17 PM: Received: { "errorCode": "3S291\/2", "errorMessage": "BAD_METHOD" } Is there a way to access the old versions of files? I know we can on our sites, I have that enabled.
Last reply by Schaken, -
- 2 followers
- 16 replies
- 1.5k views
Hi everyone, I am trying to connect my website to my forum, therefore I want to use the logins of my forum on my website. When my user logs in, he enters his forum credentials, and I go through an oAuth system to check if those credentials are good. I manage to retrieve a custom access token, but when I request GET with the bearer authorization, where I enter the retrieved access_token, the system returns : { "errorCode": "2S291/3", "errorMessage": "NO_PERMISSION" } Does anyone know why the system is denying me access? Thanks in advance. Sorry, I made a mistake, the error code is 2S291\/7 and not 2S291/3 Thanks.
Last reply by Schaken, -
- 2 followers
- 1 reply
- 382 views
Is there an industry standard that IPS uses for regular expression on profile fields? I'm trying to create a rowing split time field. I selected text area for the field type and I tried using this expression for the Regular Expression: ^(([0]?[0-5][0-9]|[0-9]):([0-5][0-9]))$ that should display something like 1:39 ... if you are a really good indoor rower .... The expression I used was rejected. I don't know if it is because there is a colon in the expression or what. I got the code from Regular Expression Library (regexlib.com)
Last reply by Marc Stridgen, -
Just noticed there's a wrong rating for this file: There is only 1 review right now and the user initially posted it with 1 star. After that he edited it to be 5 stars but the rating for the file itself is still showing 1 star in the Recent Updates widget in the Marketplace homepage: The file embed above is showing 5 stars though, so it's probably calculating the rating on-the-fly rather than using a cached file from the files table. === Another bug I just noticed: the embed above is showing 0 comments but that part should be hidden if the category doesn't allow comments to begin with. Marketplace allows only reviews.
Last reply by teraßyte, -
- 3 followers
- 9 replies
- 722 views
I was currently using BunnyCDN, but only for images. My "Downloads" is all just straight on my metal server. but they can not handle our downloads system from here at Invision community. Right now my server is allowing pwople to download at dial-up speeds because of the backbone every since that last doomsday sole flare. So I am FORCED to get a CDN that will support S3 (Unless someone is willing to share some secrets) Is anyone willing to toss me some ideas for a cheap CDN? 🙂 thanks!
Last reply by Schaken, -
-
- 1 follower
- 7 replies
- 2k views
Hi all, We've been working on fine-tuning the PHP8 compatibility scanner to ignore technically incorrect things, but they are still allowed with PHP 8.0 and 8.1. Please see this post for details:
Last reply by Michael.J, -
-
- 1 follower
- 16 replies
- 649 views
Hi Guys! I noticed that the online status icon is not showing on PHP 8.1 😞 the icon goes back on PHP 8.0
Last reply by marklcfc, -
- 0 replies
- 148 views
The separator should be hidden together with the li (edit) element if we cannot edit the post.
Last reply by SeNioR-, -
- 3 replies
- 290 views
Hi. Is it normal to see 4-6 years old content? On the timeline, it says "Yesterday" even though the content was added 4 years ago 😄 Of course, we're talking about this site 🙃 EDIT: Everything is fine. Content:
Last reply by DawPi, -
- 2 followers
- 7 replies
- 995 views
I want to serve cached pages for guests directly from Cloudfront cache (first hit). No origin request. On pages requests IPS sends these headers (using Redis as cache method and 1 hour caching for guests on AdminCP😞 cache-control: no-cache="Set-Cookie", max-age=3600, public, s-maxage=3600, stale-while-revalidate, stale-if-error set-cookie: ips4_IPSSessionFront=75kv76vm8so67kh861iqhu7jky; path=/; secure; HttpOnly To cache pages on Cloudfront, these headers should not be sent: no-cache="Set-Cookie" and set-cookie: ips4_IPSSessionFront=75kv76vm8so67kh861iqhu7jky; path=/; secure; HttpOnly. I don't care about users online counter and don't use any guest p…
Last reply by Ryan Ashbrook, -
- 2 followers
- 2 replies
- 476 views
Application Dev Toolbox Mismatching parameter list \Symfony\Component\VarDumper\Dumper\AbstractDumper::dumpLine() N/A /applications/toolbox/sources/vendor/symfony/var-dumper/Dumper/CliDumper.php:551 so i have to be sure third party libs pulled in via composer match whatever criteria scanner.php sets out? i wasn't even aware IPS uses anything from symfony, if you do, you probably should namespace it differently since the autoloader isn't psr-4 compliant and there is no way to load/check/compare to your composer.json
Last reply by CodingJungle, -
- 2 followers
- 1 reply
- 278 views
The nullability analysis doesn't take into account nulls that are explicitly in the global namespace (which is unnecessary but legal). Hook: public function canSetBestAnswer( \IPS\Member $member = \NULL ) Original method: public function canSetBestAnswer( \IPS\Member $member = NULL ) Analysis: [ "method" => "canSetBestAnswer", "reason" => "method_issue_parameters", "parameter" => null, "subclassFile" => "/applications/lmgsys/hooks/bestAnswer_ForumsTopic.php", "baseFile" => "/applications/forums/sources/Topic/Topic.php", "baseClass" => "\IPS\foru…
Last reply by CodingJungle, -
- 0 replies
- 185 views
public static function roundedDiffFromSeconds( $seconds, $memberOrLanguage=NULL ) { $now = static::ts( time() ); $then = static::ts( time() - $seconds ); return $now->roundedDiff( $then, $memberOrLanguage ); } Don't panic! This is not related to all the other DateTime shenanigans going on. Just a small bug with a big return - routinely 52 years. The problem is having $then calculated as time() - $seconds. That needs to just be seconds: $then = static::ts($seconds); You only use this in one spot (admin\stats\timeToSolved.phtml) that I can see so probably just been overlooked for a while. Full Explained working on something not quite two m…
Last reply by All Astronauts, -
- 1 follower
- 0 replies
- 276 views
ACP > Email Settings > Email Logo When you get emails from your community, only Google converts the webp logo to a jpg.
Last reply by Afrodude,