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
-
- 2 followers
- 0 replies
- 277 views
Hello, for example if there is missing file on the FTP and posts looks like this: Is there any automatic method (queue or something) to remove that parts to look like this: ? Thanks in advance.
Last reply by DawPi, -
- 2 followers
- 5 replies
- 483 views
Hi Guys, Not sure if I should log this as a bug or a feature request, however you can move it to the feature requests if you do not feel this is a bug/issue. Long story short, I had an issue which required me to install a older backup of my live site on a localhost (No point in going into the reason why as that's not the issue). Earlier today I received an email from one of my members stating that I had charged him twice today for a subscription. After checking his details, it then occurred to me that the invoices actually came from my backup site and payments went from bank accounts into Stripe. Lets just say this has caused me a massive headache. My …
Last reply by Adriano Faria, -
- 4 followers
- 3 replies
- 648 views
4.5, 4.6 and 4.7 Whenever you submit a reply to any recent status update the saving button keep showing "Saving......" since IPS updated to 4.5, and the bug still shows on 4.6 and 4.7. Then if you refresh the page, you will notice that reply is already posted.
Last reply by Afrodude, -
- 0 replies
- 347 views
It would be appropriate to fix some errors in the console. 1. '-moz-hyphens' is not supported by Chrome, Chrome Android, Edge, Safari, Safari on iOS. Add 'hyphens' to support Chrome 55+, Chrome Android 55+, Edge 79+. Add '-webkit-hyphens' to support Safari 5.1+, Safari on iOS 4.2+. - ERROR .ipsApp .cAuthorPane_author { -moz-hyphens: initial; } 2. '-ms-text-size-adjust' is not supported by Chrome, Chrome Android, Edge, Firefox, Safari. Add 'text-size-adjust' to support Chrome 54+, Chrome Android 54+, Edge 79+. - ERROR 3. '-webkit-text-size-adjust' is not supported by Chrome, Chrome Android, Edge 79+, Firefox, Safari. Add 'text-size-adjust' to support Chrome…
Last reply by SeNioR-, -
- 0 replies
- 256 views
I noticed that when you upload your own default avatar in Theme Resources with the webp format, after clearing the cache, it is restored to the original one with png format.
Last reply by SeNioR-, -
- 1 follower
- 0 replies
- 254 views
hello. I cannot seem to solve this dilemma. I have been all over the internet for a solid 3 days trying to figure this out. I went to Microsoft to get just the basic format of what an OAuth URL should look like. I can manually type it all out into my browser and it will take me to the Authentication login screen on my site, So honestly, I'm pretty proud there. But when I call it from my app it is not doing anything. I am using Unity by the way. The idea here is on my app people can click a "Login" button, and it should take them to my site to login and send back a token which i will store on their PC. public void test() { StartCoroutine(GetAccessTokenA(…
Last reply by Schaken, -
- 2 followers
- 5 replies
- 606 views
Shouldn't the word "POINT" in these strings be in plural as well? A moderator can also give more than one warning point example: Given a %d {# [1:point][?:points]} warning for %s%s: %s. now: Given a %d point warning for %s%s: %s. String: history_received_warning_details history_received_warning_details_api history_received_warning_link history_received_warning_link_api
Last reply by Meddysong, -
- 1 follower
- 7 replies
- 408 views
In the new version of one of my apps, I want to update a new field that I have created (Database Schema) with a value. I used the upgrade.php file and wrote the necessary codes in the step1 method, but it does not work. what should I do?
Last reply by ReyDev, -
- 1 follower
- 0 replies
- 274 views
As per title. The icon/css class are missing viewing a Q&A forum. Both templates questionRow & popularQuestionRow need to be updated.
Last reply by teraßyte, -
- 0 replies
- 272 views
The user's nickname is not completely centered on the avatar. Just remove the unnecessary left margin. @Ehren html[dir="ltr"] .ipsComment_author > *:not(:first-child) { margin-left: var(--sp-2); flex: 0 0 auto; }
Last reply by SeNioR-, -
- 3 followers
- 4 replies
- 457 views
Fresh install. Not sure this is expected. Only IPS apps; no 3rd-party resources:
Last reply by nodle, -
- 4 followers
- 11 replies
- 1.2k views
I can't hit Cloudfront cache for font awesome. I have checked that IPS can serve font awesome from Cloudfront. Here is my request (https://www.webpagetest.org/result/220816_BiDcWR_ACG/1/details/#waterfall_view_step1😞 :authority: fisiculturismo.com.br :method: GET :path: /applications/core/interface/font/fontawesome-webfont.woff2?v=4.7.0 :scheme: https accept: */* accept-encoding: gzip, deflate, br accept-language: en-US,en;q=0.9 cookie: AWSALB=V+qLZCNbjEfbsPzZCvXjy8lR1d7lJw+6Qz1bNnwYg3ri9BdDQEtMndfBsf/Hz6jHSj9ffTMEA4MsyUU2es6+KXvX4j590g0Rnn2XevQuROzwR/vyxmaPt32qn142; AWSALBCORS=V+qLZCNbjEfbsPzZCvXjy8lR1d7lJw+6Qz1bNnwYg3ri9BdDQEtMndfBsf/Hz6jHSj9ffTMEA4MsyUU2es6+KXv…
Last reply by sobrenome, -
- 1 follower
- 1 reply
- 317 views
Error thrown with message "Call to undefined function IPS\Application\preq_quote()" Stacktrace: #16 Error in /opt/homebrew/var/www/dev/system/Application/Scanner.php:139 it should be preg_quote, not preq_quote 🙂 and if i change it to preg_quote, i get this error: Whoops\Exception\ErrorException thrown with message "preg_match(): Unknown modifier 'o'" Stacktrace: #17 Whoops\Exception\ErrorException in /opt/homebrew/var/www/dev/system/Application/Scanner.php:169
Last reply by Daniel F, -
- 2 followers
- 0 replies
- 301 views
Whoops\Exception\ErrorException thrown with message "explode(): Passing null to parameter #2 ($string) of type string is deprecated" Stacktrace: #13 Whoops\Exception\ErrorException in /private/var/tmp/theme_core_global_forms_texta0ayPh:10 #12 explode in /private/var/tmp/theme_core_global_forms_texta0ayPh:10 #11 IPS\Theme\theme_core_global_forms_text in /opt/homebrew/var/www/dev/system/Theme/Dev/Template.php:171 #10 IPS\Theme\Dev\_Template:__call in /opt/homebrew/var/www/dev/system/Helpers/Form/Text.php:156 #9 IPS\Helpers\Form\_Text:html in /private/var/tmp/theme_core_admin_support_guideSearchFormUsUAi0:60 #8 IPS\Theme\theme_core_admin_support_guideSearchForm in /opt/home…
Last reply by CodingJungle, -
- 1 follower
- 1 reply
- 801 views
The editor won't load after adding a reply as a guest, works only after reloading page. I excluded captcha, adblock, attachments, buttons in the editor and CSS as the cause. Browser: Latest Edge. 123.webm
Last reply by Stuart Silvester, -
- 3 replies
- 391 views
I'm pretty much a noob when it comes to code, but I was able to successfully understand and implement the ips.ui.sticky as it was pretty straight forward. As part of my build, I would like for it to also be 'dismissible'. How would I go about inducing that element? TYIA
Last reply by My Sharona, -
- 1 follower
- 2 replies
- 328 views
I noticed that when one reacts to a user's content, the public notification is: "Power Admin reacted to a question Piattaforme per Forum" Whereas if I go to check the API (api/core/members/**/notifications😞 "notificationData": { "title": "someone reacted to a question Piattaforme per Forum", It would appear that the API goes to call the language string "mailsub__core_notification_new_react" attributing notification to Guest: "notificationData": { "title": "qualcuno ha reagito a una domanda Piattaforme per Forum", "url": "https:\/\/invisionita.it\/topic\/6907-piattaforme-per-forum\/?…
Last reply by Daniel F, -
- 2 replies
- 334 views
Would you please consider change the - (skeleton) from: class _{controller} extends \IPS\Dispatcher\Controller { /** * Execute * * @return void */ public function execute() { {restriction} parent::execute(); } /** * Manage * * @return void */ protected function manage() { /* Create the table */ $table = new \IPS\Helpers\Table\Db( '{table_name}', \IPS\Http\Url::internal( 'app={app}&module={module}&controller={controller}' ) ); /* Display */ \IPS\Output::i()->output = \IPS\Theme::i()->getTemplate( 'global', 'core' )->block( 'title', (string) $table ); } } to: class _{controller} extends \IPS\Dispatcher\Con…
Last reply by Adriano Faria, -
- 3 replies
- 470 views
Is there any way to retrieve file info for extra fields in the Downloads application? It would be useful to be able to fetch this data.
Last reply by Interferon, -
- 1 follower
- 2 replies
- 829 views
Hi Guys. Currently, Invsion Community displays the code for mobile devices using @media screen, which is ok, but it only seemingly hides the code because it is still in the source. Being on the desktop, the code for mobile devices is unnecessarily loaded. Why not use PHP for mobile device detection? This code is just an example, but it shows that it can be done in a simple way. <?php //-- Very simple way $useragent = $_SERVER['HTTP_USER_AGENT']; $iPod = stripos($useragent, "iPod"); $iPad = stripos($useragent, "iPad"); $iPhone = stripos($useragent, "iPhone"); $Android = stripos($useragent, "Android"); $iOS = stripos($useragent, "iOS"); //-- You can add…
Last reply by Dll, -
- 0 replies
- 300 views
When we log in with Google, the profile picture is imported as 96x96 pixels. I suggest increasing the size because it is definitely too small. $userData = $this->_userData( $link['token_access_token'] ); if ( isset( $userData['picture'] ) and $userData['picture'] ) { return \IPS\Http\Url::external( $userData['picture'] )->setQueryString( 'sz', NULL ); } return NULL;
Last reply by SeNioR-, -
- 8 replies
- 493 views
Hi all, I've got an application that has an upload field that is giving me the "UPLOAD_FIELD_NOT_OBJECT" error, it's an app that we have had for several years and has worked on older versions of Invision. I understand why it's giving me the error and everything, but the attachments that I am using are actually being put in the uploads folder, it's just failing at the point of inserting the data into the custom database. Traditionally we have always just stored a reference to the file and it's folder and that has been fine. My main question on it is can I carry on with just storing the file reference rather than storing the upload object? So the code I have …
Last reply by Brew Digital, -
- 1 follower
- 0 replies
- 205 views
Editing a department settings in ACP the Associable products option doesn't list the custom packages. === Something else related is that when creating a product and enabling the option Show 'Submit Support Request' button the package is not automatically added to the list of associable products for the department. When said department requires an associated product (and a custom product at that) there is simply no way to setup it right now.
Last reply by teraßyte, -
I reordered the fields in "ACP > Commerce > STORE > Custom Fields" but the display order changes only when viewing the product in the frontend store or manage purchases area. Viewing/editing a product in ACP the fields are still ordered by ID (in the order they were created).
Last reply by teraßyte, -
- 3 followers
- 7 replies
- 562 views
Hello, can we check if we're on the default page (for example with changed default app)? Thanks in advance!
Last reply by DawPi,