Jump to content

Community

Mark

+Clients
  • Posts

    36,207
  • Joined

  • Last visited

  • Days Won

    113

Reputation Activity

  1. Like
    Mark got a reaction from BomAle in IPS Merch?   
    I had an IPS mousepad once! It was mostly white and got really dirty though and I threw it away years ago.
  2. Like
    Mark reacted to CoffeeCake in [Commerce]Fee for payment options   
    Noticed you mentioned PayPal:
    https://www.paypal.com/us/webapps/mpp/ua/useragreement-full#accepting-payments
    See the section on No Surcharges.
     
  3. Like
    Mark got a reaction from Harshu in No need to use image for Google Login Handler   
    We all agree 😂 Unfortunately your mockup is pretty much exactly one of their "no, you can't do that" examples

    https://developers.google.com/identity/branding-guidelines
  4. Like
    Mark got a reaction from SeNioR- in No need to use image for Google Login Handler   
    We all agree 😂 Unfortunately your mockup is pretty much exactly one of their "no, you can't do that" examples

    https://developers.google.com/identity/branding-guidelines
  5. Like
    Mark got a reaction from Rikki in No need to use image for Google Login Handler   
    We all agree 😂 Unfortunately your mockup is pretty much exactly one of their "no, you can't do that" examples

    https://developers.google.com/identity/branding-guidelines
  6. Like
    Mark got a reaction from IPCommerceFan in flag \IPS\Db::SELECT_SQL_CALC_FOUND_ROWS not working   
    It's no longer supported. Do a separate count query:
    {{$total = \IPS\Db::i()->select( 'COUNT(*)', 'cms_custom_database_8', array( 'field_140=?', $record->primary_id_field ) )->first();}}  
  7. Thanks
    Mark got a reaction from sobrenome in flag \IPS\Db::SELECT_SQL_CALC_FOUND_ROWS not working   
    It's no longer supported. Do a separate count query:
    {{$total = \IPS\Db::i()->select( 'COUNT(*)', 'cms_custom_database_8', array( 'field_140=?', $record->primary_id_field ) )->first();}}  
  8. Sad
    Mark got a reaction from Kpp in CKEditor 5   
    To clarify since @Joel R mentioned me specifically... 😂
    We will be sticking with CKEditor 4 for a little while. While we will presumably move to CKEditor 5 some time in the future, it is currently still very new and maturing (when Joel asked me, it was before 5.11.2.0 was released which is when they re-added paste from word). But most importantly, to move would require a lot of development time (to upgrade our custom plugins) for what will be, to the end-user, very little change. And since CKEditor plans to continue releasing updates to version 4 for the foreseeable future we're not missing out on bug fixes or security patches.
    Obviously if you're experiencing issues, please submit a support ticket and we can look into that - if you're not seeing the same problems on CKEditor's demo, the problem is likely our end and so it's probable that moving to CKEditor 5 wouldn't resolve it.
  9. Thanks
    Mark got a reaction from The Old Man in Porn in stock photos?   
    Thanks for letting us know - we'll get that fixed 👍
  10. Like
    Mark got a reaction from Square Wheels in Porn in stock photos?   
    Thanks for letting us know - we'll get that fixed 👍
  11. Thanks
    Mark got a reaction from xtech in Porn in stock photos?   
    Thanks for letting us know - we'll get that fixed 👍
  12. Like
    Mark got a reaction from davidappmind in IPS 4.3 - Elasticsearch   
    5.5 or higher.
  13. Like
    Mark got a reaction from sobrenome in Displaying only date, year etc from a JSON date   
    Or if you do...
    $timestamp = strtotime( $res['date'] ); ... then you can do...
    date( 'j', $timestamp ) // Day date( 'n', $timestamp ) // Month date( 'Y', $timestamp ) // Year See https://www.php.net/manual/en/function.date.php for other values you can use instead of j/n/Y
    Or if this is within Invision Community you can do...
    {datetime="strtotime( $res['date'] )"} To get the "relative" date
  14. Like
    Mark reacted to opentype in Do we ACTUALLY need to be able to ship worldwide?   
    Actually, you can uncheck this:

  15. Like
    Mark got a reaction from AlexJ in Sign In With Apple   
    My understanding is that you cannot generate a client ID without a paid developer account and an iOS app in the App Store, and it would have to be unique to each site (i.e. our upcoming app which is used for every community won't be able to be used).
  16. Sad
    Mark got a reaction from eskaiter in Collective translation of IPS 4.0   
    We did try a collective translation thing before but nobody really contributed to it and we never ended up with a complete translation for any language :p
  17. Like
    Mark got a reaction from pequeno in Fix padding-left in Google Auth Windows   
    Hm... looks right here:

    Are you sure you don't have a customisation that could be causing it? If you submit a ticket we can take a look.
  18. Like
    Mark reacted to Meddysong in Charging to change URL?   
    It's nothing to do with robbery and everything to do with disincentivising people who run several licenses but keep all but one inactive, and then change their licensed URL frequently so that they can get support and upgrades without paying for them.
  19. Like
    Mark got a reaction from Maxxius in How to remove unnecesarry countries in Commerce?   
    Your browser's header is:
    de,ru-RU;q=0.9,ru;q=0.8,en-DE;q=0.7,en-US;q=0.6,en;q=0.5
    Which means:
    I prefer German - I'm not fussy about the region If you can't do that, give me the Russian - I prefer the Russian they use in Russia but will accept Russian from any region If you can't do that, give me English - if you can, format it like I'm in Germany, otherwise United States English is okay, or English from any other region will do As you can see: this is pretty detailed information, and usually it can be inferred from that information where the user is. It is normally much more reliable than using Geocoding from an IP address which will be wrong if the user is using a VPN, and will change if the user is travelling which is usually undesired. The Accept-Language header is literally for the browser to advise the server of the user's language and region so it's normally well implemented.
    In your case, there was a bug, which I've fixed. In Maxxius's case, for some reason it is much more brief - it says "I want English - ideally US English but if not, any English will do". That's why I asked what OS and browser: I will try to reproduce the setup to see what controls the value of the header in that circumstance. Different browsers do different things and sometimes browsers send supplementary information in other headers.
  20. Like
    Mark got a reaction from Meddysong in How to remove unnecesarry countries in Commerce?   
    Just "en", not "en-[something]"? If that's the case it shouldn't default to anything...
    What does this tool say? Which OS and browser?
    Ah, I see the issue with that one. I'll fix that for the next version.
  21. Like
    Mark got a reaction from Sonya* in How to remove unnecesarry countries in Commerce?   
    Just "en", not "en-[something]"? If that's the case it shouldn't default to anything...
    What does this tool say? Which OS and browser?
    Ah, I see the issue with that one. I'll fix that for the next version.
  22. Like
    Mark reacted to Daniel F in Plugin code hooks   
    I would suggest to override \IPS\Db::update and to check then the current app, module and controller for IPS\core\modules\front\system\notifications::manage to avoid that the update query is run.
    Something like following pseudo code should work ( I haven't verified if all the names are correct, you'll have to confirm it yourself;)
    public function update( $table, $set, $where='', $joins=array(), $limit=NULL, $flags=0 ) { if( !( $table === 'core_notifications' AND \IPS\Dispatcher::hasInstance() AND \IPS\Dispatcher::i()->controllerLocation === 'front' \IPS\Request::i()->module === 'system' AND \IPS\Request::i()->controller === 'notifications' AND !isset( \IPSUtf8\Request::i()->do )) ) { return parent::update($table, $set, $where, $joins, $limit, $flags); } }  
  23. Like
    Mark got a reaction from Makoto in Post Before Registering - HUGE MISTAKE   
    And you definitely want to prevent sending out hidden posts, posts in any forums normal users can't see, etc.
    If you're using PHP, you can use the \IPS\forums\Topic\Post::getItemsWithPermission() function. Alternatively, use the REST API setting "hidden" to 0 and "forums" to the ones you want to include.
  24. Thanks
    Mark got a reaction from haqzore in What is the "username" attribute name?   
    name
  25. Like
    Mark got a reaction from Joriz in 5.0 - A Discussion   
    We haven't used salted md5s since v4 😉 We use bcrypt.
×
×
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy