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
-
-
- 2 followers
- 11 replies
- 1.1k 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
- 380 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
- 332 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.2k 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
- 511 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
- 347 views
As per screenshot, this one has monthly renewals. Blame it on the Leap Year!
Last reply by Marc Stridgen, -
-
- 3 followers
- 9 replies
- 549 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
- 491 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 Stridgen, -
-
-
- 26 followers
- 167 replies
- 11.5k 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
- 299 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 Stridgen, -
-
- 3 followers
- 3 replies
- 297 views
Points to https://invisioncommunity.com/4guides/advanced-options/configuration-options/seo-robotstxt-r364/
Last reply by Marc Stridgen, -
-
- 1 follower
- 2 replies
- 295 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
- 288 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
- 898 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 Stridgen, -
-
- 1 follower
- 0 replies
- 323 views
Hello, A brief: I have a sports tips forum where users open a topic with sports game recommendations, and at the end of the game, they manually mark Lose/win on the topic. On my forum, a custom app calculates the win/lose mark rate for each user and presents the success rate. I want to automate the mark/lose part by integrating the topics with an external aspx board. Today: 1. The user manually opens a new topic 2. The user fills in all details manually and publishes the topic. 3. The user manually marks win/lose (mark app), and the rate stat app (custom app) calculates everything automatically. --------------------------------…
Last reply by LiveG, -
-
- 2 followers
- 15 replies
- 824 views
In Fluid View when many filters are checked in the Filters widget, what is the URL to clear all filters (from the session) with just one click? Using /?forumId= and it works and clears all filters but it leaves that URI in the address bar. Is there a more graceful way to clear filters?
Last reply by WebCMS, -
-
- 2 followers
- 7 replies
- 629 views
Hi, I want to implement Adds only visible for special User Groups. Any tipps to implement this?
Last reply by AlexWebsites, -
-
- 2 followers
- 5 replies
- 623 views
I have just upgraded my test and live installs from Version 4.7.12 to Version 4.7.14, and I have issues with Form Text not displaying 0 values correctly. 0 seem to be treated as NULL or Empty values now. Text Form on 4.7.12 Same Form 4.7.14 There were no other changes to the code or the values (database) expect from changing from Invision 4.7.12 to 4.7.14. $form->add( new \IPS\Helpers\Form\Text( 'fixture_goals_home', $fixture->goals_home, FALSE, [], NULL, NULL, NULL, 'fixture_home_ft_score' ) ); $form->add( new \IPS\Helpers\Form\Text( 'fixture_goals_away', $fixture->goals_away, FALSE, [], NULL, NULL, NULL, 'fixture_away_ft_score'…
Last reply by TDBF, -
-
-
- 2 followers
- 2 replies
- 417 views
Just FYI, theme_cookie seems to be missing from the cookies list
Last reply by Marc Stridgen, -
-
If you have something like <div data-controller="foo"> <div data-controller="bar"></div> </div> ips.controller.register("foo", { initialize: function() { ips.controller.cleanContentsOf(this.scope); } }); The controller on bar will be initialized on the dead element, and never cleaned up: ips.controller.register("bar", { initialize: function() { console.log(document.contains(this.scope[0])); // => false }, destroy: function() { console.log("destroyed"); // never called } }); This happens because ips.controller#_findControllers is called once to get all controllers to load, then the controllers are run one …
Last reply by Marc Stridgen, -
-
- 2 followers
- 4 replies
- 764 views
Invision: 4.7.10 PHP 8.0 While in development mode and with Whoops enabled, any error from a widget will result in a loop while writing the error to the database, and cause the server to time out and crash. For example: (This is an example just to trigger an error and not a real world example) /** * Render a widget * * @return string */ public function render() { $lastFixture = NULL; $$nextFixture = NULL; return $this->output( $lastFixture, $nextFixture ); } From the error log: 🙂
Last reply by Marc Stridgen, -
-
-
- 1 follower
- 1 reply
- 304 views
Another behavior I've noticed is even though the REST API call executes, it is not always logged regardless of the status code (200, 201, 400, etc). Specifically I noticed this when GETing and POSTing to Pages DB.
Last reply by Daniel F, -
-
- 1 follower
- 0 replies
- 278 views
I see a "date" field available, which updates record_saved in the CMS records table. Is there any way to set the record_publish_date? It's not a field and I don't see any reference to it in the API request, so I'm assuming there is no way to set this, I'd have to manually run some SQL to do it?
Last reply by Clover13, -
For a Pages DB with many fields (that are collectively the "content"), I want to set the Content marked field as not required and clear all permissions so no one sees it. My reasoning for this setup in that the N other fields are the effective "content", not a single field. Of course something will be required, so one could just pick a random required field and mark it as the content field, however I found two issues during my testing of an "optional" Content marked field with no permissions to view/create/edit for any group. An API request to POST cms/records/{database_id} with the content field either not included or set to "" still returns TITLE_CONTENT_REQUI…
Last reply by Clover13,