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
-
- 1 follower
- 2 replies
- 361 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
- 305 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
- 258 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
- 311 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, -
- 2 followers
- 2 replies
- 324 views
OK.. I have a forum. 3.8.XXX I have not upgraded to 4 because I am pond scum. Alge have more knowledge on how to run this than I. So that I am very clear I know nothing. But.. Is there a way someone could text something to a category or forum or post or something where the system repeats that text to any whom have signed up. Kind of like the follow feature does with email. Thank you for any imput. Please explain like your talking to a user not a developer. Jeff, Hack and Paste Thompson.
Last reply by bfarber, -
- 4 replies
- 343 views
Can someone please provide an explanation on what the difference is between a 'plugin' and an 'application' on ipb4?
Last reply by bfarber, -
- 5 replies
- 376 views
Hey all, I am building a main page that fetches data (news) from my forum, and I would like to be able to add a sort of 'forum image' database column, and a way to upload a file that I could fetch with my posts from the database. What I mean by this is if I have several forums, one called 'general discussion', one called 'suggestions', one called 'support' I would like to be able to upload an image for each type of forum, so that way on the main page, users will be able to easily distinguish between the content of each story/post. Also of course for a more aesthetic layout.
Last reply by bfarber, -
- 1 follower
- 1 reply
- 343 views
Hey, is there anywhere an topic how i can create a custom embed in the ckeditor? Like if im including a topic within a post? I would have basically a link to one of my applications and i would like to display it not as plain link, there should be some info around. Any referencing code would be also nice :-) Thanks
Last reply by HeadStand, -
- 4 replies
- 358 views
Hey, im having some trouble that my javascript is not loaded within my applications. I have tried it now in two ways: Within the controller action: \IPS\Output::i()->jsFiles = array_merge(\IPS\Output::i()->jsFiles, \IPS\Output::i()->js('clipboard.js', 'dvstats', 'front')); \IPS\Output::i()->jsFiles = array_merge(\IPS\Output::i()->jsFiles, \IPS\Output::i()->js('gamelistcopy.js', 'dvstats', 'front')); With a hook: abstract class dvstats_hook_hookJs extends _HOOK_CLASS_ { protected static function baseJs() { parent::baseJS(); if ( !\IPS\Request::i()->isAjax() ) { …
Last reply by GriefCode, -
- 1 follower
- 5 replies
- 442 views
Hey, I have created a wizard which includes per step different forms, all over i have the code here: https://github.com/gamershost/Forum-Application/blob/master/modules/front/report/add.php Now my issues: Is there any way to define your custom template for a Radio Button, I really dislike using html on php: https://github.com/gamershost/Forum-Application/blob/master/modules/front/report/add.php#L92-L108 When i'm continueing to the next step, it appears that the form was submited once, i'm getting always an validation error that a field is reuired. I assume that somehow the form gets submited by just opening continue the wizard: What is a good …
Last reply by teraßyte, -
- 1 follower
- 4 replies
- 371 views
Hey, I just got a kinda different question, i mostly make some thoughts on parts i program and since i am not that familiar yet with the IPS Framework i wanted to ask here and collect opinions and suggestions. I basically want to create a form that filters data by every selection. To explain my dataset a bit more, i got players that playing games on my service. A game has 10 players. Mostly, the players play 3-4 games and then visit the forum to report someone. And I would like to adapt a really easy system. That does mean the report form should look like this: The reporter picks one of his recent games The reporter picks one of the players of…
Last reply by bfarber, -
- 3 replies
- 405 views
I'm having some trouble in grouping by, this is my code: $table = new \IPS\Helpers\Table\Db('reportarchive_data', \IPS\Http\Url::internal('app=reportarchive&module=base&controller=archive'), null, 'reportarchive_data.id'); $table->langPrefix = 'archive_view_'; $table->joins = array( array( 'select' => 'reportarchive_history.author_id lastAuthor, reportarchive_data.id as reportId, reportarchive_history.date as lastModified', 'from' => 'reportarchive_history', 'where' => array('reportarchive_data.id=reportarchive_history.reportarchive_data_id') ) …
Last reply by GriefCode, -
- 1 reply
- 286 views
Can anyone please explain why does the posts table inserts inline styles straight into the table? It makes it very difficult to use the rest api to fetch posts, as well as display them on my external site. I have to go through and manually filter out the inline styles with regex.
Last reply by bfarber, -
- 3 followers
- 7 replies
- 509 views
I am currently working on building IPB into a custom website, so there is a lot involved with that. I find it ridiculous that I have to pay $15 just to move the installation path even when im installing it on .dev domains locally on my machine. Is there something I am missing, or does development not adopt the whole development/staging/production life cycle, if I can only install it once, i would imagine that want me to do all my development in production?
Last reply by Lindy, -
- 1 follower
- 2 replies
- 375 views
Is it possible to add extra setting tabs to the admin panel for the board?
Last reply by bfarber, -
- 4 followers
- 16 replies
- 763 views
Dear Support, while IPBWI for WordPress v4 is going big steps forward in development, I want to make sure to avoid piracy as I did successfully with v3 before - but want to allow sales through IPS marketplace. So here are my questions: Do have a feature to sell ioncube encoded, domain binded packages? This would require to allow customers to re-purchase an item several times for each domain they want to use and if both above are not possible: Do you allow to utilize IP.board marketplace API to sell a wrapper script first which handles license status and downloads/install encoded files on customer's host to enable functionality? As I am goin…
Last reply by DesignzShop, -
- 3 followers
- 2 replies
- 334 views
I'm wondering if it would be possible to have a new extension implemented that would allow us to easily add tabs to the User Account Settings page. I am increasingly finding myself writing hooks to do this, and it just seems like a natural place to have an extension. Thoughts?
Last reply by bfarber, -
- 1 reply
- 342 views
Is there a way I can automatically add members to a certain secondary group if they visit a page?
Last reply by bfarber, -
- 3 followers
- 11 replies
- 566 views
Hi, Could you let us be able to retrieve the values of the Search result object? I'm thinking about system/Content/Search/Results.php (I think) I'm currently writing a very simple endpoint (outside of the API) to be able to return some search results with json. This is so another page we have can then use this "API" to query for some search results to display in their own manner. Currently I have a hacky workaround: <?php /* Initialize IPS 4 framework */ require_once('../init.php'); $disp = \IPS\Dispatcher\Front::i(); /* Do we have anything to search for? */ if( ! isset( \IPS\Request::i()->q ) and ! isset( \IPS\Request::i()->tags ) ) { ec…
Last reply by TSP, -
- 1 follower
- 1 reply
- 286 views
Has anybody done ID-card or Mobile-ID logins for IPB before? In Estonia it's common that companies let you authenticate yourself with an ID-card or Mobile-ID. Then you can be certain theres a human behind every account. But it's not an add-on, every company have developed their own system. Have anybody done such system or are familiar with it? So far I have only seen platforms other than IPB using this kind of authentication. Is it hard to achieve in VS? Found some instructions here: http://id.ee/index.php?id=35748 Thanks!
Last reply by bfarber, -
- 1 follower
- 2 replies
- 363 views
Hi, I'm using the API to check if a user is logged in (\IPS\Member::loggedIn()->member_id). I also make sure that he is not banned (\IPS\Member::loggedIn()->isBanned()). This works fine. However, some profiles are fake ones that did not respond to the registration validation email. e.g. And unfortunately when checking against loggedIn() and isBanned() these users still returns TRUE. I need to make sure that only active, validated users, will return true. How can I check via the API if a user is in the "members_filter_validating" category or not? I'm looking at this page but couldn't anything related to the registration validation …
Last reply by Omri Amos, -
- 1 follower
- 1 reply
- 301 views
1) As per title, I am using the Item form helper in one of my applications and I setup the option 'maxItems' => 1, I was expecting it to work like the Node helper which returns the single object when you don't allow multiple nodes to be selected: if ( !empty( $return ) ) { return $this->options['multiple'] ? $return : array_pop( $return ); } else { return NULL; } This is the current Item code instead, no matter what it doesn't even check if you have any results: /** * Format Value * * @return array|NULL */ public function formatValue() { $itemClass = $this->options['class']; $order = NULL; $items = arr…
Last reply by bfarber, -
- 1 follower
- 10 replies
- 551 views
How are javascript mixins used? Currently no docs on them that I can see. I've found a need to overload/modify a method on a core javascript controller. Can mixins be used for this?
Last reply by bfarber, -
- 4 replies
- 349 views
Hello! How I could change task time running of my complete plugin? Implement it like setting or something? Cause I didnt find any mention about this time after plugin was created while developing Thanks
Last reply by Dima Turchenko, -
- 12 replies
- 801 views
Hey, i ran into a small issue. I've added extensions for GroupForm & MemberForm to add new permission sets. For that I need to extend the table of core_groups & core_members afaik. How can I do that? The only solution I found was the installer query, or is that actually the solution?
Last reply by bfarber,