Developer Connection
Use this forum to interact with our development team on technical issues, suggestions and official best practices advice.
1,736 topics in this forum
-
- 1 follower
- 0 replies
- 526 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
- 677 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, -
-
- 2 followers
- 7 replies
- 1.1k 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, -
-
-
- 2 followers
- 8 replies
- 959 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
- 858 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
- 518 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.7k 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
- 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
- 731 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, -
-
- 1 follower
- 1 reply
- 703 views
Hello, I need to add custom.css CSS code. It should apply on whole board EXCEPT inside one choosen app. How can I do that? It's doable via CSS? I dumb.. Done. 😉 Just added changes CSS into that app only. 😉
Last reply by Nathan Explosion, -
- 1 follower
- 0 replies
- 556 views
suggest moving the <br> in the 'calendarWrapper' template - it's on the second line to the 'header' template so it goes under the "ipsResponsive_hidePhone' div as at the moment is shows on mobile browse views as a unneeded <br> - which causes quite a gap
Last reply by sound, -
-
- 1 follower
- 1 reply
- 887 views
Unsure if I'm just missing an option in the REST documentation but is there no way to specify the "This is an all day event" option as true to ignore the time component of an event?
Last reply by Marc, -
-
-
- 1 follower
- 1 reply
- 607 views
You are using a hard-coded column name: /** * Get the database column which stores the topic ID * * @return string */ public static function topicIdColumn() { return 'topicid'; } Can't you use a mapped column from the model to avoid changing files and templates? That happens in apps that uses topics released before the trait.
Last reply by Ryan Ashbrook, -
-
- 1 follower
- 0 replies
- 701 views
Hello, As Admin, when i insert URL to internal image in a post, it's not just embedded as normal image (like very other users can), but it also treats it as new attachment upload. it's embedded and stored as attachment. is there a setting for it, so can be use for other user groups?
Last reply by shahed, -
- 2 followers
- 0 replies
- 565 views
I'm using the post Topics api, but I can't figure out how to attach an image to the discussion... function CreateTopic($forum,$title,$post,$author) { $url = 'https://forum.****.it/'; $apiKey = '*******'; $point = '/forums/topics'; $endpoint = $url. 'api'. $point. '?key='. $apiKey; $options = [ 'form_params' => [ 'forum' => $forum, 'title' => $title, 'post' => $post, 'author' => $author ] ]; $client = new Client(); $request = $client->post($endpoint, $options); return $request; } I can't find anything in the documentation to attach an image to the discussion...
Last reply by Askancy, -
- 3 followers
- 6 replies
- 1.3k views
I am trying to set record image via Pages API using following variable. fields[record_record][filename] = 'Raw Content' But none of variable is working, but if i create custom field and post data to that it is working. fields[4][filename] = 'Raw Content' Let me know if i am doing something wrong.
Last reply by virap1, -
-
- 2 followers
- 3 replies
- 966 views
Hi there, According to the documentation https://invisioncommunity.com/developers/rest-api?endpoint=downloads/files/POSTindex I have to send the files as key being the name and value being the file contents... Does it mean base64? Kind regards.
Last reply by Ryan Ashbrook, -
-
-
- 2 followers
- 6 replies
- 593 views
I was wondering if this is actually a bug? If you create an RSS feed in the AdminCP for Blogs, the resulting feed lacks any HTML formatting compared to normal front-end feeds. This means anyone attempting to import or read the feed gets a solid block of text.
Last reply by The Old Man, -
-
I noticed that in the profile tabs for Blogs that Guests (possibly other member groups too) can see details of Blogs they don't have access to see. Aside from meta, only the Blog Title and Entry is revealed. Clicking on the Blog title takes the guest to the blog...
Last reply by The Old Man, -
- 1 follower
- 3 replies
- 795 views
Hello, is there a way to load a Node by column_name instead of by id like it is by default?
Last reply by szalik.dev, -
-
- 2 followers
- 4 replies
- 812 views
Hello (yet again) I'm currently working on custom Login Handler and noticed that if i login using external login, it works fine but when i cancel registration member isn't being deleted This got me thinking, do i need a special code to verify if user cancelled registration or?
Last reply by Marc, -
-
- 1 follower
- 1 reply
- 546 views
Hello, i'm trying to add Turnstile Captcha to my website, i've managed to add new captcha settings into Spam Prevention but when i'm visiting website Whoops throws me this error: I've created Turnstile class inside my app, set namespace to IPS\Helpers\Form\Captcha; but that didn't help, is there any way to redirect that new Captcha to load from class \IPS\myapp\Captcha\Turnstile?
Last reply by szalik.dev, -
- 2 followers
- 8 replies
- 1k views
Hi, i'm trying to add few new settings to forums, i've managed to extend Forum Node to add settings to Forum creator/editor but i'm wondering if there's actually a way to create new column inside of forums_forums table or do i have to save those settings within new table generated by app? What i've made so far is this: Hook extending IPS\forums\Forum node: //<?php /* To prevent PHP errors (extending class does not exist) revealing path */ if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) ) { exit; } class cpfiafi_hook_forum_settings extends _HOOK_CLASS_ { public function form( &$form ) { parent::form($form); $form->addTab( 'tab_settings' ); $form-…
Last reply by szalik.dev, -
- 1 follower
- 1 reply
- 594 views
Hello, (again) I'm trying to make a hook that adds new settings to new forums form, but for some reason i'm welcomed with this when i use class IPS\forums\modules\admin\forums as class that i'm extending. Is there something i'm missing?
Last reply by szalik.dev, -
- 1 follower
- 8 replies
- 909 views
I'm working on something right now and i can't find any info about how to add new tab to website.com/settings page, is it supposed to be a extension, hook or module and if what class?
Last reply by teraßyte,