Jump to content

HeadStand

Clients
  • Posts

    3,392
  • Joined

  • Last visited

  • Days Won

    15

 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

  1. On 7/7/2022 at 7:03 AM, Matt said:

    I've released a patch so that custom CSS in other areas, and also CSS that has been edited is now visible when editing a theme.

    Still not seeing all of them. By any chance, was this restricted only to anything under "front", or was this patch also applied to "global"?

  2. One of my clients had a user who reported an issue with entering their credit card info. They kept getting the message "Invalid card number". We asked them for the card number and it seemed to work fine when we tested it.

    This one turned out to be a sort of user issue but only sort of. There were 2 things going on here. First, they were entering the card number with spaces. The back-end code for the credit card field does strip out spaces and dashes (\IPS\nexus\CreditCard::93) but the input field itself is set to have a maxlength of 16. So when he pasted the card number in there (no I do not want to know why this person is copy/pasting card numbers, this is not my problem), it truncated it and lost a digit off the end.

    The second thing that we found was that the spaces he was pasting weren't actually spaces, but some weird character. 🤷‍♀️

    I would suggest altering the field validation (same location as above) to run a regex check for anything that is not a number and then throwing a very clear error message that only numbers 0-9 can be entered in the field. This seems to be the cleanest way to eliminate these kinds of errors.

    Thanks.

  3. On 7/27/2022 at 4:00 AM, Emediate said:

    Ran the update this morning. Went to add a new field this afternoon and it locks up the whole database.

    It's running a select statement that can't run because the tables are locked waiting for that query to run.

    SELECT orig_ipb_forums_topics.title as title,orig_ipb_templates_fields_values.field_3 as deal_price FROM orig_ipb_forums_topics LEFT JOIN orig_ipb_templates_fields_values ON orig_ipb_forums_topics.tid=orig_ipb_templates_fields_values.item_id  WHERE orig_ipb_forums_topics.start_date >= UNIX_TIMESTAMP('2020-03-01') AND orig_ipb_forums_topics.approved=1 ORDER BY orig_ipb_forums_topics.tid DESC Limit 10000000
    Waiting for table metadata lock ALTER TABLE `orig_ipb_templates_fields_values` DROP COLUMN `field_12`

    It puts the whole site into an Error 500 until we kill those queries or reboot the SQL server.

    No issues on my end.

    The query that appears to be locking things would be happening only if a field were deleted, not added. And that would be something handled by the IPS core code, not my custom.

  4. A new version has been pushed to the Marketplace and is pending approval. Changes include:

    • Tested for compatibility for IPS 4.7 and PHP 8
    • Date fields were not saved properly. Fixed.
    • Address fields were not saved properly. Fixed.
  5. On 5/21/2022 at 6:26 AM, Matt said:

    We removed it because it's a really dangerous feature that really doesn't belong in a modern community platform. If you want a light weight SQL tool (which is way more comprehensive and feature-rich than our simple tool) then definitely check out Adminer. It's a single PHP file.

    I use this when working with self hosted clients. It takes seconds to upload and log into. Just remember to remove it when you're done.

    No need, just upload the single 450kb Adminer file and log in using the conf_global details. It's what I do. 🙂 

    As a developer, this is extremely upsetting, actually. And of course, as others mentioned in this thread, with CIC this is completely impossible. Does IPS intend to provide developers with another way to access the database for clients that are hosted in the cloud? Or are we expected to submit support tickets every time we need to do our own troubleshooting for 3rd party apps/plugins?

  6. On 5/6/2022 at 3:43 AM, Daniel F said:

    There was a change in the buildFromContent function parameters which we announced a while ago.
    Weren't you getting a  Declaration of ... must be compatible with .. error?

     

    public static function buildFromContent( $subject, $htmlContent='', $plaintextContent=NULL, $type = 'transactional', $useWrapper=TRUE, $emailKey=NULL, $trackingEnabled=TRUE )
    
    
    vs
    
    
    public static function buildFromContent( $subject, $htmlContent='', $plaintextContent=NULL, $type = NULL, $useWrapper=\IPS\Email::WRAPPER_USE, $emailKey=NULL, $trackingEnabled=TRUE )

    That's definitely fine... I did double-check all my method signatures in my hooks. Everything looks fine on my end....

    On 5/7/2022 at 10:06 PM, LiquidFractal said:

    Hey Daniel...actually, no.  In fact, I hadn't had time to explore Custom Email Wrappers until just now (because of this conflict).  But I just now finished creating a sample template (the same as @HeadStand's in her PDF), and it worked just fine.  So, no errors at all...just the conflict.  And just FYI, I'm on IPB 4.6.12.1.

    I'll reach out to @rebraf and ask for a copy of his app so that I can try to troubleshoot. Most likely it's not an issue with either app, but we may be sort of bumping into each other.

  7. On 5/3/2022 at 2:00 AM, LiquidFractal said:

    So I previously asked about 4.6.x compatibility; this is a more important issue for me now because I have to disable this plugin as currently it directly conflicts with @rebraf's Email Drip Campaigns and breaks its ability to use the standard email wrapper.

    Any information about an update would be appreciated!

    This plugin is compatible as is with 4.6. I just double-checked everything.... no changes required whatsoever for compatibility. It's just not marked that way in the marketplace, which I'll fix. 

    I don't have the Email Drip Campaigns app, and I'm not sure why it would break that piece? Without seeing the code I can't even make a guess. What errors do you get?

  8. On 4/24/2022 at 5:19 AM, Olivier Frascone said:

    Hi,
    i bought it but can achieve what i want, i would like to use it as a "Newsletter", not sending automatic data fetch from community but custom text.
    I created a content based manual content as i thought it was this option to use to let me integrate simple text : 

    04.24.2022-10.57.19

    But after creating this i only have a content with title and key, nothing more so how dawn can i add my content ?

    Thanks.

    Olivier

    Full documentation is provided on the "Additional Information" tab of the resource (https://invisioncommunity.com/files/file/8408-newsletters/. There is a full PDF that describes everything here..... Basically you set up the key and then you need to create individual issues before you send them. 

    A newsletter is the settings that are used for each issue. If you're using manual content, the only thing you want to reconfigure is the content of the newsletter, you don't want to be required to create another newsletter each time.

  9. A new version has been pushed to the Marketplace and is pending approval. It contains a workaround for unsubscribe links not working correctly with Sparkpost and Sendgrid.

  10. 52 minutes ago, haqzore said:

    @HeadStand- can you give a highlight of how this differs from the stock Activity feed? 

    Mainly because it has the ability to reply and react to content directly from the Stream. The stock Activity Feed forces users to navigate away from the feed if they want to interact with the content.

  11. 1 hour ago, HeadStand said:

    Reviving this thread because I figured out the actual problem and it's a fun one. I can't even figure out how to work around it. 😞 

    Unsubscribe works just fine for any outgoing email provider that doesn't use a bulk feature. For example, SMTP and PHP basically just send out each email one at a time. However, providers like SendGrid use an API call that allows you to send the content and replacement variables.

    This causes a problem here:

    <a href="http://localhost/toke/index.php?app=core&amp;module=system&amp;controller=redirect&amp;url=http://localhost/toke/index.php?/unsubscribe/%26email=*|member_email|*%26key=*|unsubscribe_key|*&amp;key=bd193a982da6f0499469b704762626d6720084d9d052e03039eb9ff7424db222&amp;email=1&amp;type=bulk_mail" style="color: #4a8aca; text-decoration: none; display: inline-block">Unsubscribe here</a>.

    The URL that is used for tracking includes parameter values of *|member_email|* and *|unsubscribe_key|*. Now... while these values do get properly replaced when the email goes out, the issue is with the key parameter that is passed to the redirect controller.

    The key is generated by a hash of the URL... which has *|member_email|* and *|unsubscribe_key|* instead of the actual email and unsubscribe key. So when the end user clicks the unsubscribe link, the URL no longer matches the hash.

    The only solution I can think of is to replace the entire tracked link with a replacement variable. So something like

    <a href="*|unsubscribe_url|*" style="color: #4a8aca; text-decoration: none; display: inline-block">Unsubscribe here</a>.

    I don't think this is fixable by plugin, which is going to drive me bananas.

    I did fix it by plugin, but yuck.

  12. Reviving this thread because I figured out the actual problem and it's a fun one. I can't even figure out how to work around it. 😞 

    Unsubscribe works just fine for any outgoing email provider that doesn't use a bulk feature. For example, SMTP and PHP basically just send out each email one at a time. However, providers like SendGrid use an API call that allows you to send the content and replacement variables.

    This causes a problem here:

    <a href="http://localhost/toke/index.php?app=core&amp;module=system&amp;controller=redirect&amp;url=http://localhost/toke/index.php?/unsubscribe/%26email=*|member_email|*%26key=*|unsubscribe_key|*&amp;key=bd193a982da6f0499469b704762626d6720084d9d052e03039eb9ff7424db222&amp;email=1&amp;type=bulk_mail" style="color: #4a8aca; text-decoration: none; display: inline-block">Unsubscribe here</a>.

    The URL that is used for tracking includes parameter values of *|member_email|* and *|unsubscribe_key|*. Now... while these values do get properly replaced when the email goes out, the issue is with the key parameter that is passed to the redirect controller.

    The key is generated by a hash of the URL... which has *|member_email|* and *|unsubscribe_key|* instead of the actual email and unsubscribe key. So when the end user clicks the unsubscribe link, the URL no longer matches the hash.

    The only solution I can think of is to replace the entire tracked link with a replacement variable. So something like

    <a href="*|unsubscribe_url|*" style="color: #4a8aca; text-decoration: none; display: inline-block">Unsubscribe here</a>.

    I don't think this is fixable by plugin, which is going to drive me bananas.

  13. On 2/24/2022 at 6:36 AM, Edjazoli said:

     

    Hi, so I was testing few things and I love the automatic language translation but im disappointed that the main faq collection description is not translatable ?? It will make send that users will see the "faq Title" in the own language as well???

    Any chance for an upgrade in next version?please...

    Screenshot 2022-02-23 at 21.33.06.png

    A new version has been pushed to the Marketplace and is pending approval. All Collection properties (except the key) are now translatable.

  14. On 3/18/2022 at 3:50 PM, CheersnGears said:

    Hi, I'm getting this error repeatedly in my error log and I think it's from this app.

    and similarly

    The only reason I think it's this app is because I see the hook feedStoreContent which I believe is part of this.

    A new version has been pushed to the Marketplace and is pending approval. It contains a fix for this issue.

  15. On 3/14/2022 at 3:45 AM, Claudia999 said:

    Hi @HeadStand

    I've a newsletter with some "things" of latest 14 days - forums threads, blog entries, Pages database entries, membermap entries...

    Sometimes there are no new blog entries or Pages database entries created in the latest 14 days.

    How can I make that the part of blog posts or Pages database entries is not shown then? All other parts should be sent anyway.

     

    That's supposed to be automatic. If there is no data to display, it shouldn't generate that section. Are you experiencing issues with that?

    On 3/16/2022 at 2:12 AM, Daniel F said:

    Does this app allow guests to opt-in for newsletters?Sorry if this was answered already, but haven't seen it in the description.

    Not at the moment.

  16. 3 minutes ago, Unlucky said:

    Hi,

    I just tried doing a test unsubscribe using the unsubcribe link in the bottom of the email but the user was not unsubscribed for some reason.

    Our API has all the checkboxes ticked to allow full access.

    Is there something else that needs to be configured for this to work?

    Could be related to this: 

    But I'm not 100% certain. 

    Can you PM me with the link that is in the email itself? I just need to look at the structure to confirm. Thanks.

     

  17. 5 hours ago, Muddy Boots said:

    Just a fact of life, you have a client/customer, no matter what minimal amount they paid or how long ago, they mostly expect you to drop everything 24/7 to sort their issue out as they are blinkered and think they are the only customer/client in the world and you dont have a life or anything better to do..... I have had quite a few of them over the years, thankfully I got rid of most of them 😆

    Hope you recovered from covid and haven't any lasting symptoms, stay safe and love the newsletters app ! 

    I don't mean to come off as horrible... 😆

    I generally try to be better about support, but I've just been drowning lately. Doing the best I can. 

  18. 20 hours ago, livegames.co.il said:

    image.png.5c2b4b24ae1175fe38fae59b06937af9.png

    Based on the exception above, it seems like you had data already in that column that was longer than whatever IPS decides to set it to. The field generation itself is controlled entirely by IPS. My code does not actually create or modify the database columns.

    20 hours ago, livegames.co.il said:

    Why is a massive delay in the support?

    I love how I have to get into my personal life on these topics..... I had covid in January, followed by my kids. Fell massively behind with work. My private clients take precedence over marketplace support.

    In general, if you have something urgent, feel free to PM me. I usually respond to PMs much quicker than these topics.

  19. On 1/6/2022 at 3:49 PM, livegames.co.il said:

    GREAT APP! @HeadStand

    1. It seemed that there is any kind of field, except time field?
    2. Can i set minimum decimal number value field? Like "1.4" value and limit to x.x format?
    3. when i am trying to limit the length of the text i am getting the following error 

    image.png

    All of these are handled by the core IPS functionality, it's not specific to my app.

    1. IPS does not offer a time field

    2. Again, the options available for each field type are handled by the core IPS functionality. 

    3. What did you set the length to?

  20. On 2/16/2022 at 4:31 PM, The Old Man said:


    Hello, I know I've asked before and don't want to be a pain...

    Pretty please would update this to mark as compatible with 4.6, it still works fine itself, but it can't be installed via the Marketplace. Also you can't click the Marketplace link for it as it generates an error.

    1E5758A5-822F-4B57-9488-173397090D16.thumb.jpeg.f43fdb00b1936a7cb6e382395beabe36.jpeg  

    70BF6962-58A2-401F-BB6A-88EF53B993E0.thumb.jpeg.aee8c1d1aa6055e4d426c05dd34e0a47.jpeg

    I switched back to SMTP configuration after last summer but the API and your app is still the best and I want to use it!

    Thanks again.

    Done, but it's pending approval now.

×
×
  • Create New...