Jump to content

Community

Mark

+Clients
  • Posts

    36,207
  • Joined

  • Last visited

  • Days Won

    113

 Content Type 

Profiles

Downloads

IPS4 Providers

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Forums

Store

Everything posted by Mark

  1. 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
  2. Rather than make the change every new version, you might want to take a look at writing a plugin. This guide has a complete walkthrough but you can skip everything except steps 1, 6 and 8, because all you'll need is a code hook on that class with something like: public function __construct( $url, $timeout=5, $httpVersion=NULL, $followRedirects=TRUE, $allowedProtocols=NULL ) { parent::__construct( $url, $timeout, $httpVersion, $followRedirects, $allowedProtocols ); curl_setopt_array( $this->curl, [ CURLOPT_PROXY => "10.0.0.33", CURLOPT_PROXYPORT => "1080", CURLOPT_PROXYTYPE => CURLPROXY_SOCKS5, CURLOPT_PROXYUSERPWD => "forum:password" ] ); }
  3. 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();}}
  4. AdminCP > Commerce > Payments > Settings > Payment Methods > Stripe. Sounds like the webhook isn't set up correctly.
  5. Invision Community should automatically capture the transaction once it has verified the transaction passes any anti-fraud rules you've set up (or void it if it doesn't). Check that you've got all the Stripe settings correct and then if you submit a support ticket we can take a look. To do this, go to the Support section of the AdminCP and choose "Something isn't working correctly" and then follow the instructions through until you get to the page to submit a support ticket.
  6. Thanks for letting us know - we'll get that fixed 👍
  7. The form helper already provides CSRF-protection if every change of state is contained within the if ( $values = $form->values() ) { ... }
  8. One of the most popular requests we get for Commerce is for a free trial period for subscriptions. We've heard from many clients that wish to allow their members a free, or reduced cost trial period before auto-renewing the full price. I'm pleased to say that we've now added this functionality into Invision Community 4.5. Let us take a look at how it works. Initial Terms In 4.5 you can now specify an initial term that is different to the normal renewal term for any subscription plan or product. For example, you could make the initial term $0 for 1 week and the normal renewal term $10 per month which will allow you to create 1 week free trial. The initial term doesn't have to be $0, you can use any special price for the initial term you like. Subscription Plans showing Free Trials For developers creating their own applications with Commerce integration, this functionality is also available to you simply by passing a DateInterval object representing the initial term when creating the invoice. Collecting Payment Details for Free Trials Previously, if you were buying something that is free, the entire of the last step of the checkout would just be skipped and the invoice marked as paid. In 4.5, if: The user is purchasing something which has a free initial period, but also has a renewal term (i.e. is a free trial), and You have a payment method which can collect card details (Stripe, Braintree, etc) The user will be prompted to provide payment details that will not be charged until after the free trial. If the user already has a card on file they will not be prompted to provide the details again but will see a confirmation screen rather than the order just being marked paid immediately. Checkout Process for a Free Trial As you can see, allowing a free or reduced cost trial period has never been easier. We hope that you enjoy using this new feature of Invision Community 4.5.
  9. Specifically, in order to prevent you from locking yourself out of the AdminCP, you can't demote yourself from being an admin. You can move yourself into a different admin group if you have any (they must have the same level of restrictions - not greater or lesser than you have), and admins that have permission to demote other admins can do so, but you can't edit your own account in a way that would affect your admin restrictions.
  10. The main benefit is to integrate with this party services. Zapier provides a common platform of exchange for any app: Mailchimp, Google, Facebook, Dropbox, etc - and now Invision Community - to send data to any other. The fact you can use it to send stuff from one Invision Community to the same Invision Community is an interesting thing I wanted to mention, but I imagine most people will be linking with external services. "Integrate with [insert service name here]" is one of our most popular feature requests. Zapier also has this! During testing, I had a Zap that did "if someone makes a post, and that post contains my name, blink the lights in my living room red and send me a slack message - if it contains another staff member's name, blink the lights blue". I was going to include a video in the blog entry, but thought we should stick to realistic examples (people are sometimes a bit literal and I thought some might get confused into thinking we were aiming for building a feature that aimed to blink the lights in your home 😅). We don't have a "New Purchase" trigger yet (though obviously it's high on our list) but by sending that trigger to Delay and then an email service that kind of thing is a great example of the sort of thing you could accomplish.
  11. Zapier is a service that allows you to connect over 2,000 web apps. In Invision Community 4.5 we are launching a beta service of Zapier integration for Invision Community in the Cloud. What does Zapier do? Zapier acts as a bridge between Invision Community and other apps, such as Google Docs, Twitter, Facebook, Slack, Trello, Facebook Ads, ActiveCampaign, Zendesk, Asana, Salesforce, Hubspot, Discord, Stripe and more. Zapier has over 2000 apps registered currently, and that number grows every single day. Let us look at a real life example. Right now, if you wanted to add a member to a Google Sheets document each time a new registration was completed, you'd need some fairly complex code to be written that was "triggered" by this registration event. This would take days to write at some cost. Zapier simplifies this by allowing you to connect Invision Community with Google Sheets without needing a single line of code. Zapier allows you to streamline your workflows in minutes. Zapier has two types of events, triggers and actions. Triggers When a certain thing happens on Invision Community, like a member registering or a topic being posted, a trigger can be sent to Zapier to then run actions in other apps. For example, you might create a zaps to... When a member registers, add their email to a Mailchimp list. When a moderator posts a topic in a news forum, share it on Facebook, Twitter and other social platforms. When a member posts something that requires moderator approval, send a message to a Slack channel for your moderators. Invision Community Integration with Mailchimp through Zapier Actions You can also set up Zaps so that when something happens in an external application, it triggers an action in your Invision Community. For example, you might create a zaps to... When you add an event in a Google Calendar, create a Calendar Event on your community. When you receive an email to a feedback email address, create a topic on your community in a forum for moderators. When you create a task in Trello, add a record to a Pages Database on your community. Invision Community Integration with Google Calendar through Zapier Self-Integration In addition to using Zapier to integrate with third party services, you can also connect an Invision Community trigger to an Invision Community action. For example: when a member registers, create a topic in a welcome forum. Self-Integration through Zapier Frequently Asked Questions What integrations are available? In the beta launching with Invision Community 4.5, Zapier will be able receive a trigger when a member account or content (forum post, gallery image, etc.) is created and send actions to create the same. More triggers and actions will be added over time. When will this integration be out of beta? Later this year. Will third party applications and plugins be able to create Zapier triggers and actions? Because the integration requires an app hosted with Zapier (which is written in Node.js) and this has to be submitted directly by the vendor, it will be difficult for third party applications and plugins to integrate with Zapier through Invision Community's integration. In the future we may be able to provide basic abstracted integrations for third party applications and plugins through an extension API. In the meantime, third party authors can of course write their own Zapier Apps if desired.
  12. 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).
  13. 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.
  14. Which of the devices you listed was your answer to question #4?
  15. Wait, so where do you live? The UK? Or Germany?
  16. @Gauravk Out of interest, can you tell me: Are you in the UAE or a different country? What country is selected by default for you? What language is your computer/browser set to? What does this tool say for "Your browser's Accept-Language header:"? Which OS and browser are you using? I am trying to improve the auto detection and understanding more details about anyone it's incorrect for will be very useful.
  17. 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.
  18. One would expect it to be "en-XX" where "XX" is your country code. Like in Sonya's example it has en-DE before en-US. So I can look into it further can you tell me: What country are you in? What OS are you using? What browser are you using?
  19. 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.
  20. It should default to your own country. Which country are you in? If you go here: https://www.whatsmybrowser.org - what does it show for "Language"? Are you using a VPN?
  21. 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.
  22. Unless there is a message at the bottom explaining that it is in the server timezone (which should have a link explaining how to fix it) they should be shown in your timezone.
  23. Mark

    4.4.10

    This is a maintenance release to fix bugs.
×
×
  • 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