Developer Connection
Use this forum to interact with our development team on technical issues, suggestions and official best practices advice.
1,680 topics in this forum
-
- 1 follower
- 5 replies
- 211 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
- 223 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
- 189 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
- 351 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
- 210 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
- 254 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
- 318 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
- 240 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
- 225 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
- 273 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
- 474 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
- 238 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
- 266 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
- 331 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
- 231 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
- 243 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
- 282 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
- 303 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
- 185 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
- 201 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
- 338 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, -
- 2 followers
- 2 replies
- 275 views
Hi there! Does anyone know how I can call the content of a specific profile field in someones profile and in pages? Thanks in advance!
Last reply by TAMAN, -
- 6 replies
- 216 views
Hi there. On a costumer's server is showing only those options in locations: Due to that I can't install my translation (pt_BR). His support guy said it isn't a server issue, which I doubt. So, what should be done to fix it? It's their own server.
Last reply by Adriano Faria, -
- 0 replies
- 176 views
I'm trying, hard, to work with the IPS system calls to get more than 5 images per row in a Gallery album. ips.ui.photoLayout.js is the problem. The two key elements to accomplishing this are an easily changeable data element on an OL: data-ipsPhotoLayout-minHeight='300' That's just a simple hook to change that number lower to allow for smaller thumbs however, about 1/3 of the way in on ips.ui.photoLayout which is called by the gallery.front.browse.list js controller attached to this OL... /** * Run the resizing process * * @returns {void} */ run = function (data) { var initialHeight = Math.max( options.minHeight, Math.floor…
Last reply by Flitterkill, -
- 1 reply
- 241 views
Hi, I am attempting to create my first plugin for IPB, but with a fresh installation of ipb, and just installed developer tools, and got it running, now when I attempt to visit a user profile page, i am met with this error. Can anyone please explain how to get back to normal? Error: Call to a member function getTimestamp() on null (0) #0 /home/vagrant/projects/oblivion-networks/public/forum/applications/core/modules/front/members/profile.php(224): IPS\Content\Search\_Results->addExtraItems(Array, Object(IPS\Member)) #1 /home/vagrant/projects/oblivion-networks/public/forum/system/Dispatcher/Controller.php(96): IPS\core\modules\front\members\_profile->manage() #2…
Last reply by bfarber,