Kevin Carwile

Guru Uno
  • Content Count

    1,474
  • Joined

  • Last visited

  • Days Won

    236

Kevin Carwile last won the day on March 15

Kevin Carwile had the most liked content!

Community Reputation

294 Excellent

5 Followers

About Kevin Carwile

  • Rank
    Advanced Member
  • Birthday January 10

Recent Profile Visitors

3,978 profile views
  1. Kevin Carwile

    Remove Slashes Feature doesn't work correctly

    Thanks for the report. I will look into this.
  2. It's probably because that field has not yet been populated by the member creation process at the time when the rule is ran (which is immediately after the member object is created.) I'm guessing it is a timing issue. You need your rule to run at the end of the member creation process, but it's actually triggered at the very beginning. To compensate for that, you need to offset your condition evaluation to the end of the process. In order to do that, create a custom action from the Rules ACP which takes a member argument. Then create a rule for that custom action which checks the profile field value and has the appropriate actions if the condition is true. Then what you do is trigger your custom action from the "Member created" event, but you set the action to run at the end of the page load, that way, your custom action rule can evaluate against the member once the member data has been fully populated by the creation process.
  3. I've confirmed that this is indeed a bug within the process of merging members and then deleting one of them. Upload the following patch file to fix: ./applications/collab/extensions/core/MemberSync/ipsMemberSync.php ipsMemberSync.php
  4. Oh, sorry. Yeah, you are right. That should be the correct thing to compare to. Just try lossening your value to check to TRUE like, that way if the value of the profile field is something like an integer value of 1, the truth comparison will still see it as true.
  5. Looks like your comparing the "Member that was created", which is a Member object to see if its value is Boolean TRUE. Which an object is not a boolean true value. I'm not sure how the value for that checkbox is represented in the system, but I'm guessing that at a minimum, you want to use the "Value is TRUE or equivalent to TRUE" condition to do a soft evaluation of the value. And the value you want to compare is not the "Member that was created". You want to compare against the value of their custom profile field.
  6. Kevin Carwile

    email composition fields not opening in Rules

    I've seen this issue myself. I believe it has something to do with a javascript race condition that occurs on production sites based on the way that the javascript files are combined together by the IPS production packaging. I've tried to work around it a couple of times but still do not seem to have fully succeeded.
  7. Kevin Carwile

    How to add Collab as Model

    In the collab category settings, you must turn on the setting to "Use Collab Models". Then, when a new collab is created, one of the models you have flagged in the category can be selected to be used as the beginning template, if you have the settings set to "Force Model" and you have only one model flagged, it will be automatically used. When a new collab is created, content will not be copied over, only the content containers (forums, databases, galleries, etc).
  8. Kevin Carwile

    No Rules being triggered

    Change the action config so that it happens at the end of the page load. It may be that the topic is being locked and then unlocked afterwards by the continuation of the topic creation process.
  9. Kevin Carwile

    email composition fields not opening in Rules

    Maybe switch the source to something else, save it and switch it back.
  10. Kevin Carwile

    Profile updated and points

    It may not be possible to do.
  11. Kevin Carwile

    Profile updated and points

    Its not particularly easy to pull that off. You basically have to check the changed fields array that is part of the profile updated event to see if any of the fields you just mentioned are in it. The "changed" array indicates what properties have changed in the update. If you actually need the before and after values, then it gets even more involved.
  12. Kevin Carwile

    How to add custom class to custom data fields

    If you make your custom class into a content type and register it with IPS using the IPS Content Router extension, then it will become available to attach custom data to through rules. Otherwise, there is no easy way to add your own in.
  13. Kevin Carwile

    Commerce Rules: Subscriptions

    It appears this new subscription feature is not compatible with the product line items hook. Right now, new features are not being added to the commerce rules extension, so you will need to seek a custom solution or figure out a way to have the subscription include a product line item as well.
  14. Kevin Carwile

    Number of Records in Database Grid

    Its in the following template: collab/front/components/nodeGridItem The latest content is retrieved and displayed around lines 54-71. As I said, its pretty much designed to just use the built in IPS functionality to show the latest post. You can work out your own custom solution to display anything else there if you like by modifying that template.
  15. Kevin Carwile

    Rules 1.4.6 Disabled in Marketplace

    Purchase here for now: https://www.millermedia.io/product/automation-rules/