Jump to content

BomAle

Members
  • Posts

    821
  • Joined

  • Last visited

  • Days Won

    2

Reputation Activity

  1. Like
    BomAle reacted to CodingJungle in IPS API Request   
    my request:
    can we get documentation for adding API to our apps, I'm having to add it to 3 different apps atm for a project for a client, and i'm really sorta winging it. looking at what you guys have done, but even then its not all that clear what is being done or why. please document the graphql api you've added, i'm assuming you are using this in your mobile app, since i can't find any reference to it in any of your php/js code. '/^\s*\*\s*@([a-z]*)(\t+([^\t]*))?(\t+([^\t]*))?(\t+([^\t]*))?$/', found in /system/Api/Controller.php line 319. hopefully I can express how much misery this regex has caused me. you guys are literally the only software or framework i know of, in php or not, that uses tabs in their code. I use spaces, the rest of the world uses spaces, I have git hooks that will actually reject code for using tabs instead of spaces, my IDE is configured to use spaces. so for like .00001% of the over all app, on stuff that isn't even code, i have to undo ALL of that, just so the api reference docs are processed and shown in the ACP for the other devs on this project to have easy access to that info. I spent a good long while trying to figure out why it was not showing or throwing an exception in the api references, as there was no clear indication as to what was causing it or why. so for sanity sake, please make this regex more robust to look for tabs or space (or better yet, not rely on phpdoc block for api reference, make it a json/xml/txt in <app>/data that can be read and parsed out).  $this->_respond( json_encode( $output, JSON_PRETTY_PRINT ), $response->httpCode, NULL, $shouldLog, TRUE ); /system/Dispatcher/Api.php line 338/342/348., this code does not always produce valid json. it looks like json, but its not, its corrupted. I've had to add 'JSON_HEX_QUOT | JSON_HEX_TAG ' to the flags section of json_encode to get it to produce valid json (i did this thru a hook, but had to overload the entire method, cause there was no point in the code execution, i would be able to add those 2 flags). So please either add those flags or move the json_encode to a method inside the dispatcher, where all it does is json_encode, that way i can hook it and add those flags or any other flags i might need in the near future.  editor content from the api doesn't not get the file or url place holders replaced, i was pulling articles and blogs records, and none of the internal links or attachments were showing up, cause they still had the and <filestore> stuff still in them, so i had to go hook blogs and articles api to parse them (haven't gotten to the other apps yet).  embed/iframe content also is not loaded, cause the src attribute is empty, as the source is still on data-embed-src (i'm assuming this is apart of the IPS lazy loading that didn't get scrubbed properly). on db records, you include a title property but in 'fields' property, it also includes the title field content as well, so if that can be removed or at least give us the ID of which field_# is the title, same for description.  can you also include for any dates, a rfc2822 format along with the rfc3339, as javascript does not like the rfc3339 one (example: DateTime::ts($sometimestamp)->format(RFC::882), this will return a rfc2822 formatted date). heck even a raw unix timestamp would be better than a rfc3339 :).  to be completely honest, the api has not been a pleasure to write code for or to work with. it is one of the most difficult API's i've used. I have spent about 20 times longer debugging and finding solutions, than i have actually writing code to use the api. any way, i hope you guys can address these issues, if not, I might be forced to abandon the api and find another solution.
  2. Like
    BomAle reacted to Morrigan in Multiple owners/authors   
    I’ve complained before that wiki editing shouldn’t have an original author, or owner, at all. While the authors/editors should be in the editing history the listing itself should never truly have a single author.

     
    It should be possible, especially in pages, to set multiple owners. You see this behavior on major websites such as Microsoft where the people that have contributed/have ownership of the listing are listed as “contributors”. I would like to empower my users to allow secondary editors to some of the contributions so those people also have the ability to edit their content. Sort of like adding a moderator to a forum, do it at the listing level in pages.
  3. Like
    BomAle reacted to Charles in Developer Job Opening   
    Invision Community has an exciting opportunity for an experienced PHP developer to join our team.
    The Role
    As a back end PHP developer, you will be working closely within a tight nimble team. You are a clear thinking problem solver and are able to demonstrate skills in creativity and innovation with the ability to meet deadlines. You thrive when given a brief and create well structured efficient code.
    Key Responsibilities
    Write well designed testable efficient code by using sound development processes Cooperate with other team members to develop new features Gather and refine specifications are requirements based on technical needs Create and maintain software documentation Skills & Experience
    Significant experience as a PHP developer in a commercial environment Experience with MySQL Experience with github Experience with various web services such as OAuth, SAML, REST, SOAP, etc. Experience working within a team with a strong culture Some experience with HTML, CSS and JS. Location
    Remote but must be available for a significant portion of 9-5 EST working day
     
     
    Application Form
     
  4. Like
    BomAle reacted to Jordan Miller in To add TAG criteria into Create RSS Feed   
    Hey @Maxxius 👋 
    It now officially has made it to IPS staff (me heh). 😛 
    Allow me some time to take your suggestion to the team. This could very well be a case of it not being a good fit to focus our energy on at the moment, but it might. Let me pass it along and get back to you if that's ok. 🙏 😊 
  5. Haha
    BomAle reacted to Matt in Bitcoin Support for Commerce   
    This is still the case.


  6. Like
    BomAle reacted to Bluto in (SD) ActiveCampaign Integration   
    It's a shame about Spanner, this was a great integration and it was free.  What a nice guy to do all that work to help people.
  7. Like
    BomAle reacted to Jock3r in Automatic backups   
    If it isn't a managed server then you can set it up with a cronjob.
    #!/bin/bash BACKUPTIME=`date +%b-%d-%y` DESTINATION=/root/backup/backup-$BACKUPTIME.tar.gz echo "Creating backup of database to $SQLDUMP" mysqldump --single-transaction --quick --databases forum | gzip -9 > $DESTINATION echo "Dump Zipped up" echo "Uploading zipped dump to the Amazon S3 bucket…" nice -n 10 ionice -c2 -n 7 s3cmd put $DESTINATION s3://cdn.myforumDB-backups/ echo "Removing the backup file $SQLDUMP" rm $DESTINATION echo "WooHoo! All done" And for files I have this
    #!/bin/bash BACKUPTIME=`date +%b-%d-%y` DESTINATION=/root/backups/backup-$BACKUPTIME.tar.gz SOURCEFOLDER=/srv/http/forum/root/html nice -n 10 ionice -c2 -n 7 tar -cpzf $DESTINATION $SOURCEFOLDER echo "Uploading zipped dump to the Amazon S3 bucket…" s3cmd put $DESTINATION s3://cdn.forum/Files-backups/ echo "Removing the backup file $SQLDUMP" rm $DESTINATION echo "WooHoo! All done"  
  8. Like
    BomAle reacted to Makoto in Profiles have no meta tags   
    Profiles on IPS have virtually no meta tags, at all.
    This could be improved by adding a link to the users avatar and maybe a general description line like so,
    $description = "Explore {$this->member->name}'s " . \number_format( $this->member->member_posts ) . " posts on " . \IPS\Settings::i()->board_name; $newMeta = [ 'title' => $this->member->name, 'description' => $description, 'og:title' => $this->member->name, 'og:description' => $description, 'twitter:description' => $description, 'og:image' => $this->member->photo, 'profile:username' => $this->member->name, 'og:url' => $this->member->url() ]; \IPS\Output::i()->metaTags = array_merge( \IPS\Output::i()->metaTags, $newMeta ); Otherwise links to profiles contain no description or anything aside the default og:image if you have one set in the settings.
  9. Like
    BomAle reacted to newbie LAC in How to check what a Storage Setting Configuration is set to?   
    if (get_class(\IPS\File::getClass('core_Emoticons')) == 'IPS\File\Amazon') { } if (get_class(\IPS\File::getClass('core_Theme')) == 'IPS\File\FileSystem') { }  
  10. Like
    BomAle reacted to Morrigan in Hey, it's 2020. Selections should span pagination   
    They do persist pages. The issue is the number resets. Which is the core issue here.
  11. Like
    BomAle reacted to bfarber in Add support for MYSQLI_CLIENT_COMPRESS   
    Another feedback topic recently mentioned supporting SSL for the MySQL database server.
    What if we did something like
    /* Connect */ parent::real_connect( $sqlCredentials['host'], $sqlCredentials['username'], $sqlCredentials['password'], $sqlCredentials['database'], $sqlCredentials['port'], $sqlCredentials['socket'], $this->_getFlags() );  
    and then the _getFlags() method returned nothing by default, but a plugin could add a hook to set other flags?
  12. Like
    BomAle reacted to Colonel_mortis in Why is XRegexp included?   
    XRegExp is 135KB when minified as part of root_library.js (that whole bundle is only 383KB, so it's a significant chunk), but it's only used in two places:
    In ipsautolink/plugin.js, it's just used to evaluate a native JS regex, which I believe is totally unnecessary (use this.urlRegex.test(text) instead!) In ips.search.results.js, where it's just used to replace using a native JS regex (use $(this).text().replace(new RegExp(...), '...') instead, as you do for each subsequent replacement in that chain) (while you're at it, why does that code replace with HTML, HTML escape everything, then selectively unescape the content you just added?!) Removing those two places that don't, to my understanding, utilise the library in any meaningful way would allow you to slim down the site by a not-insignificant amount, and make certain people happy.
  13. Like
    BomAle reacted to PoC2 in Please add ...-nocookie.com and &rel=0 for YouTube embeds   
    For increased privacy, please offer youtube-nocookie.com and adding &rel=0 to auto-embeds for YouTube videos.
    Safari 14 now makes it trivially easy to see what trackers are trying to follow you on what web sites. Cheers.
     

  14. Like
    BomAle reacted to Aiwa in Removal of $15 Domain Change   
    You make my point exactly. While you have graciously contributed to the MP, props given, you are not the type of developer that sells in the MP for a living. Such resources have a greater tendency to go unmaintained. Not saying you aren’t keeping your resource up to date. 
    Many developers don’t just sell in the MP. They use their MP resources to get their name on the board with a reputation. Those devs then do contract work with private clients using IPS to truly make their living. 
    We’ve most certainly strayed from the OP’s goal. 
    Generally speaking, if you submit a ticket to IPS, and you’re not URL hoping frequently, they are sometimes gracious and do a reset without the fee. At least that was my experience some time ago. 
  15. Like
    BomAle reacted to kmk in Improvements for the app Gallery   
    Gallery should be a Media Center that provide rich video and image tools that support and enrich across IPS platform. By now it still a traditional gallery concept, need innovative improvements. 
  16. Like
    BomAle reacted to Askancy in Improvements for the app Gallery   
    I honestly believe that IP.Board is one of the most complete platforms, but unfortunately its additional content (Downloads aside) needs more attention.
    In Gallery you can also upload videos as well as images, but in every button there is “Insert image”, wouldn't it be better to put “insert media”? (obviously where video content is allowed to load) Whenever a person uploads a video, the video doesn't have any thumbnails, I have no idea if with php you can extrapolate a frame from the video, but I sincerely believe it would take too much. Why not allow a custom thumb to be loaded? Maybe with FFmpeg? YouTube style, 3/5 thumbnails where the user chooses the best one.
    When a blank album is created, a blank thumb is created, in the list, wouldn't it be better a written with: “There are no images in this album yet”?
    File name in the gallery, why? in albums me and my users upload lots of screnshots, it's hard to edit every single name... But why make it appear in “ipsPhotoPanel”?
    An edit I asked for a few times, and I tried to make it custom, spoiler images. Now every community has the possibility to hide images, because they have spoiler or NFSW content, such as the method used by Reddit or Steam. And finally, a secondary thing but definitely nice and appreciable in a gallery, a personalized video player, and not the classic HTML5. A video player that allows you to put the logo of the site and other customizations, example: VideoJS, JWPlayer or Plyr.  
  17. Like
    BomAle reacted to CodingJungle in cms request   
    this is the standard drill, i've been told time and again to post "development" issues in the forum here by IPS tech, maybe the category "IPS Development Gateway" is a hint to what it is used for. 
    sure you might've explained what you've experienced, but that isn't the problem i've had with the app. 
    I do appreciate your experience in the matter, but me telling you that isn't what is going on should've been a good indicator you were barking up the wrong tree. thanks anyway. 
  18. Like
    BomAle reacted to Askancy in Alternative to Social media promotions.   
    I do not understand why, to use this function you need to require a thousand approvals (practically impossible to have), while instead IFTTT can publish (even on pages) without any of that...
    I already imagine that the IPS staff will say that they have integrated Zapier for systems on cloud currently. but we're talking about a paid system... Can't you integrate a system like IFTTT?
  19. Like
    BomAle reacted to Askancy in Image Spoiler in Gallery   
    We are interested in developing a plugin that allows you to report an image uploaded in Gallery as a spoiler. 
    Spoiler is useful for reporting spoiler and NFSW images. I honestly stunned myself when I saw that this feature was not included in Gallery...
    This would be useful to hide in thumbnails the images reported as spoilers and also in the gallery, at least that you do not click on it or move over it with the mouse...
    I believe the best examples of this feature is in Reddit and Steam:
     
     
  20. Like
    BomAle reacted to bfarber in Output my purchases in a block   
    This is how we list purchases on that page, which you could emulate in a custom block
    $where = array( array( 'ps_member=?', \IPS\Member::loggedIn()->member_id ) ); $parentContacts = \IPS\nexus\Customer::loggedIn()->parentContacts(); if ( \count( $parentContacts ) ) { $or = array(); foreach ( $parentContacts as $contact ) { $where[0][0] .= ' OR ' . \IPS\Db::i()->in( 'ps_id', $contact->purchaseIds() ); } } $where[] = array( 'ps_show=1' ); /* Get only the purchases from active applications */ $where[] = array( "ps_app IN('" . implode( "','", array_keys( \IPS\Application::enabledApplications() ) ) . "')" ); $purchases = array(); foreach( new \IPS\Patterns\ActiveRecordIterator( \IPS\Db::i()->select( '*', 'nexus_purchases', $where, 'ps_active DESC, ps_expire DESC, ps_start DESC' ), 'IPS\nexus\Purchase' ) as $purchase ) { $purchases[ $purchase->parent ][ $purchase->id ] = $purchase; } \IPS\Output::i()->output = \IPS\Theme::i()->getTemplate('clients')->purchases( $purchases );  
  21. Like
    BomAle reacted to DesignzShop in Please add Polls to pages   
    Please add the ability to add a poll to a pages record or by itself as a record. I run a news site, forums are not part of a local news site in general, but the ability to add a poll would be fantastic. Since the software is sold now by app basis, pages would be deserving of this ability imo.
    Thank You
  22. Like
    BomAle reacted to Rikki in 4.5 CSS Changes for developers & designers   
    It won't be any time soon, if ever - the {theme} tag is still used for non-color settings for example. It'd be preferred to use the CSS variable approach for consistency and potentially future compatibility with new features, but it isn't a huge deal right now.
    That said, converting them should be easy in most cases. We did our entire framework in a few steps using find/replace in a text editor.
  23. Like
    BomAle reacted to Olivia Clark in HOMERUN!   
    I’m excited to come out from behind the scenes to say, Hello! 👋
    The IPS team has been incredibly welcoming to me in so many ways! The willingness to try and adopt new processes is passing along better results to you guys! I’m happy to be part of such a driven, hardworking group! Dedicated leadership, a well-rounded team and eager clients have made this year with IPS a great one for me!
    Thank you for your feedback, @DesignzShop. Keep it coming!
  24. Like
    BomAle reacted to Lindy in HOMERUN!   
    Awesome! Thanks for the positive feedback - that's exactly what we wanted to hear! 
    I'd love to take credit, but it's definitely not me - it's really a cumulation of an amazing development team, new processes and the addition of @Olivia Clarkto the team last year. I'm extremely proud of everyone at IPS; we're very fortunate! 
    Thanks again. 4.5 is the best yet. 🙂 
  25. Like
    BomAle reacted to Sheffielder in Error code: 1S160/2 Using Google Login   
    I'm getting same too
     
    Error code: 1S160/2
×
×
  • Create New...