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
- 6 replies
- 398 views
Hi, I am currently trying to create a message using the https://invisioncommunity.com/developers/rest-api?endpoint=core/messages/POSTindex api. The "to" parameter is stated to be of type "array". I only need to pass one recipient there, but regardles of how I format the paramater (when testing the api in Postman), I always get "errorCode": "1C374/3", "errorMessage": "INVALID_RECIPIENT" back. I tried to give the user id just as number 2, or as json formated array [2], or a string in json formated array ["2"]. Nothing seems to work. Am I doing something obvious wrong or is there a problem with this api parameter? The documentat…
Last reply by Refsmmat, -
-
-
- 2 followers
- 2 replies
- 509 views
Version: v4.7.17 Application: CMS Module: pages Controller: templates Issue: When deleting Items from the Templates Panel, the ipsTabs Panel does not refresh. How to replicate: Go to the ACP: Pages and Templates Click on the CSS tab in the Left-hand Tabs Panel Click New button and create a new CSS file. Inside the CSS tab (Left-hand Tabs Panel), click on the CSS file just created, and click on the delete button top right corner. After deleting, the page will refresh, in some cases, the CSS file you have deleted will remain visible in the Left-hand Panel. Also, the CSS tab will remain active, but the contents of the HTML t…
Last reply by Marc, -
-
-
- 2 followers
- 11 replies
- 572 views
Anyone else getting these error messages while editing Hooks in development mode? I thought this might have been due to the issues that I was having previously, but after checking all my logs, I have found no issues. For the time being, I have disabled Mod Security on my dev site, and I am still getting this error. Any suggestions?
Last reply by TDBF, -
-
-
- 2 followers
- 1 reply
- 434 views
Bug: Latest version. When in the ModCP Reported Content and viewing a reported item which has been deleted. If I click on the 'Delete Permanently' button, instead of the content being permanently deleted (as expected), it is added to the Delete Content queue again. As you can see in these examples from this screenshot, the content is not deleted but just put into the deletion queue. Expected Behaviour When permanently deleting content from here, I expected the content to be deleted and not added to the deletion queue.
Last reply by Marc, -
-
- 1 follower
- 0 replies
- 428 views
Is it possible to add an extra column to the exported RSS feed without a hook, as I will need this functionality on IPS5 as well? - \IPS\core\Rss::generate() /* We have to use get() to ensure CDATA tags wrap the title properly */ $title = \IPS\Member::loggedIn()->language()->get( "rss_export_title_{$this->_id}" ); $description = \IPS\Member::loggedIn()->language()->get( "rss_export_title_{$this->_id}_desc" ); $document = \IPS\Xml\Rss::newDocument( $this->url(), $title, $description ); foreach( $results AS $result ) { $result->addToRssFeed( $document ); } return $document->asXML(); } Thank you.
Last reply by Adriano Faria, -
- 1 follower
- 0 replies
- 333 views
Editing Topic content in the ModCP Report Content area is awful, due to the contents being squashed into a small part of the screen (This is on a desktop). Could this not be loaded into a modal box instead, or redirected to the actual Topic and edit from there? 🙂
Last reply by TDBF, -
- 1 follower
- 0 replies
- 352 views
Issue: Custom Pages block, which use manual HTML and includes a template/s, will have a caching issue. The template embedded in the HTML is cached, but any edits made to the template are not updated. As a result, the content remains outdated even after clearing the system cache. For example: (This is just an example) If I create New Pages Block, and select 'Manual HTML' from Content Editor. Then from the Content tab, add the following code: <div class="ipsBox ipsPadding"> <div class="ipsPos_left"> {template="includeLeftBox" app="core" group="global" location="front" params=""} </div> <div class="ipsPos_right"> {templ…
Last reply by TDBF, -
- 2 followers
- 7 replies
- 638 views
Where can I buy a theme for my forum?
Last reply by TDBF, -
-
- 2 followers
- 7 replies
- 1.3k views
I was testing Achievement in one of my resources and after uninstall the app, the rule record of the app is still in the table, which will case a template error: Table: I also installed Downloads to test the bug and the record remains too after uninstall the app. Thanks. 👍
Last reply by Daniel F, -
-
-
- 2 followers
- 2 replies
- 351 views
This is a question regarding Two-Factor Authentication settings. This is my settings for Two-Factor Auth, and my understanding is that once I have given authorization via Google Auth app, I would not need to be asked again for another week unless my session is closed (signed out or timed out) I take this to mean that I have signed out, or the PHP session has timed out after a period of time. However, I find that if I close my browser, and sign in via AdminCP, I am prompted to for authentication via Google Auth again. I just wanted to know if this is the expected behaviour with this, or not?
Last reply by Marc, -
-
-
- 2 followers
- 1 reply
- 348 views
Selecting 'Take me to the beginning' in 'Content View Behavior' (Member's Account settings), will not take you to the beginning as expected, but you will be taken to the last post of the topic. Both 'Take me to comments I haven't read' and 'Take me to the latest comment', work as expected.
Last reply by Marc, -
-
- 1 follower
- 1 reply
- 415 views
Hello, I am a novice with zero coding experience. At both the top and bottom of each page, there is a navigation bar that says "Community Home," and then changes depending on what page I'm on, such as Community Home > Calendar, Community Home > Blogs, etc. How do I get rid of this and just have the drop-down menu that I created? Any help is appreciated! Thank you.
Last reply by TDBF, -
- 0 replies
- 469 views
under this defined tags section I have quite a number of tags which is present. See the below image I want to get this all the tags in a speicific part of the template, i am using this code. <ips:template parameters="$baseUrl, $count, $id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class='', $attributes=array(), $sidebar=NULL, $form=NULL, $errorTabs=NULL, $tags=array()"/> <h1>Suggested Tags</h1> {{if \count( $tags )}} {{foreach $tags as $tag}} {$tag} {{endforeach}} {{else}} …
Last reply by Dru Vagale, -
I have an application with 2 separate Content Item classes setup. The first one is okay with the normal permissions, but for the second one, I had to add a ContentModeratorPermissions extension to implement some custom permissions. What happens is that the custom permissions are also being shown for the first Content Item class which doesn't need them. The extension needs a way to check the content item class being passed to check if it should return or not the custom permissions.
Last reply by Marc, -
-
- 2 followers
- 1 reply
- 428 views
When viewing Manage Promoted Items in the User Navigation (frontend), I'm getting the following Theme Error: The error log is as follows: IPS\Http\Url\Exception: INVALID_SEO_TEMPLATE (0) #0 /###/#######/###.thedarkblues.co.uk/init.php(940) : eval()'d code(169): IPS\Http\Url\_Friendly::buildFriendlyUrlComponentFromData() #1 /###/#######/###.thedarkblues.co.uk/system/Http/Url/Friendly.php(129): IPS\Http\Url\cms_hook_FriendlyUrl::buildFriendlyUrlComponentFromData() #2 /###/#######/###.thedarkblues.co.uk/init.php(940) : eval()'d code(105): IPS\Http\Url\_Friendly::friendlyUrlFromQueryString() #3 /###/#######/###.thedarkblues.co.uk/system/Http/Url.php(143): IPS\Ht…
Last reply by Marc, -
-
- 1 follower
- 14 replies
- 1.3k views
Is their any central place where all developers are coming together to publish their addons? I remember many eon's back during vB days.. they used to have some modding community or at least some forum existed. With new IPS structure, it's annoying as hell from user perspective, going to 10 forums! I am also worried, that addon developers will not get new customers.. and they will move to different forums who support modding. But again, I am here not to debate on decision which has been made. Just looking for alternative solution if available. Thanks
Last reply by TDBF, -
-
- 2 followers
- 3 replies
- 415 views
I just updated my site to 4.17.7 from the previous version and I noticed my themes were looking different. Upon closer inspection I found that the upgrader duplicated some but not all of my custom theme settings, but excluded the values they were actually set to, meaning that whatever the original setting was set to, the duplicate was overriding it with a default value, hence overriding the original version of the setting. Example: Super annoying.
Last reply by The Old Man, -
-
-
- 2 followers
- 1 reply
- 394 views
I'm in the middle of migrating from oneserver to another and I wondered what I need to do about licencing. The process is complicated by the fact we're updating our integrated bespoke app at the same time so there needs to be a period where we run 2 instances of the board, one for public use and one for internal testing by the team. Where do we stand licence-wise if the testing instance is not available to the public, it will be restricted behinf a password?
Last reply by Marc, -
-
-
- 1 follower
- 3 replies
- 566 views
Hi! Coudn't find a full documentation for developers with all avaliable classes, methods etc, but only examples and api doc. Where I can find a full documentation?
Last reply by Marc, -
-
- 2 followers
- 3 replies
- 580 views
Not a developer, but wondering whether it's possible to have someone create a web app that functions within Invision, so that each user can complete forms of various types (with graphical output) and view and update these over time, privately ie only visible when logged in? And, ideally, upload documents to an also-private area? Apologies for the terminology! J
Last reply by DawPi, -
- 1 follower
- 0 replies
- 552 views
I create members with REST API: POST https://myurl.com/api/core/members Assuming I have an avatar image URL like this https://pixabay.com/get/g0e4242279c2ba3e6b5db76446d77d582a4b7d0339ba7d3fe376118abe673fe7b57bbbfa97b1f69ea042053b4ba80222c_640.jpg I would like to import the image into IPS, save it in uploads (prevent hot linking), and set as a custom profile photo for the created member. Is there any way to do it through REST API?
Last reply by Sonya*, -
-
- 2 followers
- 4 replies
- 533 views
I'm using the API (HTTP POST on https://XXXXXX/api/forums/posts/{id}) to correct the content of some messages. To find the bad content I want to correct, I use a search expression (helps the API again). But once I corrected the content, a new search call still finds the initial uncorrected content. Indeed, the search index has not been updated with the new content. My question is how will the search index be updated? Is it automatically after some time or do I have to rebuild manually the complete index? PS: I also did a test by using the "edit" function available for admins on the Web page (=> not using the API), and the result is the same: no sear…
Last reply by bernhara, -
-
- 1 follower
- 1 reply
- 505 views
I post a record through API: {{base_url}}api/cms/records/45/?author=1&fields[208]=Title&fields[209]=Content&date=2024-05-10T22:34:28Z The date is ignored.
Last reply by Sonya*, -
- 6 followers
- 10 replies
- 2.2k 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 Adriano Faria, -
- 3 followers
- 0 replies
- 499 views
Within my industry community my forum was tapped to be included on an AI initiative to pool together our resources to create a corpus of knowledge to train our own AI to provide a resource to the greater community as a whole. I am deciding the method to best be used as cadence to provide new data points to our model. Web hooks pushing data out as it is created or creating a middle where to poll with API requests to fetch data. We have discussed at least at a high level plans to mitigate PII from being introduced to our model. As I have raised concerns in the past in the current platform there is no way to restrict what is liberated via web hooks, for myself I …
Last reply by Ocean West,