Developer Connection
Use this forum to interact with our development team on technical issues, suggestions and official best practices advice.
1,679 topics in this forum
-
-
- 12 replies
- 567 views
Fresh install, trying to add an API route but Member::load breaks any time I pass $idField, even default fields. works: $member = \IPS\Member::load(1); $member = \IPS\Member::load(1, 'member_id'); Returns { "errorCode": "EX0", "errorMessage": "" } System log says "InvalidArgumentException (0)", viewing the log shows OutOfRangeException from line 115 /app/system/Patterns/ActiveRecord.php Also, the docs need fixing: /** * Add our own column to default fields */ public function __construct() { static::$databaseIdFields = array_merge( static::$databaseIdFields, array( 'remote_id' ) ); } …
Last reply by Sly_Ripper, -
-
-
- 1 follower
- 1 reply
- 362 views
Not a huge issue but the menu isn't active when you're browsing any page of an app development: Plugins is active when you're on a plugin development:
Last reply by Marc Stridgen, -
-
-
- 1 follower
- 6 replies
- 463 views
Hi. Community question. Is ips.utils.cookie.get also not working for you? I enter a value and after refreshing the page it shows me "false" when I try to fetch. I have the latest version of IPS 4.7.11 with patches installed.
Last reply by psychol., -
-
-
- 3 replies
- 484 views
Is it possible to get the current forum view method (table, fluid etc.) in code? I notice that the URL to set the method contains these parameters so was hopeful they could be easily retrieved somehow in JS: do=setMethod&method=fluid
Last reply by Nathan Explosion, -
-
-
- 1 follower
- 5 replies
- 498 views
I noticed that this ips.utils.cookie.set('cookieName', value, true); isn't working anymore on the last version, why? I'm working on a theme and it has a customization panel for background changer and color changer, the script that I'm using rn works just fine on 4.7.6 and so on, but on 4.7.11 the latest version it doesn't work, I need some answers please ASAP.
Last reply by Stuart Silvester, -
-
- 0 replies
- 384 views
This should also be listed in Release Notes -> Changes affecting third-party developers and designers. It would avoid us to look for in core files when our resources stop working. Thank you.
Last reply by Adriano Faria, -
-
- 2 followers
- 10 replies
- 579 views
Hello there, I already contacted support over this but they told me I should post it here. Creating a webhook with the following triggers: member_create and member_registration_complete will return incomplete data. Happens with both json or x-www-form: { "slug": "23-webhook-listener", "token": "dVA0Oa1", "{\"id\":null,\"name\":\"Invitado_danfelbm12345\",\"title\":null,\"timeZone\":\"UTC\",\"formattedName\":\"Invitado_danfelbm12345\",\"primaryGroup\":{\"id\":9,\"name\":\"Miembros\",\"formattedName\":\"Miembros\"},\"secondaryGroups\":": [ "" ] } another attempt: { "slug": "23-webhook-listener", "token": "dVA0Oa1", "{\"id\":1…
Last reply by Daniel F, -
-
My apologies, I'm not sure where best to post this. One of the ad companies we use informed me recently that when someone clicks on the page number from the bread crumbs, even though a new page of content loads - it doesn't trigger a page view/refresh - and the ads that require a new page don't load. So I looked into the Google tag integration in the AdminCP and I see where it mentions something about adding code there to trigger a "page view" when loading dynamic content. I spent some time on the Google Tag page...and I'm stumped. Is there a setting I'm overlooking? Why would clicking the breadcrumb navigation not trigger a page view/refresh? I've confirmed this to …
Last reply by AlexWebsites, -
-
- 1 follower
- 8 replies
- 353 views
Hi I just updated my local dev sites and noticed that whether using my own themes or the default IPS theme, none of the Table/Grid/Fluid display mode buttons are working. I cleared the cache and logged out and back in again, but still not working.
Last reply by Stuart Silvester, -
-
data-ipsLightbox-group='g{$indexData['index_id']}' Elasticsearch never returns that in the $indexItem array. IN_DEV this will Whoops with missing array element when using Streams or Search. Live it functions but image groupings are broken. Quoting @Martin A. "meat mixed with stats" (lamb chops with hard drive metrics to be precise) The images will display correctly in the snippet, but when you lightbox them out and navigate through them, with a data-lightboxgroup="g" value instead of "g12345" its grabbing all the images on the page and you can navigate through them all. Apparently, (@Martin A. looked here as we troubleshot this just now), MySQL is c…
Last reply by Marc Stridgen, -
-
- 2 followers
- 4 replies
- 711 views
Hi Team, I think there is a bug in the Commerce app for the Package->upgradeDowngrade() method. When upgrading or downgrading, you check if the new Package has a longer initial term, and then modify the current $purchase->expire date accordingly. In \IPS\nexus\Package, in upgradeDowngrade(), at line 3533: /* Initial Term, apply the difference if the new package has a longer initial term */ if( $term and $newPackage->initial_term ) { $initial = new \DateInterval( "P{$newPackage->initial_term}" ); /* If we're still in the initial period of the new package */ $diff = \IPS\DateTime::create()->diff( $purchase->start->add( …
Last reply by Marc Stridgen, -
-
-
- 3 followers
- 12 replies
- 1k views
I come again with struggles using the API. I can use the API to post Topics and a few other things, but when it comes to POSTing... I get pretty aggravated because on one app we have to send data one way, but in another app, we have to send the exact same file in a different form, this makes things VERY complicated! I apologize, as I usually wait until I exhausted all my resources before coming here and asking for help, and by this point I realize im just angry, and I try not to show it, but I still vent a little. The issue... So I am making an App for my website, which hosts video games and Mods for games. I made a "Uploader" tool that can be installed in a game…
Last reply by Marc Stridgen, -
-
- 1 follower
- 1 reply
- 347 views
Whenever someone send a PM with attached and embedded image, the popup window notification display like this on this site.
Last reply by ZakRhyno, -
- 1 follower
- 6 replies
- 665 views
Hi all, has anyone got any experience with ai moderation or chat gpt something like that? Is this even possible, can anyone develop such a system. Is this planned on the invision feture list, consider it sort of a semi automated moderation. Thoughts?
Last reply by Mark Round, -
- 1 follower
- 1 reply
- 346 views
Hello, issue is as old as my story with IPS, starting with IPB 3.3. I was customizing my templates and decided to post the the issue again for your attention. Last time posted it like 6-7 years ago. Downloads > Front > View > View template <li class='ipsToolList_primaryAction'> {{if !$file->isPurchasable( FALSE )}} <span class="ipsType_light ipsType_blendLinks ipsResponsive_hidePhone ipsResponsive_inline"><i class="fa fa-info-circle"></i> {lang="purchasing_disabled"}</span> {{else}} <a href='{{if !$file->container()->message('disclaimer') OR !\in_array( $file->container()…
Last reply by PatrickRQ, -
- 1 follower
- 0 replies
- 305 views
Hi, Basically I have problem with feed blocks created from pages. I want to implement jQuery script along with specific block, however there seems to be load order issue because in console I see "jQuery is not defined", so things simply do not work as should. I tried to wrap entire script inside: document.addEventListener("DOMContentLoaded", function(event) { ... }); that makes jQuery not defined error gone but still things do not work. I noticed that IPS.Pages blocks do not properly load pseudo-code style elements such as :before or :after, they are simply ignored and not applied. Same story with "data-role"s, seems like not being considered. Example block…
Last reply by PatrickRQ, -
- 1 reply
- 437 views
Hi, We want to use the API and the REST API instructions are telling us to put a .htaccess file into the API folder, however, we're not running an Apache server, but Nginx, so this won't work - right? Advice appreciated - thanks!
Last reply by KenuFHR, -
- 4 followers
- 8 replies
- 1.4k views
Is any implementation of ChatGPT or AI planned for future release? Wouldn’t it be cool if ChatGPT could add content or having a configurable ChatGPT plugin? Anything planned?
Last reply by Brian Garcia, -
-
- 2 followers
- 7 replies
- 718 views
I usually open https://invisioncommunity.com/discover/unread/ as my main link on my iPhone (chrome) all latest version. I often Get this page at first and need to reload the page to get the stream. Just like to inform you about this issue..
Last reply by Marc Stridgen, -
-
-
- 2 followers
- 8 replies
- 525 views
Bug: 0 values are treated as bool. As you can see by this Matrix Form. 0 values are shown as NULL values. If I change the forum from a text to a number, the correct values are shown. The issue is with logic in /application/core/dev/html/global/forms/text.phtml and line 11: value="{{if \is_array( $value )}}{expression="implode( ',', $value )"}{{elseif $value}}{$value}{{endif}}" Shouldn't this be? value="{{if \is_array( $value )}}{expression="implode( ',', $value )"}{{else}}{$value}{{endif}}"
Last reply by TDBF, -
-
-
- 1 follower
- 4 replies
- 523 views
What is the difference between these two? content_view has a much lower count in GA for me. @Matt Finger
Last reply by Matt Finger, -
-
- 1 follower
- 1 reply
- 377 views
I'm looking to track specifically a new member registration as an identified "conversion", but am unclear as to how to do that via InvisionCommunity in GA4. I do see the following in my site's GA4 property Data Streams showing a measurement of "Form interactions" and that data is flowing. I also see the following events but I don't think "form_submit" is granular enough to track the registration alone, i.e. I believe it accounts for login form submission as well? Any suggestions on how to track specifically a member registration?
Last reply by Clover13, -
-
- 6 followers
- 13 replies
- 1.2k views
I’m not judging in any way, just listing some observations about the developer/Marketplace situation in the recent years. 4.5 tightened the rules drastically. Result: several developers left for good. price increases. Developments needs a self-hosted installation and possibly a demo website. It’s now 850 + 300 annually. Someone starting out as developer really needs some killer products to earn that back and then generate profits. Cloud testing of resources would make it even more expensive (+1,788 annually). Shift/changes to cloud. The lower tiers don’t have the ability to install third-party products. This decreases the reach and makes running indepe…
Last reply by Square Wheels, -
-
- 9 followers
- 34 replies
- 2.3k views
With the decision to use traits in IPS 4.2, how are 3rd party apps supposed to extend any functionality contained within them? In an attempt to update Automation Rules for compatibility with IPS 4.2, I need to hook into an \IPS\Content\Reactable method to attach an event dispatcher so that rules can be triggered when content is reacted upon. By using traits, the functionality is now basically locked out of being extended or hooked into.
Last reply by teraßyte, -
-
- 1 follower
- 2 replies
- 475 views
Hi everyone, I have a lot of clubs on my site and having so many of them without being searchable is proving to be a bit of a pain for my users. I've searched the forums here and only found reference to this post from a few years ago: I do have some experience with coding in the Invision framework - not a lot - but I did manage to put together a hangman game from scratch so I'm hoping I might be up to the challenge for implementing this on my site. My question is - where do I start? If I was developing my own app that's one thing but I guess I need to get into the existing clubs application somehow and add a search/filter bar that filters the …
Last reply by Marc Stridgen, -