Developer Connection
Use this forum to interact with our development team on technical issues, suggestions and official best practices advice.
1,737 topics in this forum
-
- 2 followers
- 0 replies
- 237 views
I just found randomly that the MemberFilter extension can also be used for Automatic Moderation & Password Reset, but there is no mention of it anywhere in the documentation, it only states Bulk Mail & Group Promotions. Even the extension generated by the ACP doesn't list all 4 values but only 2: /** * Determine if the filter is available in a given area * * @param string $area Area to check * @return bool */ public function availableIn( $area ): bool { return \in_array( $area, array( 'bulkmail', 'group_promotions' ) ); } It should list all 4 values: return \in_array( $area, array( 'automatic_moderation', 'bulkmail', 'gr…
Last reply by teraßyte, -
-
- 1 reply
- 249 views
Hi, I try to POST a post to invision community with an attachment with REST API. So storing the post itself with content is no problem, but how to add the attachment? I had a look for an existing post with attachment and GET it via REST and the attachment looks like: <a href="https://my.url/uploads/monthly_2024_09/myfilename.jpg" class="ipsAttachLink ipsAttachLink_image" data-fileid="35" data-fullurl="https://my.url/uploads/monthly_2024_09/myfilename.jpg" data-ipslightbox="" data-ipslightbox-group="g30231"><img data-fileid="35" src="https://my.url/uploads/monthly_2024_09/myfilename.jpg" data-src="https://my.url/uploads/monthly_2024_09/myfilename.jpg" …
Last reply by Daniel F, -
-
-
- 2 replies
- 243 views
Hi folks, I am currently preparing a migration to invision community. I want to use the REST API and tried to HTTP POST few accounts. This is working fine, but the users will get an email: "An administrator has created a new account for you at <your instance>.". How can I disable this? I do not want this message while migration, especially not while API interactions. Is there a flag to disable notifications on REST actions? Or is there a way to disable specific notifications like this user creation notification in general? I saw that I can disable SMTP with \define( 'EMAIL_DEBUG_PATH', '/dev/null' ); but that's maybe a too general restriction. …
Last reply by Carl Zeiss GOM Metrology, -
-
- 1 follower
- 1 reply
- 349 views
Hello, is there a way to set up YesNo button that saves after changing its state without having to set up whole form? What I want to achieve: what I get instead: is it even possible or do I have to write JavaScript code for it?
Last reply by teraßyte, -
-
- 1 follower
- 6 replies
- 420 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
- 528 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
- 1 reply
- 475 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
- 453 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
- 350 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
- 366 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
- 691 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
- 376 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
- 366 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
- 443 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
- 487 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
- 457 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.4k 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
- 447 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
- 408 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
- 619 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
- 605 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
- 596 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
- 581 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, -