Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
September 15, 20159 yr I have a question, How can i send an email or a PM to members of a group rather than specifying members individually?
September 15, 20159 yr Author I have a question, How can i send an email or a PM to members of a group rather than specifying members individually? The email recipient blind carbon copy field for the email action can accept an array of members as the argument. So it would be a matter of setting the data source of the BCC field to PHP Code and then using php code to return an array of members from the group.
September 15, 20159 yr Author Okay, so I have a very simple use case of Automation Rules: I'd like to send notifications, status updates, and emails whenever a member achieves a new rank or reputation for community re-engagement. Will I need to create my own "rank" and "reputation" system within Automation Rules, or is there a way to base my data upon the ACP ranks and reputation that I've defined? I can see how the reputation event is based upon a member receiving a new reputation, but I don't see how I can trigger the condition of meeting the next reputation level. Any advice would be much appreciated. Its because core member ranks are calculated on the fly and there is no single promotion "event" to tie into. Therefore you must create your own. The ways to actually go about that are numerous. But you could add a custom data field to members to track their current rank, and then send emails when that data changes.
September 20, 20159 yr Just tried to download Automation Rules Lite 1.2.2 in order to try it out, and Avast is blocking the download due to the file being infected with the PHP:Agent-UM trojan. Anyone else encountering this?
September 21, 20159 yr Author Just tried to download Automation Rules Lite 1.2.2 in order to try it out, and Avast is blocking the download due to the file being infected with the PHP:Agent-UM trojan. Anyone else encountering this? Its not infected with any virus. It is however encoded as the non-encoded version only comes with the full purchase. Avast is just seeing that the files are encoded.
September 21, 20159 yr Had to disable the trial as it was slowing the server to a crawl. Once disabled the site ran fine. weird Edited September 21, 20159 yr by pmflav
September 21, 20159 yr Author Had to disable the trial as it was slowing the server to a crawl. Once disabled the site ran fine. weird Some have been reporting such performance issues, while others have no problems at all. I've not had the opportunity to examine any site that is experiencing an obvious performance issue to determine the cause. If you'd like to let me look under the hood I might be able to nail it down. Edited September 21, 20159 yr by Kevin Carwile
September 21, 20159 yr How far under the hood do you need? Just wondering if it's the encryption that's bothering it Edited September 21, 20159 yr by pmflav
September 21, 20159 yr Author How far under the hood do you need? Just wondering if it's the encryption that's bothering it FTP + ACP. I think its more likely that there are some processing loops going on for one reason or another.
September 21, 20159 yr About to try this out. I'm wanting to notify certain members that there are 0 post reply threads that have been open for 3+hrs which need attending to. I think I've got my rule setup right, but how are they run? Is there a way to manually run to see if it's working? Or is debug mode and waiting the only way? no-reply-to-topics.xml Edited September 21, 20159 yr by NoGi
September 22, 20159 yr Ok, what am I doing wrong? I've created a rule but it doesn't seem to run at all? Also, what's with the permissions for the app? Should it be on for all as atm I've only enabled for admin.
September 22, 20159 yr Sorry for the spam but you can't edit older posts. I just paid for the full version and installed, had some extra options which helped to setup my rule but it's still failing? The logs show: no-reply-to-topics.xml
September 22, 20159 yr Author @NoGi What is your strategy? If you want to check if a topic has not had any posts after 3 hours and then take action, you will need to schedule that process to happen for each topic after it is created. First, create a custom action in the rules ACP and add an \IPS\forums\Topic as an action argument. Then create a rule that is triggered by topic creation. Make sure to add a condition which checks that the boolean value "new" from the event is TRUE (since the same event is also triggered anytime a topic is updated). In this rule, add the action to schedule your "custom action" for 3 hours in the future. Use the created topic as the argument to your custom action. Finally, create another rule which uses your "custom action" as the event. Since your custom sction will be triggered for a topic 3 hours after it was created (because of that first rule), you add your conditions to check the number of replies on the topic and take appropriate actions here.
September 22, 20159 yr What is your strategy? If you want to check if a topic has not had any posts after 3 hours and then take action, you will need to schedule that process to happen for each topic after it is created. Hi @Kevin Carwile, yes this is pretty much what I am trying to do. I am struggling at the moment with how to do this, sorry to sound like a total newbie. I've created a custom action and scheduled it to run every 3 hours. Then I created the rule but no idea if this has been created correctly? Edited September 22, 20159 yr by NoGi
September 23, 20159 yr Author Ya, you dont want to be manually scheduling the action to happen every 3 hours. What you want is to schedule the action as a follow up when a topic is actually created. And your condition to check if the content is new is not going to work because you are using php code that returns nothing. You should use a truth value condition to check the "new" argument and not be attempting to use it as a content item. I'll put together something for you when I get a chance.
September 23, 20159 yr I'll put together something for you when I get a chance. Oh thank you so much if you can, that would be most helpful. I've managed to apply some of your suggestions though Edited September 23, 20159 yr by NoGi
September 23, 20159 yr Author Oh thank you so much if you can, that would be most helpful. Try this: inactive-topic-rules.xml You'll want to add your actions to the "Take action on inactive topics" rule. Edited September 23, 20159 yr by Kevin Carwile
September 23, 20159 yr Thanks, I don't think the new topic part is working. In debug I am seeing this on topic creation: Topic is new Evaluated FALSE
September 24, 20159 yr Has anyone got a rule working to test for a new topic? I keep getting FALSE as the response to the test.
September 24, 20159 yr Author Has anyone got a rule working to test for a new topic? I keep getting FALSE as the response to the test. This appears to be a bug. Looking into it further...
September 25, 20159 yr Author Has anyone got a rule working to test for a new topic? I keep getting FALSE as the response to the test. This was a bug that was introduced in the last release. A new version (1.2.4) is now available which will fix this problem. You will need to edit your condition that checks the boolean value again, reselect the correct event argument, and save. Edited September 25, 20159 yr by Kevin Carwile
September 25, 20159 yr Ok, making some progress yah!! Boolean returns true now. Just need to sort out why the action failed: Schedule the follow up checkOperation skipped (missing argument) No argument available for: topic 09/25/2015 1:37 PM Edited September 25, 20159 yr by NoGi
September 25, 20159 yr Author Ok, making some progress yah!! Boolean returns true now. Just need to sort out why the action failed: Schedule the follow up checkOperation skipped (missing argument) No argument available for: topic 09/25/2015 1:37 PM Glad to hear it. Moving forward, let's take this to a private message.
September 29, 20159 yr Hi, do you know if the Rules App creates a database table for rules_arguments? If so, I have a corrupt database that needs to be manually fixed. See image below for error.