Kevin Carwile

Guru Uno
  • Content Count

    1,477
  • Joined

  • Last visited

  • Days Won

    237

Kevin Carwile last won the day on June 26

Kevin Carwile had the most liked content!

Community Reputation

295 Excellent

5 Followers

About Kevin Carwile

  • Rank
    Advanced Member
  • Birthday January 10

Recent Profile Visitors

4,253 profile views
  1. Kevin Carwile

    Selling Points

    Only if you create a rule that issues points to someone when a product is purchased.
  2. Kevin Carwile

    How Do I Find The Correct Object Reference?

    Well, it all depends on what variables are available inside the template you are putting that code in. $object is likely not even a variable within scope. Accessing rules data as an object property is only going to work if you have a reference to the object that the data is assigned to. How and where to get that reference depends entirely on the context of the available template variables.
  3. Kevin Carwile

    Remove Slashes Feature doesn't work correctly

    Thanks for the report. I will look into this.
  4. 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.
  5. 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
  6. 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.
  7. 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.
  8. 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.
  9. 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).
  10. 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.
  11. Kevin Carwile

    email composition fields not opening in Rules

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

    Profile updated and points

    It may not be possible to do.
  13. 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.
  14. 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.