Reputation Activity
-
-
Martin A. got a reaction from AtariAge in Community Map
I'll take this back after having read some support topics. Looks like a lot of apps are throwing errors because of this new scanner.
If you can you should setup a test forum where you install these apps and then perform an upgrade on that. Don't need to create a mirror of your live site, just a default install with all your apps and plugins.
-
-
-
Martin A. reacted to Mark in Hump Day: saying farewell to Invision Community OG, Rikki
End of an era ❤️
-
Martin A. reacted to Jordan Miller in Hump Day: saying farewell to Invision Community OG, Rikki
Happy Hump Day, team! Sort of. 😔
One of Invision Community's founding fathers, @Rikki, is amicably moving on from Invision Community to pursue another exciting opportunity. This is his last week with us. He has a few parting words to share with you:
Rikki has been an instrumental player in Invision Community's success; we're bummed to see him go, but at the same time excited for him to spread his wings.
Please leave some well wishes for Rikki in the comments!
---
Speaking of the team, @Matt Finger wrote a new dev blog post touching on the PHP8 Compatibility Scanner, our Pre-Upgrade Resource Checker and a full change log for our upcoming September release:
---
And last but not least, 4.7.2 Beta 1 is officially out. Check out the release notes here.
See you in the replies. 🙏
-
Martin A. got a reaction from Meddysong in Calling Pages CSS from template?
If you know the ID of each CSS file you can do this
{{$key = 10;}} {{$css = NULL; try { $css = (string) \IPS\File::get( 'cms_Pages', \IPS\cms\Templates::load( $key )->_file_object )->url; } catch ( \Exception ) {} }} {{if $css !== NULL}} {{\IPS\Output::i()->cssFiles[] = $css;}} {{endif}} If you want to load them by filename and group you'd have to either query for it, or hook into \IPS\cms\Templates and create your own helper method. load() will only accept template_id or template_key, but template_key also contains the id.
-
Martin A. got a reaction from opentype in Calling Pages CSS from template?
If you know the ID of each CSS file you can do this
{{$key = 10;}} {{$css = NULL; try { $css = (string) \IPS\File::get( 'cms_Pages', \IPS\cms\Templates::load( $key )->_file_object )->url; } catch ( \Exception ) {} }} {{if $css !== NULL}} {{\IPS\Output::i()->cssFiles[] = $css;}} {{endif}} If you want to load them by filename and group you'd have to either query for it, or hook into \IPS\cms\Templates and create your own helper method. load() will only accept template_id or template_key, but template_key also contains the id.
-
Martin A. reacted to AtariAge in Community Map
Just a followup to this -- Invision disassociated the two apps for me, so I was able to install Community Map and import the data from Member Map. Turns out I purchased this last September but was never able to use it since I was still running 4.4.x.
Everything looks great, and thank you for your assistance!
-
Martin A. reacted to svit in Community Map
That was the trick 🙂 I can see I had the category ticked on but not the sub-categories, I've added them now and all images are being displayed, many thanks for your suport!
-
Martin A. got a reaction from Hisashi in Help to disable a CSS code
I think you could have done
width: unset !important;
-
Martin A. got a reaction from CodingJungle in Scope Selection sucks
This is a nice one. If you edit it from the overview it goes to the "api" controller, which properly loads the api.css. If you edit it from the OAuth details page it goes to the "oauth" controller which doesn't load the css.
-
Martin A. got a reaction from sobrenome in Manifest caching
What he's saying is that one week is quite a long while to cache something without a "cache buster" in the request URL. The cache buster is the string of random characters you see in the CSS and JS requests, and it is used to detect changes to the file. When a file changes, the cache buster changes, and it will thus look like a new file to those who have cached it.
The manifest file does not have that added to the URL, and with a week of cache time any changes to the manifest may take up to week to take effect.
-
Martin A. reacted to stu_m in Community Map
Fixed!
I installed php56 and refreshed which then said there is nothing to upgrade then it all worked fine 😕
So it looks like some sort of config issue
-
Martin A. got a reaction from stu_m in Community Map
Yes it is. There was nothing in the last update that broke compatibility with 4.6.
-
Martin A. got a reaction from SeNioR- in Add code to template
{{if \IPS\cms\Pages\Page::$currentPage and \IPS\cms\Pages\Page::$currentPage->id == 15}} YOUR CODE {{endif}}
-
Martin A. got a reaction from Davyc in Add code to template
{{if \IPS\cms\Pages\Page::$currentPage and \IPS\cms\Pages\Page::$currentPage->id == 15}} YOUR CODE {{endif}}
-
Martin A. got a reaction from BertT in [Bug] IndexNow submits an ACP URL when queue runs from ACP
When manually running the queue from the ACP, the keyLocation submitted to IndexNow uses the ACP base url.
Got errors like these:
422 invalid_url Array ( [host] => www.site.com/ [key] => 6c076eb62f3b43e8cf6c62a8d69dff7a [keyLocation] => https://www.site.com/admin/<hash>.txt [urlList] => Array ( [0] => https://www.site.com/<url> ) )
Issue is here:
$url = \IPS\Http\Url::internal(''); $data = array( 'host' => \IPS\Http\Url::baseUrl(\IPS\Http\Url::PROTOCOL_WITHOUT ), 'key' => \IPS\Settings::i()->indexnow_key, 'keyLocation' => (string) $url->setPath( $url->data[ \IPS\Http\Url::COMPONENT_PATH ] . $this->getKeyFileName() ), 'urlList' => $urls, ); $url should specify the 'front' base
$url = \IPS\Http\Url::internal( '', 'front' );
Error happened in 4.6, but this file is not touched in 4.7.
-
Martin A. got a reaction from SeNioR- in combined view forum view very slow due to...
Can add that we're seeing the same numbers. Takes 14+ seconds to load a combined view with 2 subforums.
-
Martin A. got a reaction from SeNioR- in [Bug 4.7 & 8.1] PHP Fatal error: Type of IPS\File\_Exception::$file must be string
PHP Fatal error: Type of IPS\File\_Exception::$file must be string (as in class Exception)
Getting lots of those. Opening the file in PhpStorm gives more details
-
Martin A. got a reaction from SeNioR- in Template logic for mobile devices
I don't think that will cause issues. I do the same for my mobile ads. Google will not load ads in containers that are hidden.
{{$guestAdvert = \IPS\core\Advertisement::loadByLocation( "index_970x250" );}} {{if $guestAdvert !== NULL}} <div class="ipsResponsive_showDesktop"> {$guestAdvert|raw} </div> {{endif}} {{$guestAdvertMob = \IPS\core\Advertisement::loadByLocation( "index_970x250_mobile" );}} {{if $guestAdvertMob !== NULL}} <div class="ipsResponsive_hideDesktop"> {$guestAdvertMob|raw} </div> {{endif}}
-
Martin A. got a reaction from SeNioR- in Template logic for mobile devices
No, there's no proper way to tell what device is being used on server side. You should use the responsive CSS classes for this instead.
-
Martin A. got a reaction from Adriano Faria in Template logic for mobile devices
I don't think that will cause issues. I do the same for my mobile ads. Google will not load ads in containers that are hidden.
{{$guestAdvert = \IPS\core\Advertisement::loadByLocation( "index_970x250" );}} {{if $guestAdvert !== NULL}} <div class="ipsResponsive_showDesktop"> {$guestAdvert|raw} </div> {{endif}} {{$guestAdvertMob = \IPS\core\Advertisement::loadByLocation( "index_970x250_mobile" );}} {{if $guestAdvertMob !== NULL}} <div class="ipsResponsive_hideDesktop"> {$guestAdvertMob|raw} </div> {{endif}}
-
Martin A. got a reaction from AlexJ in [4.7.0] New unused parameter in "\system\Helpers\Table\Custom::__construct()"
The argument $count in the constructor. Not the class var $count. The method arg was added in 4.7 beta 1
-
Martin A. got a reaction from SeNioR- in [4.7.0] New unused parameter in "\system\Helpers\Table\Custom::__construct()"
The argument $count in the constructor. Not the class var $count. The method arg was added in 4.7 beta 1