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
-
- 3 followers
- 1 reply
- 341 views
I am creating a community which will eventually have a huge amount of Gallery images stored on S3. I understand S3 it is a reliable service but I still need a backup to protect the data against hacking, misconfigurations, human errors and so on. There seem to be many options. Versioning, bucket mirroring, AWS Backup (with tons of options), copies to external providers … Does anyone have any experience with these? I’m a little overwhelmed by all the options at the moment.
Last reply by Kjell Iver Johansen, -
- 1 follower
- 2 replies
- 410 views
Hi, I just noticed on my own site, but I think its a bug. If you look at the html source code of the page associated say for example with the Status Update widget enabled, inside the vicinity of the IPSDialog/CKEditor sections it seems to be duplicating all of the site's meta and Font Awesome preload code normally included in the page head. Also happens inside Chatbox Free which makes use of ipsDialog so I think its likely coming from IPS.
Last reply by The Old Man, -
- 2 followers
- 2 replies
- 493 views
I can use some expert advice before I dive into development. I am totally new and have little experience with any code. I'm using Windows 11 for my development. I'm using the IPS cloud based system. I have many questions and for clarity I'm trying to stick to one subject matter at a time when creating a topic. Today I want to give you a general idea on the concept that I'm hoping for. Starting out I want to make sure that my design is efficient. I'm including what my homepage will look like. I have been doing a lot of reading on the IPS BLOCK which I figure is my best approach. Across the top of my homepage, as displayed in my uploaded image, are tabs that will …
Last reply by Bob Snow, -
-
- 1 follower
- 1 reply
- 290 views
I am using this code in several feed block templates to show a random entry from a selection of entries: {{shuffle($records);}} {{$records = array_slice($records, 0, 1);}} But it doesn’t work for Commerce feed blocks, as $packages is not an array. Anyone knows how to adopt the above code to work with these ActiveRecordIterators?
Last reply by Daniel F, -
-
- 1 follower
- 0 replies
- 280 views
Hi there, I'm working on a custom template and I'd like to work with the member's subscribed streams. However, \IPS\Member::loggedIn() certainly doesn't contain this information... How can I access that info? Maybe with \IPS\Member::load() ? Kind regards
Last reply by Colombia Humana, -
-
- 1 reply
- 450 views
Hello, I had uploaded a resource a long time ago now. This still had to be checked by a staff member, the last state I saw with my own eyes was that the resource was downloaded 2 times by 2 different staff members. Since I had no more patience, I just tried to "forget" it for now, which I did. Today I looked to see if anything has changed and yes it has. I no longer see my resource in the marketplace, nor any reference to it, and to my knowledge have not received any message (Not true, read below) as to why it was not accepted or deleted. Edit: I've checked my mails and found my answer. Has probably somehow disappeared in the mass 😂 I thought I would get a notif…
Last reply by Daniel F, -
-
-
- 1 reply
- 537 views
I am getting a null response when I try to use this end point with an OATH client. Does this one only work with an API key? /core/members/{id}/achievements/{badge}/awardbadge https://invisioncommunity.com/developers/rest-api?endpoint=core/members/POSTitem_achievements_awardbadge
Last reply by Daniel F, -
-
- 2 replies
- 480 views
Web API responses can be easily spoofed. For license management, what do you think is the best approach to encrypt the Web API response so that it's impossible to create a fake response? Is there any built-in functionality for this in IPB or should I use an intermediate script that fetches the data from IPB and then encrypts it?
Last reply by Interferon, -
- 1 follower
- 1 reply
- 693 views
Hi guys, I'm facing a problem, since the last update I made, I'm the developer of the 4tech theme, and at certain resolutions the forum doesn't shrink properly, for example if you zoom to 150 and 175% on fluid width. My head keeps beating and I don't understand where this problem could come from. My forum is : https://tectonicpx.com/board/ Template : 4tech Member account for testing ( if is necessary ) : test@tectonicpx.com ( password: test )
Last reply by tPx, -
- 1 follower
- 0 replies
- 367 views
I have a club forum which is sending out reminders to mark a solution, but of course club forums don’t even have that setting. Anyone knows how to turn that off? I believe it’s part of the forum_bitopions (which are currently set to "8") but I don’t know which value it would need. (P.S. Not posting this a bug/IPS issue. It might just be the result of one of those “club enhancement” plugins I used years ago.)
Last reply by opentype, -
Create a simple form with a number field with a minimum number required and an unlimited option with a 0 value: $form = new \IPS\Helpers\Form; $form->add( new \IPS\Helpers\Form\Number( 'test', 0, FALSE, array( 'min' => 2, 'unlimited' => 0, 'unlimitedLang' => 'disabled' ) ) ); Now load the form, uncheck the Disabled checkbox, and submit the form. Once you've done all the steps this is the error that appears right under the number field: The error makes you believe you have to insert at least 3 but the field does indeed accept a 2 value. The correct error should instead be:
Last reply by teraßyte, -
-
- 2 followers
- 4 replies
- 954 views
I want to build an application, but before that I need help understanding how exactly does the nexus licensing system work. Step 1 is creating the product and attaching "license key" to it in the store. Step 2 is uploading to the root directory the following constants.php file : <?php define('NEXUS_LKEY_API_DISABLE', FALSE); ?>[ Then obviously is having a "customer" with a "key" file available for use in the store itself. And finally I want to create a script/software which can access data and use these keys (check if they're expired / valid and so on). But this is the error I am getting: …
Last reply by Feretorix, -
-
-
- 1 follower
- 7 replies
- 799 views
I'm working on a plugin that use upload form field in two areas. first there is a plugin setting and with this plugin also comes widget feature that also uses upload form. both works, but in time of uninstall the plugin, the stored files must also be removed from server. now for upload form with plugin setting, I created an uninstall.php with this code: if ( isset( \IPS\Settings::i()->plugin_uploadForm ) ) { \IPS\File::get( 'core_Theme', \IPS\Settings::i()->plugin_uploadForm )->delete(); } this code works and stored file in plugin setting will delete after uninstall. however how can i do the same for widgets? I use this for upload form itself in widge…
Last reply by Daniel F, -
-
-
- 1 follower
- 2 replies
- 341 views
I noticed on my own site and also here, that the Newsletter checkbox is now back to pre-ticked, like before GDPR. This site seemed a bit confused about when I was signed in or out! "Just when I was Signed Out, they Signed me back in."
Last reply by The Old Man, -
-
- 1 follower
- 0 replies
- 491 views
Not exactly a bug, but it's not really needed to keep an empty file around either: \applications\core\setup\upg_107500\upgrade.php The file contains a single empty upgrade step: public function step1() { return TRUE; }
Last reply by teraßyte, -
-
- 1 follower
- 1 reply
- 540 views
Hello, if we set the product benefit as a license key generation then on product paid new key is generating - that's quite obvious. But on product renew (if set of course) new key is also generating or no?
Last reply by Ryan Ashbrook, -
-
Add a product in ACP, uploads a few images for it in the Store tab, chosen a primary image and then save it. Once you go back to edit the product the primary image you chose is not marked as such. All images have an empty radio button instead.
Last reply by SeNioR-, -
Steps to reproduce: Visit a member's profile in ACP and click the Ban button in the Warnings & Restrictions box. Setup any ban option you want except for the Move to option so the member remains in the same group. Once you click the Save button this new log shows up in the member's account activity: This happens because of this code below in /applications/core/modules/admin/members/members.php on lines 2867~2871: if ( isset( $values['member_ban_group'] ) ) { $member->logHistory( 'core', 'group', array( 'type' => 'primary', 'by' => 'manual', 'old' => $member->member_group_id, 'new' => $values['member_ba…
Last reply by teraßyte, -
- 4 replies
- 506 views
Do you use native emojis or twitter ones on your forums?
Last reply by Gary, -
-
- 1 follower
- 5 replies
- 646 views
4.7.2 Beta 3 { "3": { "method": "dropTable", "params": [ "core_members_features" ] }, "4": { "method": "dropTable", "params": [ "core_members_features_seen" ] } } During the update Error upgrade_error (1051) Unknown table 'core_members_features_seen': dropTable ["core_members_features_seen"] After updating trying to delete user
Last reply by SeNioR-, -
-
- 1 follower
- 0 replies
- 538 views
Clicking on Browse Categories in the Downloads (Marketplace) area the category icons are always shown as read despite me having several files marked as new/edited in them: https://invisioncommunity.com/files/categories/
Last reply by teraßyte, -
- 1 follower
- 0 replies
- 316 views
If you rename topic's title to something new and then you decide to merge it with another topic, the action of changing the title shouldn't be merged to the other one because the other topic has a different title.
Last reply by Afrodude, -
- 1 follower
- 2 replies
- 508 views
More of a curiosity, but why are you adding the SVG images directly in templates (in 2 different templates even; which makes it harder to keep updated) instead of adding the SVG images as resource files and using the {resources=""} tag instead? 🤨 <div class='cEvents__sidebarOnlineLogo'> <span>{lang="powered_by"}</span> {{if $event->online_type === "zoom"}} <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 224"><path d="M814.1856 67.3887c3.8225 6.595 5.073 14.0983 5.486 22.5337l.5427 11.2433v78.62l.5544 11.2551c1.109 18.3809 14.6646 31.9719 33.187 33.128l11.1961.…
Last reply by teraßyte, -
-
- 1 follower
- 3 replies
- 347 views
Hello, anyone has an idea what it might be? I'm trying upgrade board from 4.4 to 4.7, all files uploaded, PHP 8 is on and that error on admin/upgrade occured:
Last reply by Randy Calvert, -
-
-
- 3 replies
- 520 views
Support for a prefix was added in the template \applications\core\dev\html\global\forms\number.phtml but the code to display the prefix is checking the wrong variable on line 5: {{if \is_string( $suffix )}} {$prefix|raw} {{endif}} The IF should check $prefix rather than $suffix: {{if \is_string( $prefix )}} {$prefix|raw} {{endif}}
Last reply by teraßyte, -