Content Type
Downloads
Release Notes
IPS4 Guides
IPS4 Developer Documentation
Invision Community Blog
Development Blog
Deprecation Tracker
Providers Directory
Forums
Events
Store
Gallery
Posts posted by HeadStand
-
-
21 hours ago, All Astronauts said:
Anyways, you no need to panic about Headstand 🙂
I will probably do this until retirement, so we've got at least 20 years to go. 🙂
Or unless I marry rich. Seems unlikely. And even then I'd probably work or I'd go crazy.
- Ryan Ashbrook, Claudia999, SUBRTX and 11 others
- 10
- 1
- 3
-
-
52 minutes ago, Jim M said:
SendGrid's URL decryption has caused some issues in the past so I would not be surprised. Of course, can confirm this by doing some tests with another SMTP provider.
Sendgrid is not the only platform that rewrites URLs. Most of these platforms do. I realize that IPS doesn't support other email services out of the box, but there are plenty of services that will rewrite the URLs even if you send the email through their SMTP.
-
3 hours ago, Daniel F said:
Have you tried to debug the target URL inside the redirect controller?
Yes, I can see where I'm directed to when I click the unsubscribe link.
Perhaps it's a conflict with Sendgrid itself? The way that Sendgrid rewrites the URLs? I would bet that sendgrid just decodes the URL in full.....
-
Clicking on an unsubscribe link redirects the user to the homepage and does not unsubscribe.
This took me FOREVER to figure out, especially because the client who reported it was using SendGrid, which of course rewrites all the links. Until I got access to that and managed to see what was happening...
There is a conflict when IPS email tracking is enabled. Consider this unsubscribe link that is included in a bulk mail:
https://site.com/index.php?app=core&module=system&controller=redirect&url=https://site.com/unsubscribe/?email=esther@headstandconsulting.com%26key=1cd2e20f285199a4351e4037aa7c19b1&key=e6509624eb4aeb5a4a3e8c7e19497d69628204292b4a26d21ac49db305915cc3&email=1&type=bulk_mail&utm_source=connect&utm_medium=email&utm_campaign=website
Note that there are 2 query parameters for both "email" and "key".
\IPS\Email::_parseElementForClickTracking
$url = \IPS\Http\Url::internal( "app=core&module=system&controller=redirect", 'front' )->setQueryString( array( 'url' => (string) $element->getAttribute('href'), 'resource' => ( \IPS\Request::i()->resource ) ? 1 : NULL, 'key' => hash_hmac( "sha256", (string) $element->getAttribute('href'), \IPS\Settings::i()->site_secret_key . 'r' ), 'email' => 1, 'type' => $templateKey ) );
Adding the HTML click tracking sets the "email" query parameter to 1 and the "key" to a hash related to the link. These parameters are added to the unsubscribe link after the unsubscribe link is built. The unsubscribe link itself contains an "email" query parameter (which is set to the recipient's email), as well as a "key" query parameter (which is a hash of the user's email and pass_hash).
I would suggest that the click tracking piece be reviewed to avoid the duplicate parameters.
I imagine that this may be the root cause of other unsubscribe issues that have been reported in this forum.
Thanks.
-
-
6 hours ago, livegames.co.il said:
Thank you. I bought it, and I will try to play with it.
Could you please help to bold this separate line?
The <hr> tag? That's basically just a border... there's not really a way to "bold" it. You could increase the border-width to make it thicker. So something like
<hr class='ipsHr' style='border-width:3px 0 0 0;'>
-
On 1/1/2022 at 6:09 AM, livegames.co.il said:
Can I add an open text field on the opening topic process where the user must input decimal value only ("1.7" for exemple)? Can this number be treated and presented as a tag? (please see screenshot 2),
Yes to the first part (decimals), no to the tag.
On 1/1/2022 at 6:09 AM, livegames.co.il said:Can I set a condition as if a specific selection was chosen from the already existing drop-down (please see screenshot 1 ), so the decimal field will disappear?
Not sure what you mean by "already existing dropdown". You can set up one template field to show/hide another template field. But you can't set it up on fields that are not part of this application. Let me know if you need me to explain that further.
On 1/1/2022 at 6:09 AM, livegames.co.il said:Can i swap position of fields? (screenshot 3)
Yes. You can order the custom fields any way you want.
-
22 hours ago, Fred Mercury said:
Hello @HeadStand
Do you have a demo published to see the result of the application? The images account only for the administration and configuration of the application, but it would be interesting to see the result of it.
Regards.
I don't have a demo available. Sorry.
-
6 hours ago, Angel Costa said:
Can you tell me if this version works with 4.6 in a manual upload?
Yes, it should.
-
-
-
Thank you everyone for your patience. That was more painful than it should have been. 😞
- AlexWebsites, jaeitee and John T Davis
- 3
-
-
59 minutes ago, AlexWebsites said:
What’s the latest on this? Still nothing in the marketplace. Is there something wrong that’s it’s not approved yet?
Not that I know of.... I think maybe Daniel is on vacation?
-
-
IPS rejected it because of an incompatibility with CIC. I'll fix that later today and resubmit.
-
-
Yeah, I just renewed my license. Check it again in a bit.
-
19 hours ago, AlexWebsites said:
I guess it takes a some time for IPS to approve?
Looks like I didn't renew my IPS license, so all my files are hidden from the Marketplace. Give it a day or so to resolve, I've paid it.
-
21 hours ago, Edjazoli said:
Any chance that your plugin will be back for purchase on Marketplace?
It's not?
-
This application has been tested under IPS 4.6 and is compatible as is. The marketplace is being updated to reflect this change.
-
This app has been tested under 4.6 and is compatible as is, no updates required. Marketplace is being updated to reflect that.
-
On 5/12/2021 at 12:35 PM, Claudia999 said:
And I found a bug (?) with calendar events.
I have recurring events since eons until the end of the world 😉 and thought I have to choose "Upcoming content" as type. But then in html-preview I only have the variable with the key of content.
It works only if I choose "popular content" as type (and then only the recurring event with a comment appear in preview and not the other recurring event without a comment although the minimum number of comments is set to 0).
I'm not exactly sure what the issue is. Can you please clarify what you're trying to do and what the problem is?
Bug: Invoice with custom packages cannot be paid
in Developer Connection
Posted
This was a fun one! I have a client who uses Custom Packages fairly often. Today they created an invoice for a client with a custom package, same way they always do. The client received a notification, logged in to pay the invoice, and when they hit "Pay Now", they received the following error message:
"Custom Enterprise License is not available for your account". Error code is 000/B.
It seems that as of version 4.6.9, there was a new check introduced to \IPS\nexus\modules\front\checkout\checkout::_pay(), which verifies that the user has permission to purchase the items in the invoice.
\IPS\nexus\Package\Product::memberCanPurchase
The above check always fails for custom packages, because nexus_packages.p_member_groups is empty - not null, not *, just empty. Therefore, when the user goes to pay the invoice, it tells them that they're not allowed to do so.
I would suggest an override for the memberCanPurchase method in \IPS\nexus\extensions\nexus\Item\CustomPackage to verify that the member purchasing matches the value in nexus_packages.p_custom.