Jump to content

teraßyte

Clients
  • Posts

    33,988
  • Joined

  • Last visited

  • Days Won

    59

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Projects

Release Notes v5

Invision Community 5 Bug Tracker

Forums

Events

Store

Gallery

Everything posted by teraßyte

  1. Here you go if you don't want to wait: https://invisionbyte.net/files/file/282-tb-delete-all-system-logs-button/
  2. The page's output with the CustomWrapper template is in my post above: The page on v4 had a single PHP block included (first codebox; updated to Raw HTML block on v5) and the page's front-end output is in the second codebox.
  3. That's from a custom application I made so you won't find it anywhere. But the applications page @Adriano Faria mentioned works just fine for testing. 😋 === Since the row uses a flex display, the last item's width is based on the number of buttons it has: The ipsTree_controls class needs a fixed width so it's always the same no matter how many buttons are displayed.
  4. @Ehren I had another look, and it happens only when the button is inside the ipsMessage class. Try this HTML: <div class="ipsMessage"> <a href="#" class="ipsButton ipsButton--primary ipsButton--small">Test</a> <a href="#" class="ipsButton ipsButton--primary ipsButton--tiny">Test</a> </div>
  5. I'm not even sure what JS (or HTML?) is required for the page editor to work. There is no indication anywhere. Not even the default CustomWrapper template available in ACP has the correct elements needed. @Esther E. Basically, my question is: how do I edit the widgets/blocks on a page without the Suite HTML wrapper (no wrapper or a custom wrapper)? There's no way to do it right now unless we: [ACP] Edit the page and enable the Suite HTML Wrapper [Front End] Edit the blocks we need on the page [ACP] Edit the page again to disable the Suite HTML Wrapper Having to do this every time we want to edit the content (blocks/widgets) on a page without the suite wrapper is absurd. 🤦‍♂️
  6. Well, I see the problem now: I edited the page to use the IPS Wrapper => I could edit the converted Raw HTML block (obviously no output since it's a broken PHP block) I tried to disable the IPS Wrapper but the page won't save and requires me to select a Custom Wrapper value. Leaving it on None throws an error the field is required. After selecting Custom Wrappers > CustomWrapper I was able to save the page. Viewing the page on the front end with the custom wrapper, only some CSS files are loaded but the JS files for the core app are ALL included (in addition to some custom JS files from a custom app because I'm adding them through the Loader extension). Editing the Raw HTML block with the custom wrapper on the front end is still impossible because not all the required HTML/JS is loaded. Only by re-enabling the IPS Wrapper, you can edit the page blocks. The summary is: Using no wrapper to output only a specific content is no longer possible. On my site, I use a PHP block to output a modification's update check data. I also used a similar setup for a lot of clients' requests, this is no longer possible and requires a full application just to output some simple JSON data or text. It's a huge step backward for flexibility, but the only reply I ever got was to "make an application on v5" which takes a lot more time for basically no gain (if not wasting further of my already limited time). A couple of times is not a problem, but pile up loads of similar things, and the wasted time adds up quickly. 🤷‍♂️ Using a custom wrapper makes it impossible to start the page editor on the front end (the only place where you can edit a page's content now). Basically, pages without the IPS wrapper are broken and unusable. We should have the option to edit such pages' content in the ACP with the usual textarea/Codemirror field instead.
  7. The 4.x page is setup like this: Use suite HTML wrapper: DISABLED Page Wrapper: NONE And the content textarea contains a single block: {block="custom_block_with_code_php"} How do I edit the page's content on v5 on the front end? With no wrapper, there is no HTML/CSS to load the block manager, widgets, page editor, etc. I get a blank page and looking at the page's source code, here's what I have: While we could edit the page's content in ACP on v4, in v5 we are forced to edit it on the front, but without enabling the suite wrapper nothing works. I also can't edit the PHP block in ACP, but I made a separate bug report for that.
  8. The URL to validate the account has been changed, if you edited the template (even adding some simple text, it didn't auto-update correctly with the upgrade and thus returns that error. Compare your edited email template to the default one to find out what changed.
  9. @Marc Here you go: You can see the Theme submenu doesn't work like the others.
  10. You could also try deleting the alert from the moderator CP. As long as the alert is removed the users won't see it. The "respond" option shouldn't apply anymore if the account has been deleted, though. That sounds like a bug.
  11. The page for this bug report has no database, it's a simple page with just a single old PHP block from v4.
  12. After upgrading a test v4 database with some PHP blocks in it. I tried editing them on v5 but received this error when I tried to open the category they were into: Whoops\Exception\ErrorException: preg_match_all(): Passing null to parameter #2 ($subject) of type string is deprecated (8192) #0 [internal function]: Whoops\Run->handleError(8192, 'preg_match_all(...', '\\applications\\...', 1063) #1 \applications\cms\sources\Blocks\Block.php(1063): preg_match_all('/\\{block="(.+?)...', NULL, Array) #2 \applications\cms\sources\Blocks\Block.php(1140): IPS\cms\Blocks\Block::getBlockMapping() #3 \system\Theme\Theme.php(3709) : eval()'d code(21): IPS\cms\Blocks\Block->getPages() #4 \system\Theme\Dev\Template.php(151): IPS\Theme\theme_cms_admin_blocks_rowHtml(Object(IPS\cms\Blocks\Block)) #5 \applications\cms\modules\admin\pages\blocks.php(140): IPS\Theme\Dev\Template->__call('rowHtml', Array) #6 \system\Node\Controller.php(301): IPS\cms\modules\admin\pages\blocks->_getRowHtml(Object(IPS\cms\Blocks\Block)) #7 \system\Node\Controller.php(352): IPS\Node\Controller->_getRow('s.7') #8 \system\Helpers\Tree\Tree.php(149): IPS\Node\Controller->_getChildren('s.7') #9 \system\Node\Controller.php(147): IPS\Helpers\Tree\Tree->__toString() #10 \applications\cms\modules\admin\pages\blocks.php(103): IPS\Node\Controller->manage() #11 \system\Dispatcher\Controller.php(139): IPS\cms\modules\admin\pages\blocks->manage() #12 \system\Node\Controller.php(117): IPS\Dispatcher\Controller->execute() #13 \applications\cms\modules\admin\pages\blocks.php(67): IPS\Node\Controller->execute() #14 \system\Dispatcher\Dispatcher.php(169): IPS\cms\modules\admin\pages\blocks->execute() #15 \admin\index.php(15): IPS\Dispatcher->run() #16 {main}
  13. I upgraded a 4.x database with some pages that had no wrapper and a single PHP block in them. After the upgrade to v5, it's impossible to edit the page because the page editor HTML/JS is unavailable. For such pages, there should be another way to edit them other than using the Page Editor option on the front end since it obviously won't work without the proper HTML/JS. Unlike in v4, where we had a Content tab, v5 defaults to editing the content on the frontend in all cases.
  14. I'm talking about the user menu available in ACP: Change My Details Theme AdminCP Language When you're using the language menu (#3): The mouse cursor indicates a click action (pointer) The entire row you're over is highlighted However, when using the theme menu (#2), neither is available (pointer cursor or highlighted row). === Another thing I don't like about the menu itself is that options #1 (details) and #3 (language) are shown in 2 rows, with the second row's text showing below the icon, instead of a single row. It makes the text less readable. If you're not going to make the menu larger, I see no reason to apply the ipsMenu_narrow class, the text should at least be aligned properly. Plus, the icon should ideally show in the middle of the vertical space rather than at the top. But I guess this is more feedback rather than a bug.
  15. The text in the image below is supposed to be a badge: HTML code: <span class="ipsBadge ipsBadge--style7">Contains database: Articles</span>
  16. Not sure then. I can only say it works fine for me since I added some categories, subcategories, and multiple settings in one of my modifications. 🤷‍♂️
  17. You cannot add subcategories to it if you add a setting. If you move the settings somewhere else, you can then move the settings into the new subcategory (or add more subcategories).
  18. I usually update from 3.x to 4.7.3 using PHP 7.4, and after that to the latest version (4.7.19 now) using PHP 8.0/8.1. That's an option only if you have the 4.7.3 files, though. 🙄
  19. Make sure all your tables are using InnoDB + DYNAMIC row format and utf8mb4 charset. That will help avoid lots of issues during the upgrade.
  20. It must be something related to some old modification you installed at some point. I don't recall seeing that error in all the 3.x => 4.x upgrades I've done. 🤔
  21. What is the issue exactly? Are you getting some errors because of the NULL value? If I remember correctly, the NULL value indicates that the member logged in through some other method (Facebook, Google, Microsoft, Twitter, etc) rather than a local email/password account.
  22. If you are using v4, it's possible to directly edit the core > front > global > error template and add your custom HTML. If you are using the new v5 version (still in beta) it requires making an application because editing the default templates directly is not possible anymore.
  23. The form to add a new achievement rule has a few issues, both when adding and editing a rule. === Adding a new rule (Location problem) Create a new rule Select the following options: When: Reaction is Given Click on all 3 links without changing any value: +Add a location condition +Add a milestone condition +Add a type condition Select a random choice from the Location box. (I used Album for this test.) Click on the +Add a category filter link. Issues: Close all 4 boxes without doing anything else and it will result in the +Add a category filter link being the only remaining one. The correct result here is that all 3 initial links should have reappeared and the category filter should have been hidden until the location box is reopened instead. === Adding a new rule (Location & Category filter problem) Create a new rule Select the following options: When: Reaction is Given Location: any value will work When changing the value in this dropdown a +Add a category filter link will appear. Issues: the +Add a category filter links should appear together with the Location box based on the dropdown's first value. This is not the case. If you close the Location box after changing its value, the +Add link won't reappear. If you add a category filter and edit the Location field afterward, the category filter box disappears. Closing also the Location box will still result in its +Add link not reappearing, either. This issue is always reproducible when you change any value in the Location box. === Adding a new rule (Milestone problem) Create a new rule Select the following options: When: Reaction is Given Milestone: enter a number for the reactions field (or change the dropdown value without adding a number) Type: simply click the + Add a type condition link without doing anything else. Issues: If you close the Milestone & Type boxes, the +Add links won't reappear. If you add a category filter and edit the Location field afterward, the category filter box disappears. Closing also the Location box will still result in its +Add link not reappearing, either. This issue is always reproducible when you change any value in the Milestone box (either dropdown or reactions value). If you skip opening the Type box after opening the Milestone one, the Type box/link will still work without issues. === Editing a rule Edit the default rule: Comment/reply posted is the user's 1st comment/reply First Post badge To the user making the post Issue: The edit form has no Milestone box/link from the start, so making any changes is impossible. === Other combinations can break the rule form in other ways, but the whole thing needs a good check overall. 🙄
  24. When adding widgets on the page, if you search for a word that returns multiple results, clicking on the star to add the widget as a favorite the search results are reset. You have to search again the same term (even just adding a space) to make the results show up again. The results shouldn't be reset when clicking the star icon. === The opposite, removing a favorite, works just fine instead. The results are NOT reset if you click the star icon to disable it.
×
×
  • Create New...