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
-
- 4 replies
- 550 views
Hello! I am looking for a dev to take a look at my hosting and to update my PHP. I also have some warnings as well. Thanks!
Last reply by Jirarium, -
- 1 follower
- 0 replies
- 370 views
Hi, My installation deals with pretty large uploaded files (between 50 and 300 MB). Our main Invision server is in France, and is configured to use Amazon S3 storage (in France too). This configuration runs perfectly while our users are in Europe, but as soon as we get worldwide customers, the upload speeds drop dramatically. For instance, in India, a user reported an upload time of 45+ minutes for a 200 MB file, while he has a 100 Mb network connexion. Another user from Australia told us it is almost impossible to upload a file on our installation. So, my question is: is there a way to increase upload speeds? For instance by adding some serv…
Last reply by LaCollision, -
- 2 followers
- 8 replies
- 1k views
@Daniel F @Stuart Silvester I think there's a bug on plugin install if this plugin creates a table. You should be using PHP 8 and with IN_DEV enabled. The error: The error happens in the step that has the \IPS\Db::i()->createTable. If you disable the IN_DEV or install the plugin in PHP 7.4, it works just fine. Tested in several plugins, 3 installs.
Last reply by Adriano Faria, -
- 3 followers
- 9 replies
- 1.6k views
Has anyone thought of creating a delivery service app?
Last reply by Ocean West, -
- 2 followers
- 0 replies
- 887 views
Hello! I really enjoy Query Builder and Query Scopes in Laravel. Can we expect something similar in IPS 5.0?
Last reply by Ilya Hoilik, -
- 1 follower
- 3 replies
- 764 views
I have one drop down menu on my site called "Articles," and after upgrading from 4.5 to 4.6 the new badge, in my case "Grand Master" blocks the lower half of the menu. See the below screen shot and ~5 menu items are blocked by this image, and the very last link does show below it. Is this a bug? Does anyone have a quick fix for this issue?
Last reply by Afrodude, -
- 1 follower
- 0 replies
- 447 views
Hi, I'm unsure if you would class this as a bug but I've been trying for quite a while now to import some IPS Blogs into Pages via their RSS feed. I need to preserve some important team project blogs including some memorial blogs before removing the Blogs app which hadn't been used for years. The Copy to Database feature only lets you import from Forums, so I can't use that. I don't think Adriano's plugin does it either. I originally had to wait for a Import RSS Feed bug in to be fixed, now I'm having issues with the actual images in the articles. No matter which of the 3 image import options I select when setting up the RSS import, it imports the blog entry i…
Last reply by The Old Man, -
- 2 followers
- 4 replies
- 670 views
In \applications\core\api\hello.php you have this code: public function GETindex() { return new \IPS\Api\Response( 200, array( 'communityName' => \IPS\Settings::i()->board_name, 'communityUrl' => \IPS\Settings::i()->base_url, 'ipsApplications' => \IPS\Application::load('core')->version, 'ipsApplications' => array_filter( array_keys( \IPS\Application::applications() ), function( $k ) { return \in_array( $k, \IPS\IPS::$ipsApps ); } ) ) ); } The version line used to have the ipsVersion key, looks like it was overwritten by mistake with ipsApplications: 'ipsVersion' => \IPS\Application::load('core')->version
Last reply by The Old Man, -
- 2 followers
- 9 replies
- 737 views
When updating an application, have been having issues with Notifications being displayed while in development mode. I would get this error while trying to view Notifications from the "View All Notifications" in the frontend of the forum. And the spinning wheel of death: If there is a saved Notification within the 'core_notifications' database with a notification_key in the table which does not have a notification_parse function, you will get the above error. This only happens when in developer mode.
Last reply by DawPi, -
- 4 replies
- 950 views
Granted, it does what it says, but the reality is you are mainly concerned with Authorization headers being sent and you are assuming if CGI then no auth headers. You may wish to start checking for valid auth headers instead - that can be dealt with with CGI implementations - both .htaccess and Nginx confs - it's only a rewrite rule for the most part, not that hard. It's a hard warning when setting up API keys now (telling admins to set an ip address to be safe), and a little digging shows that when you guys eventually go ahead and turn on Zapier integration for the masses it is going to tell CGI mode servers to get bent and I imagine there will be a non-trivial numb…
Last reply by All Astronauts, -
- 2 replies
- 726 views
Have error for MySQL select: $select = \IPS\Db::i()->select( '*', 'news_artcms_news', array('categorynum LIKE ?','%main%'), 'news_artcms_news.num DESC', array( 0, 12 ) ); $results = \IPS\Db::i()->query($select); Where is my mistake? I try to change problems code: array('categorynum LIKE ?','%main%') to array('categorynum = ?','main') but error dont fixed.... categorynum is text field
Last reply by Bazilisk, -
- 1 follower
- 2 replies
- 475 views
Fillow manual I can sent variables only to first column in template. \IPS\Output::i()->output = \IPS\Theme::i()->getTemplate( 'app1', 'app1_module', 'front' )->newslist($title, (array) $variables); Is it possible to send it to second column? Regards,
Last reply by Bazilisk, -
lang issue
by desti- 3 replies
- 680 views
After attach pdf to post we see attach block: In english all ok In russian - problem Fast solution: in file system/Lang/Lang.php replace $replacement = mb_substr( json_encode( $replacement ), 1, -1 ); to $replacement = mb_substr( json_encode( $replacement, JSON_UNESCAPED_UNICODE ), 1, -1 ); now all fine
Last reply by desti, -
- 1 follower
- 0 replies
- 739 views
Hi, I have a problem with pagination in user profiles (Tabs). I create an application: I'll add a Profile named ProfileClassname.php in Extensions Its contents have not been changed, except for the render function to: /** * Display * * @return string */ public function render() { $table = new \IPS\Helpers\Table\Content('IPS\testpagination\TestPagination', $this->member->url()->setQueryString(array('tab' => 'node_testpagination_Profile'))); $table->rowsTemplate = array(\IPS\Theme::i()->getTemplate('profile', 'testpagination', 'front'), 'testpaginationRow'); $table->limit = 2; $table->noModerate = TRUE; retur…
Last reply by aXenDev, -
- 2 followers
- 1 reply
- 468 views
I am in IN_DEV. I have created a custom block template (Pages -> Templates -> New -> Add block template). I have created a custom block based on plugin RecordFeed. I cannot apply my custom block template to the custom block unless I switch off IN_DEV. The only template I can select when IN_DEV is Default template. Does it work as desired? Every time I edit a block, I have to switch off IN_DEV to keep the custom block template applied. If I forgot it, the template is reset to Default template.
Last reply by opentype, -
- 2 followers
- 1 reply
- 629 views
There are some bugs in CSS and JS GUI of CMS. 1. Deleting Javascript files How to reproduce: In AdminCP, go to Pages -> Templates and select the tab JS. Click on New and select Add Javascript file. After saving, click on Delete and confirm the dialog The list of templates you see now is from HTML tab, although JS tab is selected Clicking on JS tab does not change anything, you have to refresh the page to see the real content of JS tab. The same if you click on Add Javascript file, but do not create one and close the modal with "X". The content of JS tab disappears and comes back after refreshing. 2. Unable to use cre…
Last reply by Stuart Silvester, -
- 2 replies
- 661 views
I'll just go ahead and assume some JS quirk or conflict somewhere on the page. That arrow is randomly grabbing and linking out various ACP urls. In the above screenshot its clearcaches. I've seen it link out dashboard widget management, CMS page editing, and so on. Naturally you'll need more than one Admin in the ACP and that widget up on the dash to see this. I think you should keep this as a "feature" but lock it to logging the user out so other admins can mess with other admins for the lulz.
Last reply by All Astronauts, -
- 3 followers
- 9 replies
- 1.4k views
I need a plugin for Invision Power Board - Self Hosted - that I can use to connect to Zapier. If anyone wishes to develop this plugin I am paying for this. I believe a service that everyone else provides connection for free should be available to everyone, not just cloud hosted or enterprise. Thanks!
Last reply by Chris Anderson, -
- 0 replies
- 359 views
How can I create a block that mimics the style/function of the Our Featured Clubs section on the clubs directory? There seems to be only one built-in block for clubs and it's just a forum-style list of club names, and you can't sort it by featured only. I've copied the code from the template, but it doesn't work for probably obvious reasons that go beyond my scope.
Last reply by ahc, -
- 2 followers
- 10 replies
- 2k views
Hi, I’m thinking of learning to code and have a few questions if anybody would be so good to reply. I presume that Invision is centred around html/css and possibly JavaScript? Not asking how long it would take to learn them as I’m sure that depends on how much time somebody can dedicate to it, how quickly they learn etc BUT if I did learn them and got pretty fluid with it, how hard is it to go from that to learning the way that Invisions sdk works. Is Invision written in the same code that I would learn with html/css etc? I think I could pick them up within a few months but I feel that the logic behind it all “I know the code but how do I do this”…
Last reply by TAMAN, -
- 1 follower
- 2 replies
- 794 views
I have created a reusable widget in my plugin and im using translatable form fields to save a title and content. and i do it just like how ips does it for example in Most Contributions widget ...\core\widgets\mostContributions it is a reusable widget with a translatable form i have added the delete method in my widget like this public function delete() { \IPS\Lang::deleteCustom( 'core', $this->configuration['tacw_title_lang'] ); \IPS\Lang::deleteCustom( 'core', $this->configuration['tacw_content_lang'] ); } $this->configuration['tacw_title_lang'] returns the unique language key to delete but it does not delete anything and the key …
Last reply by TAMAN, -
- 2 followers
- 1 reply
- 394 views
From File Storage to AMZ S3 while IN_DEV. Works fine when not IN_DEV. Tis' odd, might be something worth poking though. 4.6.3 106117, PHP 7.3.19
Last reply by Stuart Silvester, -
- 2 followers
- 1 reply
- 389 views
There are some orphan strings in core_sys_lang_words after deleting a database (Pages): digest_area_cms_records<DB_ID> digest_area_cms_categories<DB_ID> content_field_<FIELD_ID>_desc content_field_<FIELD_ID>_validation_error
Last reply by Stuart Silvester, -
- 3 followers
- 10 replies
- 1.2k views
I've got a lot of users of my applications wanting to upgrade their application but they are being linked as a Marketplace app for some reason rather then being maintained as Custom apps. Is this a change in IPB 4.6?
Last reply by Michael R, -
- 1 follower
- 5 replies
- 575 views
I grabbed the 4.6 ones as they were the only ones available, but nothing works now with all sorts of different errors like "Call to undefined method IPS\Notification::webPushEnabled()" I'm assuming 4.6 dev tools are simply incompatible with 4.5. I'm a little surprised at the hoops you need to jump through to develop on this platform. Would really appreciate any help.
Last reply by All Astronauts,