Developer Connection
Use this forum to interact with our development team on technical issues, suggestions and official best practices advice.
1,736 topics in this forum
-
- 1 follower
- 20 replies
- 1k 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, -
-
- 3 followers
- 6 replies
- 909 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
- 931 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 Elon Report, -
-
-
- 2 followers
- 1 reply
- 426 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, -
-
-
- 1 follower
- 2 replies
- 974 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
- 723 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
- 704 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
- 675 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
- 880 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, -
-
- 4 followers
- 2 replies
- 696 views
Our site is self hosted and made up of 2 distinct app, the first is Invision obviously and the other is an in house app we created ourselves. Because they're on the same domain they can see each others cookies so at the moment I look for the presence of `ips_member_id` on the backend (it gets passed because they're on the same domain remember) and then make an API call to get more member info, but this is a bit flakey and doesn't seem to work in all cases. I looked at OAuth, but I don't want users to have to log in to both parts of the site seperately obviously .. does anyone else have any ideas about how to approach it?.
Last reply by Askancy, -
-
-
- 1 follower
- 3 replies
- 697 views
I'm making a custom form on my windows box. I'd like to call that form from a menu item on my forum. How do I go about letting my box know the member that invoked the form? If anyone can point me in the best direction to start, I would appreciate it.
Last reply by Elon Report, -
-
-
- 1 follower
- 4 replies
- 725 views
I've posted by Invision app template that I use to build applications to Github and turned it into a template for anyone interested. Feel free to use and pass along. Works well for many workflows. https://github.com/DeschutesDesignGroupLLC/invision-app-template
Last reply by Jon Erickson, -
-
- 0 replies
- 622 views
I'm opening up our OAuth to securely authenticate users and download files remotely from the site. In doing so, we have to store their OAuth access token locally. The problem is with the /downloads/files/{id}/download scope exposing the FQDN of the file itself. That's a bit of an issue since the FQND of the file never changes and anyone with the URL can download, regardless if they have access to it or not. The issue we're facing is the fact the user can get ahold of their token if they tried hard enough. That means they can run their own API call to fetch the FQND of any file they have access to. That's a bit dangerous. Sure it's no different than them just leaking …
Last reply by Daddy, -
-
- 1 follower
- 4 replies
- 829 views
Hello, I am working on adding members to our forum after the purchase of a specific product in WooCommerce. The very basics are working - new WooCommerce customer/order -> Add new forum member using name + email from WooCommerce. However I was hoping to be able to populate custom profile fields too - like address etc. I do not have the option to insert values into the custom profile fields in Invision. Is that something I am doing wrong, or is the functionality not available? If not, is it in the pipeline or can the same be achieved with a custom API? All the options i have when setting the new member fields. Whereas I have 7 custom profile fields setup for all memb…
Last reply by 700newtons, -
-
-
- 1 follower
- 15 replies
- 1.1k views
Hello, my app works fine on 4.7.11 but suddenly stopped being displayed on 4.7.12. Did you changed something in that extension?
Last reply by Adriano Faria, -
-
-
- 2 followers
- 4 replies
- 770 views
Hello, error: Undefined array key 0 Full track: #0 \applications\convert\sources\Software\Core\Invisioncommunity.php(692): Whoops\Run->handleError(2, 'Undefined array...', 'C:\\wamp\\www\\45\\...', 692) #1 \applications\convert\sources\Library.php(285): IPS\convert\Software\Core\_Invisioncommunity->convertMembers() #2 \applications\convert\modules\admin\manage\convert.php(559): IPS\convert\_Library->process(NULL, 'convertMembers', 100) #3 \system\Helpers\MultipleRedirect\MultipleRedirect.php(93): IPS\convert\modules\admin\manage\_convert->IPS\convert\modules\admin\manage\{closure}(NULL) #4 \applications\convert\modules\admin\manage\convert.php(57…
Last reply by Marc, -
-
-
- 3 followers
- 5 replies
- 749 views
In 4.7.12 I’ve just noticed that you can drag and drop to add or remove editor buttons in Themes > Editor > Toolbars but when you refresh the page the toolbar reverts back to how it was. (Only tested via Safari using an iPad). Clearing the cache via Support Tool doesn’t resolve it.
Last reply by Marc, -
-
- 1 follower
- 0 replies
- 348 views
I want to integrate the point system with my online courses. I see there is a way to award badges through the API, but is there a way to award points? The only thing I can see that might be able to do this is the rawProperties for the POST endpoint /core/members/{id}. But there's no information about it, so I'm unsure.
Last reply by Oyvind Dahl, -
- 1 follower
- 0 replies
- 320 views
I want to use $(document).trigger('updateTableUrl', ....) in a page that has 2 tables on it. so when the command triggers, 2 requests send to the server, the server returns 2 JSONs. but I want to use this trigger for one of them. how can I do it? (how should I specify the table )
Last reply by ReyDev, -
- 5 replies
- 775 views
Hello, I added a new theme template to store all my carousel information in it. ( Or any content in general ) Now I want this to show only in home page where it is the index for my forums. What is the condition to put that checks which template is now showing ( view ). my template is called: {template="mainsitecarousel" app="core" group="_mycustomtheme" location="front"} I want it to be visible when user is showing the "index" template from forums. Now I could write the previous code in side it, but I want it to be in different place ( under header ). My thinking is to add my code in the main globalTemplate with a conditio…
Last reply by TheAccountant, -
-
- 2 followers
- 6 replies
- 665 views
Hi, I’m looking to see if there is some built-in IPS code that allows me to check if a topic in a row is synced/connected to a Pages record. The use case I’m thinking of, is something like, on a Forum’s topic list: IF topic row is of a topic that has a connection to a Pages record (comments/topic replies are sync’d), THEN display [HTML] I’d also like to be able to pull a Topic’s original post content and display it somewhere else when using Copy to Database so that the original topic content isn’t lost when the Page Record and Topic is sync’d up… but I’m guessing that’s more of a Feature Request to make and that’s not something I can currently do in v4? …
Last reply by opentype, -
-
-
- 1 follower
- 6 replies
- 696 views
Hello, I have an existing application and I am trying to add some new features. I have added a new template to the theme.xml file and also created a new record in the core_theme_templates table, but when I try to use the new template I get the error below: ErrorException: template_store_missing (0) /public_html/community/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute() /public_html/community/index.php(13): IPS\_Dispatcher->run() What am I doing wrong? Thank you
Last reply by Jennifer Beadles, -
-
- 3 replies
- 805 views
What is a hook to catch when a Member is changing groups? \IPS\Member has set_member_group_id( $value ), but I need to know what group they are changing from and what the new group is. In the "Recent Activity" I have logs like "Expiring purchase "X" changed group from "Y" to"Z"." - I need to hook into this moment. How?
Last reply by Dominyka, -
I'm using an app that has a hook to an official app template to enrich the template with more code for its features. I am not seeing these hook code additions/features included the corresponding Plugin block's template referencing the same app template (i.e. Template = default template, use template as-is), should they not be? If not, is there a way to get them included if the default template?
Last reply by Adriano Faria,