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
-
- 1 follower
- 2 replies
- 212 views
Could you let this API point ( https://invisioncommunity.com/developers/rest-api?endpoint=forums/topics/GETindex ) and similar take in multiple ids (TopicIDs in this case)? So you can make an API-request for multiple topic Ids at once.
Last reply by TSP, -
- 1 follower
- 8 replies
- 351 views
I love IPS and all it's features, but I prefer the capability of Wordpress from my blogging as I still can not wrap my head around Pages and there is little help to get to build what i want. So, I would like to have Wordpress comments use IPS so I get the member data from IPS with the comments. The question is if this is something I should build in IPS or in Wordpress using the IPS API?
Last reply by Jimi Wikman, -
- 2 followers
- 8 replies
- 486 views
Hello, $data = array(); foreach (range(1,100) as $r) { $data[] = array( 'field1' => 'value' . $r ); } $table = new \IPS\Helpers\Table\Custom( $data, \IPS\Http\Url::internal("app=app&module=module&controller=controller") ); $table->quickSearch = 'field1'; \IPS\Output::i()->output = (string) $table; Search by value11 This is also affect on built in functions E.g. SQL toolbox
Last reply by Sonya*, -
- 1 follower
- 16 replies
- 886 views
public static function moveCheck( $configuration, $oldConfiguration ) { foreach( array( 'bucket', 'bucket_path' ) as $field ) if ( $configuration[ $field ] !== $oldConfiguration[ $field ] ) { return TRUE; } return FALSE; } @Martin A. dragged me into this brief insanity, he accepted it before I did. It's still just so wrong.
Last reply by CodingJungle, -
- 1 reply
- 210 views
Hello, applications\core\data\defaults\extensions\MemberACPProfileTabs.txt class _Main extends \IPS\core\MemberACPProfile\MainTab This will create extension with correct file name and incorrect class name and a data in the applications\%app%\data\extensions.json will not be updated
Last reply by Daniel F, -
- 3 replies
- 270 views
@Martin A., after getting the low-down from me on this hitch, suggested this should be brought up to you guys before 4.5 is feature locked. I suspect this deadline may have already passed but this still would be nice to get fixed up. PROBLEM: Alternative storage handlers (e.g. non-Amazon S3 providers, Azure, etc.) when added via 3rd party applications will crash routine IPS upgrades. If you add a new file storage service (S3 alternative, whatever), such that it really is there, existing as a source file in your app, and correctly listed in core_file_storage (method field) and you hook onto \IPS\File\storageHandlers, you have no problems - everything works seamle…
Last reply by bfarber, -
- 2 followers
- 3 replies
- 233 views
{{if $comment->author()->inGroup( \IPS\Theme::i()->setting( 'aXenTopics_1' ) ) AND theme.aXenMFluent_Pro_1 == 1 AND theme.aXenMFluent_Pro_1_Topic == 1}}aXenTopicsProfile_1{{endif}} Hi, I would like to pull the setting value to the style bit and paste it into the if. I wanted to do something like this, but writing is not possible. \IPS\Theme::i()->setting( 'aXenTopics_1' ) What is wrong?
Last reply by aXenDev, -
- 2 replies
- 205 views
Any chance you can make the css a bit better for the upload form, it currently uses the ipsDataList elements and ipsDataItem_size8 and ipsDataItem_size5 etc so basically the minimum widths it will set will only work properly when using a full width ajax pop up or on a page, if we use the narrow ipsDialog it all goes crazy as the minimum widths the ipsDataItem_size_ use is more than double the size of the ipsDialog pop-up so it pushes everything together just changing the last one from ipsDataItem_size8 to ipsDataItem_size3 will fix that or add them both as ipsDataItem_size3
Last reply by bfarber, -
- 1 follower
- 2 replies
- 219 views
https://invisioncommunity.com/files/categories/ It is showing unapproved files latest file info on mobile (can’t see how it is on desktop):
Last reply by bfarber, -
- 2 followers
- 5 replies
- 332 views
We are in the process of translating IPS to German and other languages. While most of the calendar and system is translated, the little mini calendar selection seems to remain in English. So is the date format. For English it is mm/dd/yyyy, but for German it needs to be dd.mm.yyyy While it was possible to change the date format almost everywhere else, this date selection box remains in English (including the weekdays, which also have been translated). Where can we translate this? Thank you.
Last reply by Florian Greß, -
- 2 followers
- 26 replies
- 747 views
Seems about definite this is a bug, but I am testing on 4.4.2, so maybe it was already known about and fixed? When putting a Form\Select on a form and having its default be some value and submitting the form causes a $form->error, when the form is then shown again on the page with the error message above it, the select no longer has the default choice selected. And no, I did not change what was selected when submitting the form. I left it totally unchanged, so both the default AND my selected choice were the same, but on the next page with the form error it has a totally different choice selected by default (the first choice in the select). I confirmed b…
Last reply by bfarber, -
- 1 follower
- 4 replies
- 339 views
Hello IPS, So we're in the process of developing a Mobile App for our Community. But one of the big things we're having problems with is uploading attachments/images. In order to place them within a post. Is there an Endpoint we can use to upload to our Server? Or some work around that we can use in order to upload attachments? I know Tapatalk offers the ability to upload images. And with the announcement of the Native IPS Mobile App it seems we will be able to upload images. So I know it must be possible. Any help would be super appreciated. Thanks in advance!
Last reply by bfarber, -
- 1 follower
- 3 replies
- 224 views
Okay you use the content router extension to determine which nodes class can be used in clubs. however this is extremely limited if you are using Parent/Subnode's and the item class belongs to the subnode. I'm not entirely sure how to work around this, i can't easily change my $nodeClass prop in my item's class to point to the parentnode class and i'm not seeing an easy way to trick the system to kick it up to the parentNode. maybe adding in a method to the item's class that we can define club node ourselves or add in a clubContainer extension instead of using the content router. i mean i know parent/subnodes aren't common, but the ability is there and there is…
Last reply by CodingJungle, -
- 2 followers
- 1 reply
- 316 views
Hi, I create a theme for the forum and I would like to put copyright on it. More precisely, here: How can I add it?
Last reply by DawPi, -
- 4 replies
- 313 views
Hello, is there any chance of editing mapbox widget except those options provided in ACP? I want to change its upfront zoom - for now we have whole world while we want to change its zoom to Poland for example. https://www.audiostereo.pl/clubs/
Last reply by wegorz23, -
- 1 follower
- 1 reply
- 262 views
When running the support tool in ACP the guest caching is NOT cleared (since it now uses a different class \IPS\Output\Cache). This causes the old CSS/JS files to be deleted and regenerated but the guest-cached pages returned from the cache still use the old urls causing all pages to be broken. Right now the guests cache is cleared ONLY by a couple of tasks (cleanup.php + clearcache.php) but until those tasks run the pages are broken as I mentioned above.
Last reply by Daniel F, -
- 1 follower
- 4 replies
- 238 views
Hey, I need to find a condition for the element to appear when it receives a reaction. I tried the following code, but the item appears despite not receiving a reaction to the record. {{if \IPS\IPS::classUsesTrait( $record, 'IPS\Content\Reactable' ) and settings.reputation_enabled}} test {{endif}}
Last reply by newbie LAC, -
- 7 replies
- 247 views
I have used a subnode class for an app I already finished, but I am curious about other possibilities with them in the current app I am working on and have some questions. I haven't noticed IPS do any of this, so I am not sure if someone will remember offhand if these situations are possible without issues or not... 1. can a node class still allow subcategories of the same class if it also has a subnode class? Or is it either/or? (wondering because then it would probably need 2 totally separate add buttons in the acp). 2. could content items still be added? Would they have to be added into the subnode class? or they could be added to the main node class as …
Last reply by Midnight Modding, -
- 4 replies
- 205 views
Ever since the introduction of the SEO friendly pagination \IPS\Request::i()->page has been empty. In \IPS\cms\Databases\Dispatcher::run you extract this data, and adds it to the request object. You mind doing this for other pages too, not just pages that use the {database} template tag?
Last reply by bfarber, -
- 1 follower
- 1 reply
- 325 views
Hello, I have 2 login handlers with remote database connection. In the MySQL Database #2 I have a user Test When I check the name I get FALSE \IPS\Login::usernameIsInUse('Test'); Reason \system\Login\Handler\ExternalDatabase\ExternalDatabase.php You use the same identifier (external_login) for all connections return \IPS\Db::i( 'external_login', $this->settings ); the first of the list is used Solution Change 'external_login' to 'external_login_' . $this->id
Last reply by bfarber, -
- 2 replies
- 199 views
hi, I thought we had access to all FA icons. Is that not the case? None of the sports ones work for me, such as 'fas fa baseball-ball'. I was really counting on using those sports icons in my app. They are listed as free, but I assume I can't do anything on my own to have them work, since I am selling the app? Was really counting on them because otherwise I'll have to use some generic non-sports icon for a sports app. edit: it says free ones can be sued for free, even for commercial use... but I am not sure what I need to do to get those working.
Last reply by Midnight Modding, -
- 1 follower
- 3 replies
- 359 views
Hi, I want to add a column to core_members table to use in my app, How can I do it?
Last reply by Adriano Faria, -
- 4 replies
- 303 views
Hello, I have a Queue extension on installOther(): public function installOther() { if( \IPS\Db::i()->checkForColumn( 'core_members', 'membersaway_on' ) ) { \IPS\Task::queue( 'memberaway', 'Away', array(), 1 ); } } The queue itself: class _Away { /** * @brief Number of members to run per cycle */ public $rebuild = \IPS\REBUILD_NORMAL; /** * Parse data before queuing * * @param array $data * @return array */ public function preQueueData( $data ) { return $data; } /** * Run Background Task * * @param mixed $data Data as it was passed to \IPS\Task::queue() * @param int $offset Offset * @return int …
Last reply by Adriano Faria, -
- 1 follower
- 1 reply
- 209 views
Hey, Is it possible to remove "style" from lazy loading? I would like to add lazy loading in user avatar.
Last reply by bfarber, -
- 1 follower
- 4 replies
- 356 views
Hey, I am updating my forum for IPS 4.4.5. I have a problem with the server table: I have geolocation errors: "BadFunctionCallException::0" #0 /home/1shot2kill.pl/public_html/applications/serverlist/sources/Library/Library.php(168): IPS\_GeoLocation::getByIp('145.239.16.78') #1 /home/1shot2kill.pl/public_html/applications/serverlist/tasks/serverListUpdate.php(43): IPS\serverlist\_Library::storeData() #2 /home/1shot2kill.pl/public_html/system/Task/Task.php(255): IPS\serverlist\tasks\_serverListUpdate->execute() #3 /home/1shot2kill.pl/public_html/system/Task/Task.php(224): IPS\_Task->run() #4 /home/1shot2kill.pl/public_html/applications/core/interface…
Last reply by aXenDev,