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
- 18 replies
- 679 views
Hello, I have tested with @Joel R website and localhost the plugin Chatbox Extender and Rules app and I have intercepted an error, but i don't know if it must be fixed by @Kevin Carwile or IPS Staff. I leave some screenshot
Last reply by BomAle, -
- 1 follower
- 6 replies
- 494 views
Hello, I am confused about the documentation regarding Javascript resources and I really want to find out if I am doing something wrong or if the documentation is simply wrong. According to this documentation: \IPS\Output::i()->jsFiles = array_merge( \IPS\Output::i()->jsFiles, \IPS\Output::i()->js( 'front_websocket.js', 'botuserpanel', 'front' ) ); My file structure looks like this: However they won't be loaded when I visit the very simple page. Even though CodingJungle showed me an alternative way of adding javascript resources (which actually worked) I would like to know what's up there. The same problem applies to add…
Last reply by inkredible, -
- 2 followers
- 2 replies
- 437 views
Hi guys, I need your help. I am looking for a way to check if a custom profile field (YES/NO field) is checked (=1) or not, globally! So not only on a forum post or anything, no - it needs to be displayed all around the website. The code should check if the visitor is logged in AND if he has the custom profile field on Yes (required field during registration if yes or no). If requirements are met, then content should be shown otherwise no content. (this is used for a block for example but even in parts of the design template) So far I came up with the following: {{if \IPS\Member::loggedIn()}} {{$member = \IPS\Member::loggedIn();}} {{$fieldData = $me…
Last reply by LukasGr., -
- 0 replies
- 275 views
Hey, I had this issue previously once already. My form within a step is executed on load of the new step: This is my code: $steps = []; $url = \IPS\Http\Url::internal( 'app=sharedstats&module=report&controller=create', 'front' ); [....] /** * STEP 1: Account Connection Selection */ $steps['sharedstats_report_create_account'] = function($data) use ($accounts, $names) { $form = new \IPS\Helpers\Form('', 'continue'); $form->addHeader('Select Battle.net Account'); $form->add( new \IPS\Helpers\Form\Select( 'sharedstats_report_select_account', null, true, ['options' => $accounts])); if ($values = $form->…
Last reply by GriefCode, -
- 1 follower
- 5 replies
- 289 views
Where can I read up on the following structures and which options and variables they accept? app=gallery&module=gallery&controller=settings&do=rebuildImages app=gallery&module=gallery&controller=settings app=gallery&module=gallery&controller=browse&do=rss app=gallery&module=gallery&controller=view&id=39570 I am trying to return back the real filepath, So I am looking for something like.... app=gallery&module=gallery&controller=view&id=39570&filename But I know &filename doesn't exist
Last reply by bfarber, -
- 4 replies
- 297 views
Hi there. I'll take this as a Downloads app example but happens with any app. 4.1.17 has a new nice feature to edit (add/remove) tags directly on item file view: But it doesn't update the TOPIC tags, if you're using a support topic. It only updates when you edit and save the file, due to the syncTopic() on processAfterEdit function. What should I extend to make the topic get updated too or should this be reported as a bug? Tks.
Last reply by Adriano Faria, -
- 1 reply
- 257 views
So we have set up Wordpress SSO - But it would be really handy if people could manage their information in one place and not have to keep logging in and out and switching between the two areas as it seems REALLY clunky and not user friendly at the minute. Any ideas?
Last reply by bfarber, -
- 8 replies
- 427 views
Hey, I am writing a new application and I want to save "rules" as a setting using a decent editor. I have checked the IPS Chat application and I saw that you were using a "Translatable" so I tried to copy that idea. Unfortunately I am struggling with it. General information: My application is called: nodejschat My language key for this setting is: nodejschat_rulex_text My setting key is called: nodejschat_rules Saving and accessing two textfields (nodejschat_nodurl and nodejschat_nodeprivatekey) works without issues. I have created the setting "nodejschat_rules" in my developer center (along with other settings for this application). …
Last reply by Flitterkill, -
- 2 replies
- 279 views
I am building a mobile application that uses the REST API to display forum content with the app. Users can view threads from my forums within the app. The REST API returns HTML for the content of each forum post. I am struggling to get this styled correctly to match what the user would see if they visited the forums from a mobile browser on their phone. I have tried linking in the stylesheets I pulled from the raw HTML of my forum and that gets me close, but the one thing I lose is the responsive/adaptive UI which is important in my case as I need the content to scale to different mobile devices. Long story short, is there a recommended way to correctly style the HTM…
Last reply by DrumScorps, -
- 1 follower
- 7 replies
- 334 views
Hey, i just run into an error when I want to create a controller for the admin area: Anyone knows that issue or knows what to do? Greetings
Last reply by CodingJungle, -
- 1 follower
- 4 replies
- 405 views
I'd like to add some HTML content to CKEditor editing area after user clicks on something. Previously it was done by the following code: var editor = ips.ui.editor.getObj($('[data-role="replyArea"] [data-ipsEditor]')); if (editor) { editor.unminimize(); ... editor.insertHtml(html); editor.focus(); } But this method doesn't work properly on the last IPS4 builds. I get the weird error right after executing editor.insertHtml(html): "q is undefined"
Last reply by bfarber, -
- 1 follower
- 3 replies
- 323 views
Hi! Can somebody explain how i could manage setting or just custom values like title of links or buttons per lang if i have more then one language? with example or send me some good link for reading Thanks!
Last reply by bfarber, -
- 4 replies
- 290 views
Hello! I want to add custom checkbox to the add new group form and then handle with it additional action after new group will be created But couldnt find any theme or code hook for that!
Last reply by Dima Turchenko, -
- 9 replies
- 358 views
Hello! I am trying to develop some plugin and already did code hook successfuly but I dont know how send my own variables to output and use their. Can somebody point me in right direction? p.s. i had read developer documentation - seems its not obvious and easy
Last reply by Dima Turchenko, -
- 3 followers
- 10 replies
- 582 views
Where is I can find Documentation on \IPS\Helpers\Table\? And can you write down link to full Documentations on all Method`s ets?.. Like this http://developer.mailchimp.com/documentation/mailchimp/reference/campaigns/ With description, instans, varialbe, parametrs and Examples????
Last reply by Aiwa, -
- 2 followers
- 7 replies
- 322 views
I'm studying xAPI and noticed that Rest API is available with IPS4. Before you get frustrated with me: when I mean studying xAPI I mean just read a few articles and going to begin a deep dive. But I was wondering, in the Admin section of IPS4 where it allows for setting up REST API...where is the "Do-It" button. That might be soooo simplistic. Anyway, don't mean to waste your time but if you have extra, thanks. Ivan
Last reply by Captain Ginns, -
- 3 replies
- 347 views
Hello, \IPS\Helpers\Form\Codemirror doesn't work in widget configuration Steps to reproduce 1. Create new plugin 2. Create a widget 3. Open widget file and add in configuration $form->add( new \IPS\Helpers\Form\Codemirror( 'widget_Codemirror', isset($this->configuration['widget_Codemirror']) ? $this->configuration['widget_Codemirror'] : null ) ); 4. On frontend open widget configuration Result
Last reply by Matt, -
- 7 replies
- 485 views
Hey, i've just continued on my app today and i have issues deploying it: It is not the directory permission. This one is set to 777 on the application directory: So it appears it is the first issue. Does anyone has experienced such an issue so far? What could be done for resolving it? My whole source code including the latest version is here: https://github.com/gamershost/Forum-Application Thanks for the help and merry christmas. Greetings Edit: It is worser than expected. Somehow the application was partially installed. Some hooks are there from the new application. Which is painful since it destroied my suite. When an ap…
Last reply by bfarber, -
- 1 reply
- 297 views
Adding columns doesn't seem to work in the developer center: https://streamable.com/mrerb . A friend of mine tried it as well, but he faced the same issue. What's wrong here? Edit: When I rightclick on "Add new column" -> open link in new tab it will work just fine. So probably there is something wrong with your popup window / javascript? Edit 2: Is there a reason that you don't support the unique modifier for columns?
Last reply by bfarber, -
- 1 follower
- 1 reply
- 316 views
Hello, I am writing a nodejs chat application and I wonder how I should store my settings. In your complete plugin tutorial you introduced the IPS settings repository which is obviously great for storing settings. However my settings need to be available for my node.js chatserver. Is it still possible to access the settings for my nodejs server in that case? An option would be storing these settings in an own table. What do you recommend? By the way: Your complete plugin tutorial was very useful for getting started, I hope you guys consider to write a complete tutorial for an application as well.
Last reply by HeadStand, -
- 2 replies
- 345 views
Hello, I need to build an application (or plugin?) in the admin area that would extract data from db (number of total posts by a particular person in a given period last month-last week-last day). I tried to look for an example in the internet but it seems that IPS version 4 is not very documented. Thanks in advance.
Last reply by bfarber, -
- 1 follower
- 6 replies
- 409 views
Hello, I would like to write an own chat application using an external node.js server. For this purpose I want to "authenticate" users serversided. I thought it would be the best to send the user's cookie along with the initial connection. I am not experienced with the IPB framework though and hence I wonder how I can get the user's cookie and how I can decrypt the cookie on my node.js server. Also: Is there a documentation about all existent IPB classes? All what I have found until now are forum posts about the existent IPB classes and it's members. Best regards, Inkredible.
Last reply by teraßyte, -
- 1 reply
- 270 views
Hello, applications/gallery/sources/Image/Image.php Methods nextImages and previousImages Find 10 difference ASC, DESC, <, > Please refactor
Last reply by bfarber, -
- 0 replies
- 278 views
All I Want for Xmas (late version)... I will gladly take a button, stuck in the header of any tab in the developers center, that when clicked will parse the relevant in_dev css file/s for {{if settings.myplugin_setting_thing}} As is, I might have reached my limit for working with this limitation and will, to maintain sanity, add in a ton of hooks that just paste in an accessory css class and then fill the css file with all the possible use-cases. (so the spammed css classes added in by hooks would be things like .myplugin_setting_thing1, .myplugin_setting_thing2, and so on). It's not quite double the work but it is a ton more hooks that wouldn't normally be need…
Last reply by Flitterkill, -
- 1 follower
- 8 replies
- 421 views
Hello IPS Devs, I noticed the "latest images" strip to preview albums on the Category Template does not honor the album's sort. This really is unideal, as images are intentionally sorted by caption on my site as they often tell a story, and the uploads can come out of order in terms of when they are uploaded. Can this possibly be resolved? foreach( \IPS\Db::i()->select( '*', 'gallery_images', array( 'image_album_id=? AND image_approved=1', $this->id ), 'image_date DESC', array( 0, 20 ) ) as $image ) \IPS\gallery\Album, line 744, method setLastImage That code should honor the album sort, or at least have an option to.
Last reply by bfarber,