Reputation Activity
-
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 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 Adriano Faria in Possible to change the order of post in a topic
That file isn't purchasable as @newbie LAC is in the "Members" group.
-
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. reacted to Miss_B in What 's wrong with this query?
No problem at all.
I figured it out myself. The HAVING part should be added to the $table->selects. Many many thanks for your help on this @Martin A.. Using the tables is indeed much easier than adding all the entries to the array as I did. The only drawback is that the search is not working with this method.
Anyways, this can be considered solved. Thank you also to everyone else who replied.
-
Martin A. got a reaction from Miss_B in What 's wrong with this query?
Sorry about that, didn't realize that was your HAVING clause.
I don't see an easy way for us to add HAVING to that query. For @Daniel F & co on the other hand... 🙂
-
Martin A. got a reaction from Miss_B in What 's wrong with this query?
What's your reason for adding all the entries to an array and then use that in a custom table, instead of
$table = new \IPS\Helpers\Table\Db( 'customtable_log', $url, $where ); $table->selects = [ 'customtable_log.device', 'MAX(customtable_log.user_id) AS user_id']; $table->joins = [ [ 'select' => 'GROUP_CONCAT(DISTINCT core_members.name SEPARATOR ", ") AS shared_by', 'from' => 'core_members', 'where' => 'customtable_log.user_id = core_members.member_id' ] ]; $table->groupBy = 'COUNT(customtable_log.user_id) > 1'; ?
I haven't tested this, but you should be able to use the Db class even if you need to use a query out of the ordinary.
-
Martin A. got a reaction from DReffects2 in Allow base64 encoded images in CKEditor / Where can I modify the CKEditor options?
Yeah, looks like there's a method in the editor parser (\IPS\Text\Parser::isAllowedImageUrl()) that will convert an illegal image element to <span> if the image source is not allowed. The first condition in this method is if the source is a valid URL.
-
Martin A. got a reaction from Square Wheels in 4.7.0 Beta available now
Someone's gotta ask:
What's the reason for this?
-
Martin A. got a reaction from teraßyte in 4.7.0 Beta available now
Someone's gotta ask:
What's the reason for this?
-
Martin A. reacted to opentype in Hump Day: video streaming coming soon
There is nothing wrong with staying informed about the entire product line. After all, some admins will be interested in switching to the cloud offer, if it provides features or benefits they might want. So, they want to get that information as well. We just need to be able to easily tell which new feature applies to which plan.
-
Martin A. reacted to Square Wheels in Hump Day: video streaming coming soon
Yikes, it's only available to those paying more than $549 a month.
I feel so out of place on this site now. It seems like just a couple of weeks ago the lowest plan included most everything at around $50 a month. Now it includes less and went up to $89 a month.
Sadly, I suspect they will do away with us in the next couple of years. Hopefully Xenforo continues to improve and doesn't go this route also.
-
Martin A. got a reaction from Sonya* in Recent slow loading to the point members are giving up
This ^
Nginx + PHP-FPM and Cloudflare will make wonders for your site. Moving uploads to S3 may help tremendously too. This must be done in combination with Cloudflare as most S3 providers doesn't have server locations in ZA, except for AWS. CF have two and these will cache your uploaded images for you. This will also free up space on your VPS and possibly lower the RAM usage as more than 50% of the requests will be handled by Cloudflare.
If you reach out to @ASTRAPI he may be able to do a one-time optimization for you. I can assist you with moving your uploads to S3 should you need that.
-
Martin A. got a reaction from cH@rG in Community Map
Yes, you can remove the posting permission in the pre-made "Members" category. That way you'll only get markers from the integrations you enable.
-
Martin A. got a reaction from Nihonto in Recent slow loading to the point members are giving up
This ^
Nginx + PHP-FPM and Cloudflare will make wonders for your site. Moving uploads to S3 may help tremendously too. This must be done in combination with Cloudflare as most S3 providers doesn't have server locations in ZA, except for AWS. CF have two and these will cache your uploaded images for you. This will also free up space on your VPS and possibly lower the RAM usage as more than 50% of the requests will be handled by Cloudflare.
If you reach out to @ASTRAPI he may be able to do a one-time optimization for you. I can assist you with moving your uploads to S3 should you need that.
-
Martin A. got a reaction from kmk in Community Map
Sounds like you want to transform this into something that acts like Airbnb. This will require way too much modification from its current state to make it worth it. Better to have something custom made for your specific needs.
-
Martin A. got a reaction from ASTRAPI in Recent slow loading to the point members are giving up
This ^
Nginx + PHP-FPM and Cloudflare will make wonders for your site. Moving uploads to S3 may help tremendously too. This must be done in combination with Cloudflare as most S3 providers doesn't have server locations in ZA, except for AWS. CF have two and these will cache your uploaded images for you. This will also free up space on your VPS and possibly lower the RAM usage as more than 50% of the requests will be handled by Cloudflare.
If you reach out to @ASTRAPI he may be able to do a one-time optimization for you. I can assist you with moving your uploads to S3 should you need that.
-
Martin A. got a reaction from iacas in Community Map
A new version have been submitted that fixes this.
@iacas This will also include the improved country selector 🙂
-
-
Martin A. got a reaction from GolfSpy_THV in Community Map
Yes, this have been brought up before, but that's a long time ago.
This is most likely caused by your members being too vague when writing their location in their profile. It's not a secret that a lot of (smaller) US cities and town have "stolen" their name from cities in Europe.
If they just write "London" or "Manchester", it may be obvious to you and your members that they mean London, Kentucky and Manchester, Tennessee. The search engine will however return the UK locations, as these are larger.
Have a look at the "Limits the location search to specific countries" setting. You can set this to United States. Believe this will solve this issue for you.
VPN is not an issue, as the IP is not taken into consideration.
-
Martin A. got a reaction from iacas in Community Map
In the next release it will be changed to something like this instead
That should be easier to navigate.
Not pushing out an update just for this right now. It'll be part of an upcoming maintenance release.
-
Martin A. reacted to Westfield Sports Car Club in Community Map
Hi, am trying to update to 1.3.6 (from 1.3.5) but get a
what can I do to resolve this?
Never mind, looks to be permission errors
-
Martin A. got a reaction from Unlucky in Community Map
Hello,
Lots of clubs are showing up in your map now, including Barnet WFT 🙂
Guess this was a caching issue.
-
Martin A. reacted to Marc Stridgen in Fix this
I will make a note of this, so we can improve on this area 🙂
-
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.