Reputation Activity
-
Martin A. got a reaction from Randy Calvert in Marketplace for Clients
We did 🙂 Gotta spend some to earn some. If the income isn't enough to cover the cost you are either not here for the money, don't have a big enough demand, or not pricing it "correctly".
Keep in mind that this also ensures that you can't purchase from someone who have left the "scene", leaving you with a file that will probably not be supported. Should it be taken over by someone else, you will most likely have to purchase it again.
This is not true anymore. An app or plugin would be compatible with the entire major version ( 4.x ) in the beginning of the 4 series. In the past few years changes to a central method signature happens more often, breaking backwards compatibility, even if it's "correctly made". They are even introducing brand new functionality in the middle of a major version. So there could be stuff out there that is compatible with 4.6.x but not 4.6.y.
This is stuff they wouldn't have done back in the days.
This is why we, the 3rd party developers, have to keep our licenses up to date to keep up with these changes.
-
Martin A. got a reaction from Daniel F in ACP Session Time Outs
If you need this for development purposes you can use this constant
define( 'DEV_DISABLE_ACP_SESSION_TIMEOUT', TRUE ); That'll disable the timeout when IN_DEV.
-
Martin A. reacted to Sonya* in Reading Time
No need to edit template. Custom field would do the same 😉
Pay attention to Default Value! It has to be filled out in order of the field to be displayed.
-
Martin A. reacted to Nathan Explosion in Reading Time
Edit the database template Displate -> Record
Add this anywhere (change the 200 to what you believe the 'words per minute' speed is for someone reading):
{{$wordCount = \str_word_count(\strip_tags($record->_content));}} {{$estimateTime = \ceil ($wordCount/200);}} Then add this in your desired place in the template:
Estimated reading time: {$estimateTime} minutes
-
Martin A. reacted to All Astronauts in More developers leaving?
Just FYI, if a dev does NOT RENEW their "package" - whatever it is, the MP stuff is, apparently, automatically deactivated.
Esther (Headstand) just let her package lapse and is renewing this week. She's not going anywhere.
-
Martin A. reacted to JohnCourt in Community Map
Just a follow up for those who may have had the same problem as me, the "Community Map" creates a menu tab at time of import and or installation, so go to your menu, and you'll see it.
Thanks Martin for maintaining this application, and yes, it's about time you get paid for it!
-
Martin A. reacted to Marc Stridgen in Bug: Elastic 7.16 and activity stream with followed members
This issue has been resolved in 4.6.10 beta 1. Feel free to give this a try, or await the full release if you prefer
-
Martin A. reacted to Stuart Silvester in Bug: Elastic 7.16 and activity stream with followed members
Thank you for letting us know, this will be fixed in an upcoming release.
-
Martin A. reacted to JohnCourt in Community Map
How is Community Map displayed? Does it over ride Member Map? I can find my Member Map page, but not the Community Map. I've imported Member Map data successfully I think, I really won't know till I see the Community Map, if I can find it. Thanks
EDIT: Never mind, found it. 🙂
-
Martin A. got a reaction from opentype in ambiguous column in getItemsWithPermission
$recordClass::getItemsWithPermission( [ [ "`cms_custom_database_{$record::$customDatabaseId}`.`category_id`=?",$record->container()->id ] ], ... ) This should work
-
Martin A. reacted to Marc Stridgen in Bug: Elastic 7.16 and activity stream with followed members
I have tagged our developers in to review this. If this is a bug here we can get this logged and resolved
-
Martin A. got a reaction from Real Hal9000 in Bug: Elastic 7.16 and activity stream with followed members
Updated a forum to 4.6.9 yesterday, and at the same time updated Elastic to the highest supported version - 7.16.3.
Woke up to lots of these errors in the log caused by a stream periodically fetched as RSS.
[error] => Array ( [root_cause] => Array ( [0] => Array ( [type] => x_content_parse_exception [reason] => [1:8714] [bool] failed to parse field [should] ) ) [type] => x_content_parse_exception [reason] => [1:8714] [bool] failed to parse field [filter] [caused_by] => Array ( [type] => x_content_parse_exception [reason] => [1:8714] [bool] failed to parse field [should] [caused_by] => Array ( [type] => illegal_state_exception [reason] => expected value but got [START_ARRAY] ) ) ) The issue in the JSON appears to be here:
{ "bool": { "should": [ { "bool": { "filter": [ { "terms": { "index_class": [ "IPS\\forums\\Topic\\Post" ] } }, { "terms": { "index_item_id": [ 657215, .......... 785214 ] } } ] } }, [<--- HERE, this is 1:8714 { "terms": { "index_author": [ 61654, 151262, 204067, 204990, 272358, 503699, 554475 ] } } ] ] } }, The latter "terms" should not have been in brackets.
This is caused by too many array()'s added to the condition in Elastic\Query.php
/* Are we including content posted by followed members? */ if ( $includeMembers and $followed = iterator_to_array( \IPS\Db::i()->select( 'follow_rel_id', 'core_follow', array( 'follow_app=? AND follow_area=? AND follow_member_id=?', 'core', 'member', $this->member->member_id ), 'follow_rel_id asc' ) ) ) { $conditions[] = array( array( 'terms' => array( 'index_author' => $followed ) ) ); } I've removed one of those arrays and that seems to have solved the issue.
-
Martin A. got a reaction from ASTRAPI in Bug: Elastic 7.16 and activity stream with followed members
Updated a forum to 4.6.9 yesterday, and at the same time updated Elastic to the highest supported version - 7.16.3.
Woke up to lots of these errors in the log caused by a stream periodically fetched as RSS.
[error] => Array ( [root_cause] => Array ( [0] => Array ( [type] => x_content_parse_exception [reason] => [1:8714] [bool] failed to parse field [should] ) ) [type] => x_content_parse_exception [reason] => [1:8714] [bool] failed to parse field [filter] [caused_by] => Array ( [type] => x_content_parse_exception [reason] => [1:8714] [bool] failed to parse field [should] [caused_by] => Array ( [type] => illegal_state_exception [reason] => expected value but got [START_ARRAY] ) ) ) The issue in the JSON appears to be here:
{ "bool": { "should": [ { "bool": { "filter": [ { "terms": { "index_class": [ "IPS\\forums\\Topic\\Post" ] } }, { "terms": { "index_item_id": [ 657215, .......... 785214 ] } } ] } }, [<--- HERE, this is 1:8714 { "terms": { "index_author": [ 61654, 151262, 204067, 204990, 272358, 503699, 554475 ] } } ] ] } }, The latter "terms" should not have been in brackets.
This is caused by too many array()'s added to the condition in Elastic\Query.php
/* Are we including content posted by followed members? */ if ( $includeMembers and $followed = iterator_to_array( \IPS\Db::i()->select( 'follow_rel_id', 'core_follow', array( 'follow_app=? AND follow_area=? AND follow_member_id=?', 'core', 'member', $this->member->member_id ), 'follow_rel_id asc' ) ) ) { $conditions[] = array( array( 'terms' => array( 'index_author' => $followed ) ) ); } I've removed one of those arrays and that seems to have solved the issue.
-
Martin A. got a reaction from Runar in Bug: Elastic 7.16 and activity stream with followed members
Updated a forum to 4.6.9 yesterday, and at the same time updated Elastic to the highest supported version - 7.16.3.
Woke up to lots of these errors in the log caused by a stream periodically fetched as RSS.
[error] => Array ( [root_cause] => Array ( [0] => Array ( [type] => x_content_parse_exception [reason] => [1:8714] [bool] failed to parse field [should] ) ) [type] => x_content_parse_exception [reason] => [1:8714] [bool] failed to parse field [filter] [caused_by] => Array ( [type] => x_content_parse_exception [reason] => [1:8714] [bool] failed to parse field [should] [caused_by] => Array ( [type] => illegal_state_exception [reason] => expected value but got [START_ARRAY] ) ) ) The issue in the JSON appears to be here:
{ "bool": { "should": [ { "bool": { "filter": [ { "terms": { "index_class": [ "IPS\\forums\\Topic\\Post" ] } }, { "terms": { "index_item_id": [ 657215, .......... 785214 ] } } ] } }, [<--- HERE, this is 1:8714 { "terms": { "index_author": [ 61654, 151262, 204067, 204990, 272358, 503699, 554475 ] } } ] ] } }, The latter "terms" should not have been in brackets.
This is caused by too many array()'s added to the condition in Elastic\Query.php
/* Are we including content posted by followed members? */ if ( $includeMembers and $followed = iterator_to_array( \IPS\Db::i()->select( 'follow_rel_id', 'core_follow', array( 'follow_app=? AND follow_area=? AND follow_member_id=?', 'core', 'member', $this->member->member_id ), 'follow_rel_id asc' ) ) ) { $conditions[] = array( array( 'terms' => array( 'index_author' => $followed ) ) ); } I've removed one of those arrays and that seems to have solved the issue.
-
Martin A. reacted to Nathan Explosion in Community Map
https://invisioncommunity.com/clients/purchases/ and click on the renew option for the resource.
-
Martin A. got a reaction from stu_m in Community Map
Edit the template "popupContent" in communitymap > front > map. Remove all occurrences of the following
target='_blank' That should do it for you 🙂
Do the same in the other *Popup templates in the same folder to change the behavior in other marker types.
-
Martin A. got a reaction from stu_m in Community Map
I have identified a PHP 8 issue with the template you mentioned, and a fix for it is about to be submitted.
-
Martin A. reacted to IPCommerceFan in \IPS\Member::loggedIn() object question - isAdmin... isMod?
Oh man, thanks @Martin A.!
I wasn't aware PhpStorm could do that!
-
Martin A. got a reaction from IPCommerceFan in \IPS\Member::loggedIn() object question - isAdmin... isMod?
You don't need that other program if you already have and use PhpStorm. Ctrl + Shift + F will give you an equal solution 🙂
-
-
Martin A. reacted to Adriano Faria in Community Map
Yes, the admin can override these permissions and choose specific groups to view:
-
Martin A. reacted to Westfield Sports Car Club in Community Map
That was it! Initially, I did as you described, but the Community Map tab remained hidden, until I unchecked all in the Content tab. Bit weird, but I got what I needed, a group of non-moderators being able to edit markers they haven't created themselves.
Cheers!
-
Martin A. got a reaction from derpunker in Community Map
The color inside the marker cluster should use the site's default text color. which in your case is light gray due to the black background. I'm fixing this now 🙂
Looks like your site has an issue fetching the javascript files needed for the day/night. It may temporarily fix itself if you disable the feature in the settings.
I'm fixing this now by fetching this file from a 3rd party CDN instead.
You should see a button on top of the settings page, like this
It should be visible even though the API field is empty. No need to fill that out anyway, and that too will be converted from Member Map.
This is technically true. But it would only cause an error if someone were to manually manipulate the URL to fetch a marker that doesn't exist. Fixing this now.
-
Martin A. reacted to Larry Kachadorian in Community Map
Did the final migration to the 4.6 version today ... movement of all the old data and settings went flawlessly ....
New product is great . No issues at all !!
-
Martin A. got a reaction from bradl in Community Map
Because now the other file is failing... I'll put up an update in a few minutes.