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
- 7 replies
- 496 views
Hi, Is there a list of theme templates and folders that we can safely remove from the suite? I keep seeing templates for EOL options, in Nexus with hosting etc, social media promotion etc. but sometimes there is no Delete button. Sometimes there is a delete button for them but the templates still remain listed as modified even after using it and clearing the cache. The theme differences facility doesn't list them so you only have an idea from the change log and deprecated features. Many thanks!
Last reply by The Old Man, -
-
- 1 reply
- 502 views
Hello, I am trying to post new record into a database I created. Documentation says I have to pass it as an object of key:value. I copied the response when I tried to use GET to receive all the records and made the requests like this using Postman: This is what is being stored in the database and I receive: "title": "i", This should be Subject "fields": { "field_12": "i", This is the title "field_13": "e", This should be Text "field_14": "l", "field_15": "d", "field_16": "_", "field_17": "1", "field_18": "2" }, It is somehow braking my text and fill all the field I have with…
Last reply by TheAccountant, -
-
- 1 follower
- 8 replies
- 540 views
I read that external database access is disabled for security. I cannot find any documentation on how to search with rest api. I have a table (vendor) that has three columns - the id, date and tax - all are integers. I have the two integers (date, tax) I want to search for. How can I search this table and get back an array of ids that match the query?
Last reply by Marc Stridgen, -
-
-
- 2 followers
- 6 replies
- 445 views
When I click on the Theme menu, it often opens below the footer/page as opposed to above itself. It does it with the default theme as well as custom themes. Is it a bug or determined in some way?
Last reply by The Old Man, -
-
-
- 1 follower
- 3 replies
- 367 views
I'm using Zapier to create a form and then save it in a custom table here. I cannot figure out how to pass my current forum user to zapier other than pass the member id in the url. I've tried https://chyll.zapier.app/{variable} but that does not work.
Last reply by Daniel F, -
-
-
- 2 followers
- 2 replies
- 430 views
Is the Pages (and Commerce) documentation still on the way? Only Core, Forums, Gallery and Blogs are documented at present. Thank you!
Last reply by The Old Man, -
-
- 3 replies
- 356 views
Hello, I was just about to remove and or disable one of the plugins that is not needed anymore, however didn't even know that one of my custom blocks was even link to it Xd https://invisioncommunity.com/files/file/8980-group-colors-on-user-links/ So here is the preview of that block As it says you log in or once you log in go to the What's new page. simple 🙂 But, As soon as I disable "Group Colors on User Links" that custom coding block stops working and gives out errors 😞 Here is the code: <h3 class="ipsType_reset ipsWidget_title">Register Or Login</h3> {{if \IPS\Member::loggedIn()->member_id }} <div class="rm_SideA…
Last reply by EmpireKicking, -
- 1 follower
- 3 replies
- 404 views
For some reason, my sites are showing these templates (marked in red) as still present in my default IPS theme (unmodified). They are also in my custom themes. There is no Delete button for them, but I could manually remove them in Designers Mode. I have a stock upgrade of 4.7.13 on localdev which doesn't have them. However my custom theme local dev sites do, both official default theme and my custom themes, and also my live site. I don't actually know why the IPS 4.7.13 upgrade or earlier wouldn't remove any EOL templates per se, but is it safe to remove them or will it cause template errors? Image: IPS 4.7.13 Default theme Many thanks.
Last reply by The Old Man, -
-
- 1 follower
- 3 replies
- 407 views
Hello. Is it possible to use Designer's Mode to work on my custom theme while my community is cloud based and not local on my hosting server ? I tried to check and did not find a way because as I understand I have to be able to manage the files.
Last reply by Marc Stridgen, -
-
Bit of a deep cut this, and probably been there forever, but it would be nice to get this patched, if not in the 4x line, then 5x. _showImage method, line 305 (or approx) in ips.ui.lightbox.js // Build meta info if( image.meta ){ pieces.metaPanel .show() .html( ips.templates.render('core.lightbox.meta', { title: image.largeImage } ) ); } else { pieces.metaPanel.hide(); } Any alphanumeric/variable we pass in a front-end template through the data-ipsLightbox-meta bit, (e.g. data-ipsLightbox-meta="DERP"), will never display as you have the title variable in the render call hardcoded to image.largeImage instead of image.meta. imag…
Last reply by Marc Stridgen, -
-
- 1 follower
- 9 replies
- 790 views
C:\wamp64\www\beta\system\Helpers\Form\FormAbstract.php:312: object(Whoops\Exception\ErrorException)[328] protected 'message' => string 'explode(): Passing null to parameter #2 ($string) of type string is deprecated' (length=78) private string 'string' (Exception) => string '' (length=0) protected 'code' => int 8192 protected string 'file' => string 'C:\Windows\Temp\theF15.tmp' (length=26) protected int 'line' => int 10 private array 'trace' (Exception) => array (size=13) 0 => array (size=4) 'function' => string 'handleError' (length=11) 'class' => string 'Whoops\Run' (length=10) 'typ…
Last reply by Marc Stridgen, -
-
- 1 follower
- 4 replies
- 406 views
Hi, Is there any way to run Application Tasks at a specific time rather than every minute/hour/month/year after the application install/update date/time? I need to have an application run a task at 5pm once every day. Actually, it would be nice to be able to set specific run date/times rather than intervals. Also, another issue with tasks, when updating an Application, the task's last run times are reset to never. So, every time I update an application, everything is reset to the time I updated the application rather than a continuation when the Application was first installed. This to me is an annoyance rather than a bug, maybe?
Last reply by TDBF, -
-
- 3 followers
- 7 replies
- 491 views
Hi all, quick question on this fancy little 'Topic Format' feature I've only just noticed in Pages' custom fields section (very VERY handy by the way, thank you!). I have a custom field (with a custom Topic Format) that I want to display on a sync'd Topic if there is a value entered in the field. But the field formatting appears even when the field is empty, which is not desirable. ^ This is the code I have added for my Topic Format for the custom field (please excuse the messy hard-coded CSS, I'm testing this thing) ^ This is the resulting display on a sync'd Topic. Notice the "Original Post Content" box there with no text underneath it. That's an e…
Last reply by Dreadknux, -
-
-
- 12 followers
- 25 replies
- 2.8k views
Hi all, This is just a quick post to let you know that while stand-alone plug-ins are deprecated in version 5, there is no need to convert your plugins to applications right now. There are significant changes coming to how third party templates and code interacts with the v5 framework changes which means any plug-in or application will need a lot of work for Invision Community 5. Simply converting a plug-in into an app won't future proof it, so it is a waste of your time at this point. We're in the very early stages of making these framework changes but will get information to you as soon as we have everything figured out. Also a reminder that v4 will …
Last reply by Daniel F, -
-
- 1 follower
- 20 replies
- 674 views
Having some trouble with a table, in the IPS environment, of having numerical values of columns within a row add up automatically and display that sum total in a new column at the end of that row. Help is appreciated, thanks!
Last reply by My Sharona, -
Hey Guys, I am in the unfortunate sitation that I reside in Germany and a so called "Abmahn-Anwalt" (an attorny who soley focuses on making money off 'formal warnings') has figured that a community that runs since 1999 (Hello IKONBoard....) would be a fitting place to scrub through for uploaded images and request thousands of euros in fees and compensations. As much as it pains me I'd like to hide ALL image uploads from: Forum Postings Attachments from IP.Content news and database entries What I like to keep are avatars and images from a certain database. My initial approach was to limit access to file-types like .jpeg and .png in the "uploa…
Last reply by Marc Stridgen, -
-
- 3 followers
- 6 replies
- 498 views
What is the purpose of these and what is the impact of removing them from the forums_posts.post data? They are contained within the forums_posts.post data, and then used for the HTML rendered in the image display of an attachment in a forum Topic. These data-ratio and width values appear to be created during thumbnail creation process and correlate to the AdminCP Posting settings for image sizing at the time of the thumbnail creation, however I am not sure what their purpose is. These reflect what the original image was resized into as a thumbnail, but the image itself already has those preferred size settings intrinsically. Why does it also need to be statically …
Last reply by Clover13, -
-
-
- 7 replies
- 554 views
I am running your sample code from here: https://invisioncommunity.com/developers/rest-api I get the error in the title. Is the extension php_curl enabled for my site? Also, I am on the hosted solution, but I do not have access to email support. 😞 It would be nice to not bother all these good people with my n00b questions.
Last reply by MartinLawrence, -
-
-
- 2 followers
- 1 reply
- 289 views
As per the title, on the Get Support page, if you have Redis configured, the "Fix This" button appears, even though there is nothing to fix.
Last reply by Marc Stridgen, -
-
-
- 1 follower
- 1 reply
- 423 views
Hello, Is there any way to use extra fields in the Rest API in Downloads? I want to add a file via API and I would like also to add extra fields in the file. This is not a development question. Thanks.
Last reply by Marc Stridgen, -
-
- 1 follower
- 2 replies
- 717 views
When I set the board on IN_DEV mode, I got the following error in any form (new plugin, a new app, profile fields, etc.), ACP and frontend. C:\wamp64\www\47x\system\Helpers\Form\FormAbstract.php:312: object(Whoops\Exception\ErrorException)[225] protected 'message' => string 'htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated' (length=87) private string 'string' (Exception) => string '' (length=0) protected 'code' => int 8192 protected string 'file' => string 'C:\Windows\Temp\theBB1A.tmp' (length=27) protected int 'line' => int 111 private array 'trace' (Exception) => array (size=13) 0 => …
Last reply by Adriano Faria, -
- 1 reply
- 453 views
I am building a page in my community where it is linked to information I have on another site. I created and API to get the information from the other site in use it in the page I am creating inside the community. The page makes requiest using jQuery ajax to get and display the data. The API alone is working when I visit the link, but from inside the community I am getting: Access to XMLHttpRequest at 'MY API LINK' from origin 'https://www.ichancycommunity.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. How can I fix this and allow my community to not block the API ?
Last reply by Rikki, -
- 1 follower
- 2 replies
- 425 views
Trying to figure out a way to effectively retrieve the content item from a given friendly URL. Anyone have any suggestions?
Last reply by Jon Erickson, -
-
- 1 follower
- 7 replies
- 458 views
Is there anyway that something like Adminer could be added as an Application or embeded somehow that it uses Invision's SQL connection. Im faced with the situation where server admin is AWOL (self hosted), and we have Invision admins and trying to get a good backup of all the Invision tables just in case. Any insight to pulling backups off would be greatly appreciated.
Last reply by Miss_B, -
-
- 1 follower
- 5 replies
- 470 views
I am on the hosted platform, but no access to email support yet. I am using only the following code in a custom php block. header("Location: https://myazurebox/id=". $_COOKIE["ips4_member_id"]); When I call this block, nothing happens. I can see the cookies are there. If I add the exit command: header("Location: https://myazurebox?id=". $_COOKIE["ips4_member_id"]); exit(); I receive a generic error when I try to save the block. Sorry! The page you requested does not exist Error code: 1S160/2
Last reply by Nathan Explosion,