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
-
- 2 followers
- 3 replies
- 855 views
Hi, Please can you address some Commerce related HTML/CSS issues: 1) Commerce product carousel images (featured products) are missing alt text which presumably would usually be the product name for SEO: <li class="ipsGrid_span3 ipsCarousel_item cNexusWidgetProduct cNexusProduct_mini ipsPad_half ipsClearfix "> <a href="https://example.com/store/product/6-giant-furry-underpants-mucus-green/" class="cNexusProduct_image"> <img src="https://example.com/uploads/monthly_2021_12/6-giant-furry-underpants-mucus-green.webp" data-src="https://example.com/uploads/monthly_2021_12/6-giant-furry-underpants-mucus-green.webp" class="ipsImage" alt="" style="heigh…
Last reply by Marc, -
- 2 replies
- 781 views
The upgrade step for 4.7.0 Beta 3 (107004) add a core_image_scanner_logs table in the database but a fresh 4.7.4 install doesn't have such table. A quick mass search in the files returns 2 result: the one above adding the table in 4.7.0 Beta 3, and the other is actually to drop the table but in the 4.6.13 Beta 1 upgrade instead. I guess the query to drop the table was added to the wrong step/file? 🤨
Last reply by Gary, -
- 2 replies
- 1k views
Hi. It is not a bug, but in my language, with some phrases the tooltip is too wide and it does not look good. @Ehren A little tweak would be handy: .ipsTooltip { max-width: 300px; white-space: pre-wrap!important; } After:
Last reply by Afrodude, -
- 1 follower
- 6 replies
- 1.3k views
@Ehren there is a responsivity issue on Pages records list whenever you enable all these options If you disable From group settings everything is fine, but whenever you enable it, it will look like what you are seeing in above screenshots.
Last reply by Afrodude, -
- 1 reply
- 550 views
Hi Guys, I've been trying to find more info on the way IPS handles charts, I understand it uses Google Charts and all the docs I can find on the implementation is here. I have working charts, my issue is I'm trying to work on a dark theme for my website but a graph in a custom coded application looks horrible, I've been able to remove the background color but I can't seem to change the legend color. I'd like it to use the theme color, but I can't seemingly change it to any color. Has anyone changed the legend color of a graph, if so how ? Also is there any hidden docs to show properties such as this from IPB? Excluding the dev doc. Thanks all,
Last reply by Kirill Gromov, -
I get this error, when I am adding a widget to the page on one of my clients's website. [[Template valastory/front/widgets/rowStory is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]] here is the error log: Error: Named parameter $orientation overwrites previous argument in /var/www/html/...../system/Theme/SandboxedTemplate.php:61 Stack trace: #0 [internal function]: IPS\Theme\_SandboxedTemplate->__call('rowStory', Array, orientation: 'horizontal') #1 /var/www/html/..../init.php(927) : eval()'d code(12): call_user_func_array(Array, Array) #2 /var/www/...../applications/valastory/wi…
Last reply by ReyDev, -
- 3 followers
- 1 reply
- 571 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
- 526 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
- 623 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
- 395 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
- 391 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
- 668 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
- 715 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
- 692 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
- 878 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
- 461 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
- 1.3k 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
- 1.1k 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
- 435 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
- 661 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
- 769 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
- 748 views
Do you use native emojis or twitter ones on your forums?
Last reply by Gary,