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
-
- 6 followers
- 10 replies
- 2.3k views
Hi, Would it be possible to integrate API OpenAI to make answers on the forum? Or to create articles? Thank you very much for your feedback
Last reply by GoodBoyGilb, -
-
- 7 replies
- 701 views
Hello, how can I extract data from an external database to a table? ($table)
Last reply by deple, -
-
- 1 follower
- 3 replies
- 721 views
Hi, I'm not sure that this is an issue on my end or not. I have created a hook which extends class \IPS\Content\Controller, however when I try to edit the hook I get the following error. Anyone else getting this? Error: Call to undefined method ReflectionUnionType::getName() (0) #0 C:\wamp64\www\#\applications\core\modules\admin\applications\developer.php(3577): IPS\Plugin\_Hook->editForm() #1 C:\wamp64\www\#\system\Dispatcher\Controller.php(107): IPS\core\modules\admin\applications\_developer->editHook() #2 C:\wamp64\www\#\applications\core\modules\admin\applications\developer.php(69): IPS\Dispatcher\_Controller->execute() #3 C:\wamp64\www\#\sy…
Last reply by TDBF, -
- 2 followers
- 2 replies
- 547 views
I normally create my hooks via the ACP and then edit the hook via the file via my IDE. (I have asked many times if you guys could increase the size of the Hooks Textarea or make it expandable, because I hate editing within a letter box. 😋) However, after the last release, this is now borked. If I edit the hook via the file, my IDE will format the code on save, and the next time I edit/add new elements to the hook class a new 'public static function hookData()' class will be created causing a Fatal error: Cannot redeclare IPS\hookData() in. For example: In this test hook, this is the content created by the core. /** * @mixin \IPS\Theme\class_forums_…
Last reply by TDBF, -
- 1 follower
- 4 replies
- 582 views
Hello, we have mixins for controllers: But what about mixins for UI? For example how can I change that part from a ips.ui.uploader.js: /** * Sets up this instance * * @returns {void} */ var init = function () { uploaderID = $( elem ).identify().attr('id'); if( options.listContainer ){ listContainer = $( options.listContainer ); } else if( $( elem ).find('[data-role="fileList"]').length ) { listContainer = $( elem ).find('[data-role="fileList"]'); } else { listContainer = $( elem ); } // Do we need to insert a wrapper though? if( ips.templates.get( options.template + 'Wrapper' ) ){ listContain…
Last reply by DawPi, -
The thumbnail settings are specified in the specific Pages DB Options, however doing a POST with the image included seems to generate a 500x500 thumbnail regardless of the settings. If you go into the record after it's been created by editing it on the record view page, then save it, it will regenerate the image to the correct size. Obviously this is a bit too much effort if you have many records. Is there any other solution? There used to be a rebuild thumbnails, but I think that was removed quite some time ago.
Last reply by Marc, -
-
- 2 followers
- 1 reply
- 553 views
For example: if I set 4 as maxItems on a Stack field, I get the message: which is not right. It should be "You must provide up to 4 items" or something like that. Language bit: form_items_max.
Last reply by Marc, -
-
-
- 3 followers
- 3 replies
- 548 views
I have created a database. I have set permissions so that Members are allowed to create records within the database. I have added a new club feature based on this database. Who can add a new record to the feature? Club owner and club leader only. Club moderators and club members are not allowed to add records. I have already asked it. But just to be sure: does it work as desired? Is there any way the members of the club can add records? Thanks.
Last reply by opentype, -
-
-
- 2 followers
- 1 reply
- 502 views
After a fresh install, I cannot find any Pages templates. Reproducible on localhost and test url. By the way: I am going to explore the new Pages in club feature. Where would you like to have bugs reports? Here, in technical problems or somewhere else?
Last reply by Marc, -
-
- 0 replies
- 412 views
Hello Team, I'm trying to send a POST request through the endpoint using axios, so that I can update the member's group. Flow for the code below: I call the function updateMemberGroup, which uses the function searchMember to get the member's id, and then I try to update the member's group on the endpoint api/core/members/${id}, as shown in the documentation: https://invisioncommunity.com/developers/rest-api?endpoint=core/members/POSTitem Please find below my code for that: async function searchMember(email) { const url = communityUrl + 'api/core/members'; let id = axios.get(url + `?email=${email}`, { headers: { …
Last reply by Capitão Jack, -
-
- 2 followers
- 11 replies
- 1.6k views
Hello, i'm trying to make something work on my localhost installation and after 2 hours of trying to add a block to ACP Member Profile, i'm coming here to ask for help. What i did: I've created an extension trough Developer Center I've tried to change default output from return 'Hello World!'; to template but neither of those two seem to be working. I've disabled DEV_MODE to check if that was the issue but even with dev_mode disabled, nothing showed. Is there something i'm missing?
Last reply by Adriano Faria, -
-
- 1 follower
- 1 reply
- 777 views
Hello, I also made this topic in the general “Technical Problems” forum, however because this problem is urgent for us, we are also looking for a developer that can possibly solve this problem (for money ofcourse), so hit me up if you can help us. this is the problem: We are having a problem with the way our topics are interacting. When you go to this topic for example: https://www.higherlevel.nl/forums/topic/74791-update-verplichte-aov/?do=getNewComment You won’t go to the newest comment, in our case just the first comment gets loaded, sometimes this works, other times it just goes to a random page. We have tried disabling customization, with no avai…
Last reply by Randy Calvert, -
- 1 follower
- 2 replies
- 629 views
I have two custom applications, that have been developed about 15 years ago. They run on the latest IPS without issues. However, both applications do not count their submissions towards posts (1) and do not have a section in All activity on profile (2). To illustrate what I mean, I have marked the areas on my profile here. The entries of both applications extend \IPS\Content\Item. My questions are: What should I do to count the entries from these applications to increase posts number? What should I do to show the sections of these applications in the All Activity list in member's profile?
Last reply by Sonya*, -
- 1 follower
- 9 replies
- 1.7k views
Hello everyone, I come to you because I have a question concerning my integration. I have User Control Panel made with Laravel (mydomain.com) And Invision Community as Forum (forum.mydomain.com). What I would like to accomplish : If the user is not logged in, he's redirected to the default Invision Community login handler. If the user is logged in, he's also logged in on Laravel (mydomain.com) and Forum (forum.mydomain.com) Have the ability to retrieve user informations (core_members) from the Laravel (username, avatar .. etc) How can I accomplish this? (and in a secure way) Thank you ! :)
Last reply by Stuart Grimshaw, -
-
- 3 followers
- 9 replies
- 843 views
Hi, I've just realized that all applications information in JSON and XML formats is freely available on the web. For example: https://invisioncommunity.com/applications/core/data/schema.json https://invisioncommunity.com/applications/core/data/settings.json https://invisioncommunity.com/applications/core/data/furl.json => Isn't it dangerous to leave sensitive information such as the database structure of all applications, default settings, or even all existing URLs accessible? For example, settings.json contains the parameter recaptcha2_private_key… This applies not only to Invision applications, but also to third-party ap…
Last reply by LaCollision, -
-
-
- 2 followers
- 3 replies
- 600 views
As per screenshot, this one has monthly renewals. Blame it on the Leap Year!
Last reply by Marc, -
-
- 3 followers
- 9 replies
- 1.1k views
I'm looking to use a third party API to GET some data that doesn't change often throughout the day and then display it on a Pages page. The API has these considerations: There is no known timeframes when the API data will be updated. We are only concerned with the current snapshot of data, not any history. The API is rate limited, and we certainly don't want to call it for every page load. The amount of data is small but each record does have a start/end date for managing expired records. However, it may be easier to just replace all of the data stored versus trying to perform an upsert operation. What would you recommend as an …
Last reply by Clover13, -
-
- 2 followers
- 4 replies
- 763 views
I have an invision site (e.g. forum.mysite.com) and I want to enable it's forum RSS feed to be read by javascript inside the browser of a page on another site: other.mysite.com. To do this requires that the invision site set the `Access-Control-Allow-Origin: other.mysite.com`. Is this possible via configuration of the invision site? Note that I'm using the hosted solution from invision.
Last reply by Marc, -
-
-
- 25 followers
- 167 replies
- 14.2k views
Hi all, Next week we plan on releasing a few blogs outlining what development looks like for Invision Community v5. I was curious as to what changes you'd like to see, and what changes do you think are coming?
Last reply by Matt, -
-
-
- 2 followers
- 3 replies
- 518 views
Hello, I want to show a dynamic live .aspx page on my forum. is it mandatory for me to buy the"pages" extension? Thanks.
Last reply by Kirill Gromov, -
-
Hello, Version 4.7.15 compileFullEmail attempts to fold long headers by using the wordwrap function - but this does not work correctly as whitespace gets 'swallowed' and the extension line does not start with white space. The rule for Long Headers (those that exceed 998 bytes) is that they should be split so that the next part starts with white space -- i.e. crlf ma#y be inserted before the whitespace and NOT as a replacement for the whitespace. "unfolding" only works correctly if the follow on lines start with white space -- i.e. "Unfolding is accomplished by simply removing any CRLF that is immediately followed by WSP." Our particular failure scenario was…
Last reply by Marc, -
-
- 3 followers
- 3 replies
- 588 views
Points to https://invisioncommunity.com/4guides/advanced-options/configuration-options/seo-robotstxt-r364/
Last reply by Marc, -
-
- 1 follower
- 2 replies
- 520 views
Hi, When editing guest Search Flood Control, I get and uncaught exception: UPDATE `ib_core_groups` `core_groups` SET `g_view_board`=true,`g_dohtml`=false,`g_search_flood`=3.0,`g_access_offline`=false,`g_topic_rate_setting`=1,`g_mod_post_unit`=NULL,`g_avoid_flood`=false,`g_avoid_q`=false,`g_mod_preview`=false,`g_bypass_badwords`=false,`g_can_report`=0,`g_view_displaynamehistory`=false,`g_download_original`=true,`g_movies`=false,`idm_view_approvers`=false,`idm_view_downloads`=false,`idm_linked_files`=false,`idm_import_files`=false,`idm_bulk_submit`=false,`g_blog_allowcomment`=false WHERE g_id=2 IPS\Db\Exception: Column 'g_mod_post_unit' cannot be null (1048) #0 /h…
Last reply by The Old Man, -
- 1 follower
- 1 reply
- 540 views
Just upgraded my localdev test installs for the first time since applying a backup restoration and I'm seeing the following error: Aside from the workaround via constants, the error doesn't say what the configured temporary directory is called, so I can't check its permissions. Does anyone know which folder it is referring to? Many thanks!
Last reply by The Old Man, -
-
- 4 followers
- 17 replies
- 2.1k views
I actually posted this last night and then deleted it thinking it was fixed, but it wasn't. I've tried everything I can think of to get the PWA app icon and splash screen to display correctly, but can't seem to figure it out. Device: iPhone 13 Pro Max I've uploaded various sizes (full size, 512x512), solid background color, transparent background, etc. Each iteration I've manually deleted all S3 images generated and cleared the CF cache. I've also cleared my browser cache. I've manually checked the S3 linked images and they appear correct, however when I open my site and "Add to Home" the background of the logo is always white and the splash screen is alway…
Last reply by Marc, -