kar3n2 Posted December 3, 2015 Posted December 3, 2015 Hi I set a rule to send out an email when a member is inactive for a set time. The email was delivered and it was very nice but someone pointed out that I should by law always have a way for people to unsubscribe from any emails. Is anything can be done about this please?
Kevin Carwile Posted December 3, 2015 Author Posted December 3, 2015 7 hours ago, kar3n2 said: Hi I set a rule to send out an email when a member is inactive for a set time. The email was delivered and it was very nice but someone pointed out that I should by law always have a way for people to unsubscribe from any emails. Is anything can be done about this please? You could check the member's email preference from their settings before sending them the email.... Create a condition in the rule that you send the email out. Choose "Custom PHP Code" as the condition type. Enter the following: return $member->allow_admin_emails; Of course, the $member variable may be different depending on the event you are using to send your email. kar3n2 1
kar3n2 Posted December 3, 2015 Posted December 3, 2015 (edited) 32 minutes ago, Kevin Carwile said: You could check the member's email preference from their settings before sending them the email.... Create a condition in the rule that you send the email out. Choose "Custom PHP Code" as the condition type. Enter the following: return $member->allow_admin_emails; Of course, the $member variable may be different depending on the event you are using to send your email. I did that and there is a little bit of code already there.... is this ok? and just to add one more thing ( assuming the above is correct) it wont let me edit the email message ( it is just coloured in blue) and I cannot see the original message or add any html etc Edited December 3, 2015 by kar3n2 added a bit more
Kevin Carwile Posted December 4, 2015 Author Posted December 4, 2015 5 hours ago, kar3n2 said: I did that and there is a little bit of code already there.... is this ok? Only the code I gave.
golgoth Posted December 9, 2015 Posted December 9, 2015 Is this mod suitable to create a sort of achievements/awards system?
Kevin Carwile Posted December 9, 2015 Author Posted December 9, 2015 19 minutes ago, golgoth said: Is this mod suitable to create a sort of achievements/awards system? An ad-hoc one, I suppose. But I believe that @-RAW- has a more official awards app in the works that has rules built into it. You may want to check with him on the status of that. golgoth 1
raincat Posted December 10, 2015 Posted December 10, 2015 Hi there. I've already purchased Rules, the full version, and I'm trying to do something that seems like it should be simple, but it's just not working. I could go into what I tried that didn't work, but I think it would be faster just to describe what I'd like to do and have you tell me how, hopefully? After users register for my board and validate their email address, they're in one group that requires content approval. After one item of content is approved, they are moved to another Approved group that gets more privileges. That's all working just fine, but I did that via the Groups settings. I'd just like to send another email telling the user they are now in the Approved group after that happens. And, it's not a problem with sending email in general, other emails are going out, but not that one. I tried with a few different email addresses, registration emails coming through, but nothing after that. Help?
Kevin Carwile Posted December 10, 2015 Author Posted December 10, 2015 (edited) @raincat I will help you in the new support forum linked from the product page in the marketplace. Please post your request there. http://ipsguru.net/rules/support Thank you. Edited December 10, 2015 by Kevin Carwile kar3n2 1
kar3n2 Posted December 10, 2015 Posted December 10, 2015 (edited) 29 minutes ago, Kevin Carwile said: @raincat I will help you in the new support forum linked from the product page in the marketplace. Please post your request there. http://ipsguru.net/rules/support Thank you. I get it.... you are creating a rules cookbook http://ipsguru.net/documentation/rules/cookbook/ based on what people ask you. That's really cool @Kevin Carwile the support forum on here is getting hard to follow... ( for me that is) ... Edited December 10, 2015 by kar3n2
EmpireKicking Posted January 4, 2016 Posted January 4, 2016 I'm getting allot of errors with rules after the update to 41.4.5
iacas Posted January 4, 2016 Posted January 4, 2016 3 hours ago, EmpireKickAss said: I'm getting allot of errors with rules after the update to 41.4.5 4.1.6 appears to be the current release. ------------------------------------------------------------ I wanted to make a rule that basically did this: When: a post is deleted. What: recount that member's posts. I can seemingly do the first, but not the latter. Any ideas? P.S. What's the process to upgrade from Lite to Pro? How easy is it? Do you have to reset anything? Do you lose any of your existing Rules?
iacas Posted January 4, 2016 Posted January 4, 2016 Also, yes, 4.1.6 breaks when Rules (Lite on my system, for now) is enabled.
Kevin Carwile Posted January 4, 2016 Author Posted January 4, 2016 Please direct all support issues and requests to: http://ipsguru.net/rules/support
iacas Posted January 4, 2016 Posted January 4, 2016 Just now, Kevin Carwile said: Please direct all support issues and requests to: http://ipsguru.net/rules/support I filed a report there (as a guest) about it not working with 4.1.6. I'll go sign up now so posts aren't moderated. Kevin Carwile 1
Kjell Iver Johansen Posted January 17, 2016 Posted January 17, 2016 The Rules aplication stopped working and moved 17000 members from one membergroup to another. I notice that there is a new version now on the 10 of january and will try with that one. The version before was called 1.3.9, and the new version from 10 january is also 1.3.9.
Kevin Carwile Posted January 17, 2016 Author Posted January 17, 2016 9 hours ago, Kjell Iver Johansen said: The Rules aplication stopped working and moved 17000 members from one membergroup to another. I notice that there is a new version now on the 10 of january and will try with that one. The version before was called 1.3.9, and the new version from 10 january is also 1.3.9. Rules broke on the 4.1.6 core update, yes. The newest version fixes that. However, that would not cause rules to do anything that it was not already configured to do. Which rule moved your members? It may need some tweaks.
Kjell Iver Johansen Posted January 17, 2016 Posted January 17, 2016 37 minutes ago, Kevin Carwile said: Rules broke on the 4.1.6 core update, yes. The newest version fixes that. However, that would not cause rules to do anything that it was not already configured to do. Which rule moved your members? It may need some tweaks. I have rules I downloaded from your site that moves a member from Member to Inactive after a set period of time. Now all those Inactive Members was moved to Active members group. I have another admin that do all the work with Rules on my site - I can get him to explain further if needed.
IPBGallery.com Posted January 23, 2016 Posted January 23, 2016 I have a series of lessons within the databases in IPContent, and I need to restrict access to the records. The user starts to watch the first lesson, but can't watch the second and third until the first. How to make it work with this app?
Kevin Carwile Posted January 23, 2016 Author Posted January 23, 2016 (edited) 2 hours ago, vinegredz said: I have a series of lessons within the databases in IPContent, and I need to restrict access to the records. The user starts to watch the first lesson, but can't watch the second and third until the first. How to make it work with this app? Easiest way I can think of is to create progressive member groups with access to the appropriate lessons and add those secondary groups as appropriate. The question is... what event represents them completing the lesson. One way I can think of is to create a a questionare using the forms app by @Mike John and grant the next lesson group upon submission of a passing result. Edited January 23, 2016 by Kevin Carwile
craigf136 Posted January 30, 2016 Posted January 30, 2016 @Kevin Carwile I just updated to the most recent release and have the following appear. ------------------------------------------------------------------------ Sat, 30 Jan 2016 12:11:33 +0000 (Severity: 2) 82.20.117.153 - http://www.callofdutyzombies.com/topic/181904-tank-isnt-his-first-name-so-what-is/ UnderflowException 0: lang_not_exists__rules_Content_event_content_created_ #0 /home/user/public_html/applications/rules/extensions/rules/Definitions/Content.php(354): IPS\_Lang->get('rules_Content_e...') #1 /home/user/public_html/applications/rules/extensions/rules/Definitions/Content.php(255): IPS\rules\extensions\rules\Definitions\_Content->buildEvent(Array, 'content_created', Array) #2 /home/user/public_html/applications/rules/extensions/rules/Definitions/Content.php(222): IPS\rules\extensions\rules\Definitions\_Content->buildEvents(Array, 'IPS\\core\\Status...', 'Status', 'Content: System', Array) #3 /home/user/public_html/applications/rules/sources/Event/Event.php(124): IPS\rules\extensions\rules\Definitions\_Content->events() #4 /home/user/public_html/applications/rules/sources/Event/Event.php(81): IPS\rules\_Event->__construct('rules', 'Content', 'content_updated') #5 /home/user/public_html/init.php(434) : eval()'d code(176): IPS\rules\_Event::load('rules', 'Content', 'content_updated') #6 /home/user/public_html/system/Content/Comment.php(171): IPS\rules_hook_ipsContent->save() #7 [internal function]: IPS\Content\_Comment::create(Object(IPS\forums\Topic), '\n<blockquote cl...', false, NULL, NULL, NULL, NULL, NULL, NULL) #8 /home/user/public_html/applications/forums/sources/Topic/Post.php(132): call_user_func_array('parent::create', Array) #9 /home/user/public_html/init.php(434) : eval()'d code(21): IPS\forums\Topic\_Post::create(Object(IPS\forums\Topic), '\n<blockquote cl...', false, NULL, NULL, NULL, NULL, NULL, NULL) #10 /home/user/public_html/system/Content/Item.php(3291): IPS\forums\Topic\cms_hook_Post::create(Object(IPS\forums\Topic), '\n<blockquote cl...', false, NULL) #11 /home/user/public_html/system/Content/Item.php(3148): IPS\Content\_Item->processCommentForm(Array) #12 /home/user/public_html/system/Theme/Theme.php(692) : eval()'d code(3155): IPS\Content\_Item->commentForm() #13 [internal function]: IPS\Theme\class_forums_front_topics->topic(Object(IPS\forums\Topic), Array, NULL, Array, NULL, NULL, Array) #14 /home/user/public_html/system/Theme/SandboxedTemplate.php(57): call_user_func_array(Array, Array) #15 /home/user/public_html/applications/forums/modules/front/forums/topic.php(262): IPS\Theme\_SandboxedTemplate->__call('topic', Array) #16 /home/user/public_html/applications/forums/modules/front/forums/topic.php(262): IPS\Theme\SandboxedTemplate->topic(Object(IPS\forums\Topic), Array, NULL, Array, NULL, NULL, Array) #17 /home/user/public_html/system/Dispatcher/Controller.php(94): IPS\forums\modules\front\forums\_topic->manage() #18 /home/user/public_html/system/Content/Controller.php(46): IPS\Dispatcher\_Controller->execute() #19 /home/user/public_html/applications/forums/modules/front/forums/topic.php(40): IPS\Content\_Controller->execute() #20 /home/user/public_html/system/Dispatcher/Dispatcher.php(129): IPS\forums\modules\front\forums\_topic->execute() #21 /home/user/public_html/index.php(13): IPS\_Dispatcher->run() #22 {main} ------------------------------------------------------------------------ If I access rules logs EX0 Something went wrong. Please try again. If I access manage rules and then select main category and expand I get the same. EX0 Something went wrong. Please try again.
craigf136 Posted January 30, 2016 Posted January 30, 2016 @Kevin Carwile I've had to completely uninstall from within the ACP to resolve the issues this has caused since updating.
Kevin Carwile Posted January 30, 2016 Author Posted January 30, 2016 There is a point release made this morning to fix that issue. 1.3.10.1
Jesse Rapczak Posted February 1, 2016 Posted February 1, 2016 Hey, so I have a rule setup so that members get a notification once their topic has been moved, which works great. However I want it to that they DON'T get a notification if it's in a certain forum. I have this setup, but it's not working... I've tried putting * as a wildcard into the item name, as I want all topics, but It's not working. https://gyazo.com/edac423d85e28642649aea96a8d23b4b
craigf136 Posted February 1, 2016 Posted February 1, 2016 Hi Kevin, I'm just wondering if it's possible to include an option for content that is a hot topic? - I don't see the option available in the list.
Recommended Posts