Jump to content



  • Content Count

  • Joined

  • Last visited

  • Days Won


 Content Type 



IPS4 Providers

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog



Everything posted by Numbered

  1. Hi @media. I don't know. But it seems that old logic should work. Just try them on the staging instance. I didn't upgrade our IPS instances to 4.5 because focused on developing other web services for us and the IPS upgrading process with all apps, themes, and plugins isn't cheap by the time.
  2. It might be useful in case of inserting some standalone vue widget inside IPS from another modern web service. Thank you for the starting point. But in the case of standard behavior (like a modal form), it's not good practice, as I think.
  3. @bfarber, thank you so much! I don't know about that before and this will be extremely helpful for us. We doing very complex works with cms application and this is the best option for us. There are fresh examples of what we have done with the cms app (all made inside CMS including languages, registrations, and back-end features). https://wowslegends.com/ https://wowslegends.com/promo1/ Is there any change in the future to improve other parts that I mentioned above?
  4. Features that I missed in current IPS: we can't export/import blocks from one site to another one (we doing all changes on the staging server before deploying them to the production one) block contains media with their id's. So when we upload the same media files they have different id's. It will fix if the media supports folder and filenames instead of id. We can upload a lot of media files to different websites and copy-paste pages/blocks code contains the media. It might look like {media="some/folder/file_name.jpg"} if we have a lot of pages and switches from one 'main' pa
  5. Wow! I see that too @Sonya*! I think IPS fixed that right now!
  6. Maybe. I'm not 100% sure that John said fact. If I were him I'll think twice to say that next/prev working for preventing stupid SEO hacks and panic. (for Google absolutely better if the webmasters wouldn't use these helpings than they use them in the wrong way) And there is no Google only search engine. And point about the wrong canonical still present. Yes, Google easily can ignore them. But better to help him do the right things than confuse him. P.S. IPS doesn't love me again (writing from TOR)
  7. @Sonya* and @sadams101 you are both right. Sonya right in the part of using posts items instead of topics wrong way to the right SEO. Sadams101 right in the part of the pagination problem. Thank you for get attention to the pagination problem. I try to do a little bit of research and found that IPS might be better with that important part. For example, this page has a canonical tag: <link rel="canonical" href="https://invisioncommunity.com/forums/topic/442742-large-community-you-have-a-problems-with-sitemap/"> This tag said that Google should stick to the first page of t
  8. Hello. I have one of my application, which have this method: As you can see my PhpStorm asks me to cast the array into the string, because of \IPS\Output::i()->json method wait string type as the first param. But this is not true. This method (and json_encode function in order) accept an array as the primary usual incoming type. That fact that we can run json_encode('test') and got "test" as valid JSON result is just one behavior that is out if the usual scope for JSON using. Another part of this method that we use 'return $this->sendOuput...' but this method d
  9. I prefer White for websites. But I totally agree that IPS must add default dark theme. There is the only reason for that - help theme developers for making their dark themes. Now if some not developer guy installs IPS and if he wants to create a dark mode the visual styling isn't enough to make it. If he changes all possible fields to the dark colors he still sees white areas. Just because their colors are hardcoded in the css files. In this case, there is no way of making perfect dark themes without CSS editing from the default theme.
  10. 5MiB harcoded. Thank you @newbie LAC.
  11. I'm sorry for that stupid question. We want to upload 6 MB video in our media for using as a background for landing page. But the media only allow 5MB max Can somebody say where I can increase this limit? My nginx client_max_body_size set to 50M, php values post_max_size and upload_max_filesize set to 51M both. The admin group settings have no any file limits. The public area shows 50MB limit correctly. Thank you
  12. I get the same problems (with the slow conversion of big sites) and have some helper tools for them. One tool is for background queues. I have a sh script, which runs php file in the cycle. #!/bin/bash while [ true ] do /usr/bin/php -d memory_limit=-1 -d max_execution_time=0 $HOME/path/to/task.php echo 'Task executed' sleep 1 done And the task.php file <?php require 'path/to/init.php'; $queueTask = \IPS\Task::load('queue', 'key')->run(); var_dump($queueTask); Of course, this script might be in one php file. But in my original helpers, it does not have only one funct
  13. Not certainly in that way. In the case of millions of users/topics/answers, the update time may take a long (for business) time. Of course, this also depends on the power of the application server and the database. But overall, the ability to have command-line tools would add a lot of administration, support and deployment abilities. As an example, it would be possible to describe in some manifest file a list with versions of applications/plug-ins and with some continuous integration tool builds an IPS test instance with needed additional stuff, proceed autotests for updated app branch, make d
  14. @Sonya* activity streams can be filtered by language nodes - this is included in the main proposal of 'Forums'. Blocks - another painful part, agree with you. On Pages, I use little bit PHP code for that. Just get current user language and paste it into block calling. Very unuseful, but.. can't do in other ways. Blocks on the forum side - I don't know how to manage it now and don't see the pretty solution to solving them. It's painful, but it's a few other stories. We can't come to IPS with a lot of pains with languages and just ask for fixing it in anyways. I think the one possible way to sta
  15. For the 'comment' type of data, I see no way for any right solution. Translators always working very bad and this feature (as I think) can't be a regular part of normal using. And this looks a little bit strange to see the topic, where commenters write in different languages. Anyway, this talking might be very long and this is outside of the main proposal - adding a language selector to the 'Container' element (Forums) of Items (Topics). This way looks clear, simple and becomes like a good starting point for other useful features.
  16. Hello, IPS and community! I want to propose you to a little bit of improvement to the 'Forums' item. This option is a selector of speaking language for the selected forum (category/discussion/faq). Some big communities having their special sections for people, speaking in French, Italian, German and other languages. If we implement this selector for the forum we'll open a perfect point for making other useful stuff. There is a list of what it can be: we can create a lot of ElasticSearch indexes with a correct language analyzer. So the French guy can search something in his language and g
  17. define('DEBUG_LOG', true); in constants.php might be useful in some situations. Or, if you fully support your environment - you can turn on NewRelic extension with demo key. It will show all bottlenecks simply.
  18. I think this becomes a negative result for Google. Google scans the whole page and index content on a specific page. In your sitemap_posts file, you have tons of links to the same pages (they have not differences by the code or view). So with that, you bring Google just problems. Moreover, for preventing duplications Google gives us a links management service, where we can 'say' to Google which params identify something important with content changing (like a 'page' attribute) or something not necessarily (like an 'unread' param). Additional, you made just problems for Google. If you wish to
  19. Hello friends. I made some application, where I have some text and image fields in one Content Item. Text fields are localizable with default \IPS\Helpers\Form\Translatable form. But I need to have localizable images (load different by language images for one Content Item). Yes, I can create additional rows like image_en, image_cs, image_pl and etc.. But it will out of the standard language flow, where I can simply add/remove new languages and the form will accept it. Hope somebody (or IPS) will help me with any hint. I don't want to write bad code or reinvent the byke. Thanks!
  20. Thank IPS for made Redis status page! It is useful and good to check it without any additionals! I very appreciate these ways of helping! If you have a plan to add other parts, like the opcache status page - it will be awesome! Something like that: And thanks for your work! IPS 4.4 update was the most compatible for the themes and apps. We update our staging with a very few numbers of changings needed and a lot of stuff delivered. Best!
  21. It will be extremely powerful if you can create a special title and description in meta tags for the direct links to the special post. I mean, when somebody links the somebody post like /topic/123-hello/?showComment=123456 in some messengers, social networks or inside another topic - it will be extremely good if we will see 'Nickname's answer in topic Hello' and description will be part of his post content. Now we see just the topic meta tags, not the linked post info. Thanks!
  22. I think this request might be an old already asked request, but still. I really need the ability to export/import pages/blocks/templates/css/js/media in the same mechanism as it exists for apps/plugins/themes. We usually prefer to create some new landings on the local dev instance of IPS. Moving the ready page with tons of media items, special template, css and js become very hard to work. We need to copy-paste a lot of files, create a needed (and right named) new blocks with an id's, upload media (which id's changes of course) and etc. This feature might be good not only for preparing som
  23. I see. Thanks for the answer! So, the best way (for now) not escape the plugin+hook creation. For other members who will come here for the same question: We need to create a hook for \IPS\Helpers\Form\Editor for the method _getParser(). There we just need to redefine default parser calling with false in first param. So the default /** * Get parser object * * @return \IPS\Text\Parser */ protected function _getParser() { return new \IPS\Text\Parser( TRUE, ( $this->options['attachIds'] === NULL ? md5( $this->options['autoSaveKey'] ) : $this->options['attachIds'] ),
  24. Hello, guys! Could anyone (maybe IPS) help with BB codes prevention? I want to post some content which said to press the "B" button. Our content managers like to put "[" and "]" around "b". But it transforms into nothing and makes all next text bold. Same for "s" (stroke, yep) and "i" (italic). I tried to use HTML-editor and wrote &#91;s&#93; But unfortunately, it transforms into [ and ] and then stroke again! Any ideas (without hooks, obviously)?
  25. I want: CLI-tools for install/build/update/enable/disable apps/plugins/themes. It will provide simplier operation many instances. Any technology, which provide staing framework in background all time. Not default PHP method of die after every request (I know about opcache and other methods, which speed up this, but mainly it's a symptom fixing, not the core of problem). Of course, this point will increase the threshold of entry into IPS. But we want to be "the best" or "just one of"? All have their price. If somebody interesting about that - there is a good article of positive expe
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy