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
- 0 replies
- 370 views
As I said, it's just an E_NOTICE while I'm IN_DEV but it did stop me from accessing that particular member (and only that member :shrug:) - it's just the += choking so I cleared it with: $rows[$row['time']] = $row['count'] + ($rows[$row['time']] ?? 0); Maybe worth same on your end, or not, ehh... EDIT: 4.6.1 but I looked and is same in 4.6.2
Last reply by All Astronauts, -
- 5 replies
- 1.1k views
IPS 4.6.0 trying to download a plugin in my dev localhost on ips 4.6.0 and im getting this error it happens if i try to download any plugin and i have refreshed all the ips files including developer tools any idea? all my plugins work fine it just cant be downloaded anymore in acp
Last reply by Ryan Ashbrook, -
- 1 reply
- 428 views
Tried to make a hook on the \IPS\core\modules\front\members\profile, add button before "Edit profile". Add button code <li>...<a href='{url="app=core&module=members&controller=profile&do=testform&id=...}" ...</li>, with seo template (defined in furlDefinition()), but get broken link, looks like %7Burl=? Ok, replace <li>.. </li> with {template='myProfileButton' group="plugins" location="global" app="core" params='$member'} , move button code to myProfileButton - everything is fine, correct link. I can't use {url=""} template in theme hook? clean IPS 4.6.0
Last reply by desti, -
- 1 follower
- 2 replies
- 572 views
I have a question regarding Designer Mode and when it is turn on. When Designer Mode is enabled, only the default theme is used regardless of what theme I choose via the theme pull down menu on the front page. Is this the correct behaviour?
Last reply by TDBF, -
- 2 followers
- 2 replies
- 595 views
I'm going to use the translatable helper for text and editor in Theme custom setting. how can I do it?
Last reply by TAMAN, -
- 1 follower
- 2 replies
- 492 views
When editing Groups via the ACP, the Group Name Value is missing. This is for Invision 4.6.1 Not sure, but this could be an update issue from a previous version. Filling in the blank Group Name, saving and editing works as expected.
Last reply by TDBF, -
- 2 followers
- 2 replies
- 376 views
Error when trying to trying to toggle 'Item Moderation' from a post.
Last reply by TDBF, -
- 1 follower
- 0 replies
- 642 views
shown in the video, if i have no csrf, it complains about needing one. so i add one, then it complains about having one.
Last reply by CodingJungle, -
- 0 replies
- 376 views
I forgot how to do this and I can't figure out how to change it.
Last reply by Interferon, -
- 1 follower
- 0 replies
- 391 views
The language string notification__new_content misses 'in'. Actually, it is %s posted %s %s: %s making Someone posted an article Articles: Breaking News. It should be Someone posted an article IN Articles: Breaking News
Last reply by Sonya*, -
- 1 reply
- 575 views
Achievements notifications appears on Notifications page (https://invisioncommunity.com/notifications/options/) even if the Achievements is disabled on ACP -> Members -> Achievements -> Settings.
Last reply by Daniel F, -
- 1 follower
- 8 replies
- 766 views
Hello, I am currently working on a new plugin that provides content items without any container. I followed your docs to implement read markers (https://invisioncommunity.com/developers/docs/fundamentals/content-items/implementing-read-markers-in-content-items-r95/) but when I go to /discover/unread/ I get the following error: The error comes from an invalid created array when a content item has no containerId in the `core_item_markers.item_app_key_1` column in the database. Can you please provide a fix for that or is it not possible to create content items without read markers?
Last reply by Daniel F, -
- 1 follower
- 2 replies
- 797 views
Is it possible to add a Pages database fields filter set to a Page or a block using template code? We have several pages using Pages database field filters that are dragged from widgets. However, we need to move them around on the page based on device (on mobile they need to be at the top, on desktop, on the side) so I thought we could add them with a block or a template call and manage their appearance. I would also like to css style the fields and labels, but that is a secondary to just getting them in the right place.
Last reply by Jimi Wikman, -
- 1 follower
- 0 replies
- 3.4k views
Welcome to part 3 ( Part 1 & Part 2 ) of our series for 3rd party developers. Let's recap the interesting stuff: A new extension was added to the core app to allow 3rd party apps to extend the achievements. Content Items can be marked as anonymous We have cleaned up our code and have removed almost all the deprecated methods and variables! One if the most concerning changes for IN_DEV users will probably be our new ACP warning once the CSRF Key is being exposed in the ACP That's nothing to worry about, it's only returned with enabled IN_DEV mode, but please take it serious and try to avoid any redirect to any URL containing the …
Last reply by Daniel F, -
- 1 follower
- 8 replies
- 744 views
Hello everybody, I have created a plugin that I sent to a Git repository. I have installed a fresh new IPS install. How can I import my plugin from source? I put the plugin folder in plugins/ directory but it's not automatically detected. Thanks!
Last reply by DreamOn, -
- 1 follower
- 0 replies
- 732 views
my request: can we get documentation for adding API to our apps, I'm having to add it to 3 different apps atm for a project for a client, and i'm really sorta winging it. looking at what you guys have done, but even then its not all that clear what is being done or why. please document the graphql api you've added, i'm assuming you are using this in your mobile app, since i can't find any reference to it in any of your php/js code. '/^\s*\*\s*@([a-z]*)(\t+([^\t]*))?(\t+([^\t]*))?(\t+([^\t]*))?$/', found in /system/Api/Controller.php line 319. hopefully I can express how much misery this regex has caused me. you guys are literally the only software or fra…
Last reply by CodingJungle, -
- 1 follower
- 0 replies
- 813 views
I am not entirely sure when this began. I first noticed it 2 to 4 months ago on my local dev environment, but when i moved from a lamp to docker, the problem went away, so i figured it was just something funky in my lamp stack (as one of the reasons i wanted to move away from LAMP to docker, was using different mysql & php version, along with nginx or apache, to tailor the dev environment to my own clients servers). However, I've been getting reports trickling in that a few of my apps, that the settings will not save. so i've been looking into it, and tonight i installed a few of my apps on my clients site. I configured the apps, all went as fine, and then i wen…
Last reply by CodingJungle, -
- 2 followers
- 2 replies
- 725 views
I want to use Node(Tree) at the front-end so that a specific user group can add and edit nodes, sub-nodes. how can I do it ? is there any helper ?
Last reply by ReyDev, -
- 1 follower
- 3 replies
- 540 views
I am currently trying to change the width of one of my pages I have designed. However, there doesnt seem to be a page ID or class for this specific page. Does anyone know a way in which you can customise a single page on invision? The main reason I am asking is because this page needs to be fullwidth, whereas the others on the site are a restricted width.
Last reply by opentype, -
- 3 followers
- 2 replies
- 1.1k views
Hi guys, I'm having this question and I can't seem to make a decision should or shouldn't I use non latin characters in URLS? I mean I watched a google video saying that search engines pretty much dont care if links are like: https://invisioncommunity.com/forums/forum/504-dėvęlopėr-čonnectįon But how is it in real life? For example wordpress makes the transliteration to ascii characters. always. I looked at sitemaps of the biggest news sites in my country and all of their links are transliterated to ascii characters. If it makes no difference then why they do that? why wordpress does that? I get one reason why - perhaps sharing URLs in social media and…
Last reply by opentype, -
- 0 replies
- 539 views
Would really appreciate some help here. IPS doesn't currently support WeChat pay, so I am trying to update the files to support it. The only files that I have found that have to do with Stripe are: /applications/nexus/sources/Gateway/Stripe/Stripe.php /applications/nexus/data/lang.xml I am not sure what the best way to find the rest of the files I need to modify is. I thought it was just Stripe.php but it seems that is not the case.
Last reply by H5K, -
- 1 reply
- 1k views
Have error in this script in Application system. I have 2 records in array if have record in table news_upload. $select = \IPS\Db::i()->select( '*', 'news_news', NULL, 'news_artcms_news.num DESC', array( 0, 25 ) ); $select = $select->join( 'news_uploads', 'news_uploads.recordNum=news_news.num', 'LEFT' ); $results = \IPS\Db::i()->query($select); Where is my mistake? Next code work Ok in block system. $select = $connection->select( '*', 'news_news', NULL, 'news_news.num DESC', array( 0, 25 ) ); $select = $select->forceIndex( 'num' ); $select = $select->setKeyField( 'num' ); $select = $select->join( 'news_uploads', 'news_uploads.recordNum…
Last reply by Daniel F, -
- 1 reply
- 1.6k views
I make application and have to use html tags <p></p> in variables. $text = "<p>some text</p><p>second paragraph text</p>"; But IPS auto convert it to symbols: <p> I try to fix it in template: {{$text = htmlspecialchars_decode($text, ENT_NOQUOTES);}} But htmlspecialchars_decode dont change variable. Is it possible to send formatted text as clear html to template?
Last reply by Daniel F, -
- 1 follower
- 3 replies
- 789 views
Have problems with application breadcrumb url. I made seo-link in admin panel for application coins: https://bullion.ru/coins , but breadcrumb not changed and showed full link https://bullion.ru/index.php?app=coins&module=coin&controller=coin Is it possible to fix it?
Last reply by aXenDev, -
- 0 replies
- 2.7k views
Few months have passed since our last post here, so let's get ready to rumble🙂 Supported PHP & MySQL Versions: The PHP min version was increased to PHP 7.2 in IPS 4.6, this means that your marketplace submissions are required to work with this version, but keep in mind that few clients are going to use php8, so I would really suggest to try to get your code working with both versions, which means that you'll need to implement some changes to avoid some BC breaks in PHP8. Here's a great list https://www.php.net/manual/en/migration80.incompatible.php Security Improvements: I have mentioned this change in another topic today, so let's recap it here too:) …
Last reply by Daniel F,