Kevin Carwile

Guru Uno
  • Content Count

    1,477
  • Joined

  • Last visited

  • Days Won

    237

Everything posted by Kevin Carwile

  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.
  15. 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.
  16. 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.
  17. Kevin Carwile

    Rules 1.4.6 Disabled in Marketplace

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

    Number of Records in Database Grid

    Thats not a configurable value. Its hardcoded in the template somewhere.
  19. Kevin Carwile

    Create new post using existing post as template

    You cant do that with stock rules. You would need to use custom php code for the argument to the conent field of your "create topic comment" action. In that custom php code, you need to load the "template" topic object, retrieve its content, and return it as your argument value for the content of your posted comment.
  20. Kevin Carwile

    Boxed layout

    There is a setting in your collab category which you can enable the grid view. For databases in IPS, you can customize the theme views that are used for your databases. Thats how to customize the look. Thanks for the bug report.
  21. Kevin Carwile

    Rules spreading PM to 85 users

    No, IPS did not insert some code to make rules unstable. The mystery of this one is that rules does not have any code in it which adds users to existing conversations. In other words, it could not be the cause of this. Is it possible that someone on your site or in the conversation added the additional users?
  22. Kevin Carwile

    Rules spreading PM to 85 users

    Please provide me with ACP access to your site so I can have a look at your configuration.
  23. Kevin Carwile

    Rules spreading PM to 85 users

    Ok, but I dont see any way that this is related to rules. Unless you have some custom code at work. Rules doesnt even have an action to add users to a conversation. Only an action to create a new conversation.
  24. Kevin Carwile

    Reset point for specific currency

    Not sure how to answer that.