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 Nathan Explosion
-
Install beta 1 (excluded from video, because it's boring and I'm not showing you my license key) Create a template hook in your theme on front/system/globalTemplate Go to site, view page source prior to </head> Upgrade to beta 2 Go to site, view page source prior to </head> After step 3 After step 4: Video: Dashboard — Mozilla Firefox 2024-10-24 23-18-14.zip
-
Steps to reproduce Go to the Members listing in the ACP If you have only 1 user (the admin) then add an additional non-admin user Move cursor to the 'View' icon for non-admin user Result: title appears as expected above the icon Move cursor to the 'Flag as spammer' icon Result: title appears as expected above the icon Move cursor to the 'Delete' icon Result: title appears as expected above the icon Move cursor back to the 'Flag as spammer' icon Result: title isn't above the icon as expected. For added fun, move the cursor back and forth quickly between the icons and play 'where is the title going to appear now?' Tested on Firefox/Chrome (current releases, no extensions) on Windows 11. Members - Google Chrome 2024-10-22 20-28-30.mp4
-
I know. I am just providing more flesh on the paltry bones of the original report of the issue for v4 so it can be fixed there.
-
v4.7.18 via Chrome, current release, windows Members - Google Chrome 2024-10-19 19-27-39.mp4
-
Giphy Images Not Displayed.
Nathan Explosion replied to Stuart Grimshaw's topic in General Questions
So, I approach issues differently to Randy. Instead of 'jumping to cause', I try to understand what you actually did instead of making assumptions on what you did: When you say you've enabled it, did you do the following: Enable it? Then create an API key as directed? Was it approved by GIPHY? Did you then enter it in the ACP, and save it? Because only then would you get the icon in the editor that provides the integration (which, by the way, is theme independent as it is a CKEditor plugin): Did you then use that button to search for your chosen GIF? Or did you manually paste in the URL for the GIF? -
Join the club...
-
@Marc - just spotting you specifically mentioning 'Store' there, and it appears you have been led easily by my indicator arrow. I'm not only referring to the 'Store' here. Look at the icon to the left of each of the top-level menu items. Without any added icons (just the defaults) the 'default' for them all is file-image With me adding icons: For reference only, if I do this IN_DEV then the store icon appears fine. Adding a var_dump on navBarItems, the $roots for those 3 menu items are: C:\wamp64\www\dev\ips_50_dev_a\system\Theme\Theme.php(3678) : eval()'d code:15: array (size=3) 1 => object(IPS\core\extensions\core\FrontNavigation\CustomItem)[215] public string 'defaultIcon' => *uninitialized* protected ?array 'subItems' => null protected array 'configuration' => array (size=2) 'menu_custom_item_url' => string 'https://localhost/dev/ips_50_dev_a/' (length=35) 'menu_custom_item_target_blank' => boolean false public ?int 'id' => int 1 public array|string|null 'permissions' => string '*' (length=1) public string 'menuTypes' => string '*' (length=1) public ?array 'icon' => null public int 'parent' => int 0 2 => object(IPS\core\extensions\core\FrontNavigation\CustomItem)[251] public string 'defaultIcon' => *uninitialized* protected ?array 'subItems' => null protected array 'configuration' => array (size=4) 'menu_custom_item_url' => string 'app=core&module=discover&controller=streams' (length=43) 'menu_custom_item_target_blank' => boolean false 'internal' => string 'discover_all' (length=12) 'seoTitles' => array (size=0) public ?int 'id' => int 2 public array|string|null 'permissions' => string '*' (length=1) public string 'menuTypes' => string '*' (length=1) public ?array 'icon' => null public int 'parent' => int 0 16 => object(IPS\nexus\extensions\core\FrontNavigation\Store)[248] public string 'defaultIcon' => string '\f07a' (length=5) protected ?array 'subItems' => null protected array 'configuration' => array (size=0) empty public ?int 'id' => int 16 public array|string|null 'permissions' => null public string 'menuTypes' => string '*' (length=1) public ?array 'icon' => null public int 'parent' => int 0 That last one is Store - and looking at that IPS\nexus\extensions\core\FrontNavigation\StoreFrontNavigation extension, there is a defaultIcon value that is cart-shopping /** * @var string Default icon */ public string $defaultIcon = '\f07a'; But the 'Browse' and 'Activity' roots are generated from IPS\core\extensions\core\FrontNavigation\CustomItem, and there is no defaultIcon value in them so the file-image icon will be used for them.
-
Aware of that, yes but I'm reporting a bug with the front-end functionality - if the above is a requirement for it to display an icon correctly then the front-end should alert to that being a requirement. Additionally, the ACP icon advice is: "You may pick a custom icon for this menu item. If none is selected, a context relevant default icon may be used" "May" implies a choice "Must" would imply a requirement. And as none is selected (because it isn't a requirement) then the 'context relevant default icon' should be a 'context relevant' icon, not what appears (to a layman) to be a broken FA icon (it's actually just the one indicated) considering that the sub-menu items all have a 'context relevant' icon.
-
Enabling the 'Navigation icons' setting in Header -> Desktop header will result in the top-level menu items FA icon not working. Sub-menu items display as expected. Steps to reproduce: Access the theme editor Go to Header -> Desktop header Enable the 'Navigation icons' settings Result: Tested in Firefox/Chrome (current releases) on Windows 11 24H2, on test site and localhost site. Video in attached zip. (Offline) A Test Forum - Invision Community — Mozilla Firefox 2024-10-17 12-28-44.zip
-
Custom template
Nathan Explosion replied to Adlago's topic in Invision Community 5: Beta Testing's Beta Discussion
OK - your actual issue has now been fleshed out to be clearer. Good luck - sounds to me like you may have an issue with static\templates\core_front_global.php not containing the correct template information for beta 1. If I was you, I'd ensure that all of your files are replaced with the ones in the current beta 1 download package. -
Custom template
Nathan Explosion replied to Adlago's topic in Invision Community 5: Beta Testing's Beta Discussion
And you're on beta 1, yes? Are you using IN_DEV? Yes or no. -
Custom template
Nathan Explosion replied to Adlago's topic in Invision Community 5: Beta Testing's Beta Discussion
So maybe you could actually provide a screenshot of what you DO see, so people don't have to guess what you are seeing? Anyway...here it is, in all it's glory, in the listing of available hooks for System on a test installation of Beta 1 -
Custom template
Nathan Explosion replied to Adlago's topic in Invision Community 5: Beta Testing's Beta Discussion
I'll add in the 2 steps, if you wish to use a custom template. But you really only need to do one, which is adding your code in as a HOOK directly in the place you want it. Anyway... Step 1: custom template Step 2: adding it in before the </head>