Jump to content

IPS Rules Application


Kevin Carwile

Recommended Posts

@Kevin Carwile I'm seeing re-engagement emails being sent out to people who logged in as recently as the day before. I posted on your site ten days ago but haven't gotten a response.

https://ipsguru.net/forums/topic/858-member-re-engagement-emails-going-to-active-members

Any idea why the emails aren't being pushed back another two months when a user has been active on the site? Does it require an actual sign-in? Does the user have to POST something?

Edited by iacas
Link to comment
Share on other sites

14 minutes ago, Kevin Carwile said:

You need to make sure that the action being scheduled for the follow up email has a "scheduling keyphrase" on it. If not, then the action will not be re-scheduled, it will have multiple occurances of the scheduled action.

It does, as the post on your forum shows.

Screen%20Shot%202018-07-15%20at%208.44.1

You advised to use the member ID as the unique key phrase.

Link to comment
Share on other sites

Ok, then when you say they "logged in" as recently as yesterday... do you mean they visited the site, or they actually logged in using username and password? Because the "User has logged in" event which triggers the email to be rescheduled only occurs when they actually log in via the login form. That could be part of the problem if you have a very long session timeout on your server.

You can also turn the debugging option on for the rule and make sure that it is operating without error and actually rescheduling the follow up action for users when they do log in.

Link to comment
Share on other sites

7 hours ago, Kevin Carwile said:

Ok, then when you say they "logged in" as recently as yesterday... do you mean they visited the site, or they actually logged in using username and password? Because the "User has logged in" event which triggers the email to be rescheduled only occurs when they actually log in via the login form. That could be part of the problem if you have a very long session timeout on your server.

Well that's probably it.

Perhaps I'll look into changing it to when a user posts or something. Or is there a better way to do it so that current, active, logged in members don't get puzzling emails about how we miss them one day after they make 15 posts?

Link to comment
Share on other sites

If your session timeout is 30 days, and you want to ensure at least 30 days since the member has last logged in, then you set the scheduled follow up action for 60 days in the future. This ensures that the minimum amount of time since a user has last logged in is at least 30 days and at most 60.

If you want to use posting as a trigger, then you can do that also. That's the beauty of rules. Pick the best solution for you.

Link to comment
Share on other sites

Hi,

I have installed rules lite app and imported the iawards rules that come in his expansion pack

The rules task is running every minute however nobody who has more than the 50 piecies of content are getting an award

My account has more than 50 topics and when I created a new one yesterday I didn't get an award.

What could be wrong?

Thanks

Link to comment
Share on other sites

If there is a rule in particular that you are wanting to troubleshoot, edit the rule and turn the debug option on for it. Then you can perform the action again which you expect the rule to apply to and check the debug log to see if it contains an error or if it did not meet its conditions or if it even ran at all.

That would be what I would start with.

Link to comment
Share on other sites

Hi there,

I'm trying to do the following:

 

When: Application submission approved

If: empty

Action: Notify applicant with a "Welcome Message," and Award applicant a welcome award.

 

Setting it up the first time, it gave me the award and welcome message...I know why now, but I don't know how I can make it so the applicant gets these messages/awards.

 

Any ideas?

 

Thanks!

 

Ryan

Link to comment
Share on other sites

@Fighting 13th You may have a wrong setting selecting in your rule configuration. It's hard to say. But maybe you selected the wrong option for the user to grant the award to. It should be the application author and not the currently logged in user.

@christopher-w Are you using the 'set tags explicitly' option on the rule action or are you using 'add tags'?

Link to comment
Share on other sites

5 hours ago, Kevin Carwile said:

@Fighting 13th You may have a wrong setting selecting in your rule configuration. It's hard to say. But maybe you selected the wrong option for the user to grant the award to. It should be the application author and not the currently logged in user.

 

I don't see any option like "application author." This is all I see:

rulesapp.png.db1ab97b593fa803e57d8fe8edef0cda.png

Edited by Fighting 13th
Link to comment
Share on other sites

On 8/8/2018 at 8:57 AM, christopher-w said:

@Kevin Carwile

I'm running in the IPS cloud. Can I patch there?

Nope. Sorry. It will require a new version build to be released (unknown timeframe).

22 hours ago, Fighting 13th said:

I don't see any option like "application author." This is all I see:

rulesapp.png.db1ab97b593fa803e57d8fe8edef0cda.png

Well then I would question the event which you are creating the rule under. The event is going to determine what data is available. If it is the content approved event provided by rules, then the content item should be an event argument and the content author can be derived from that. If it is another event provided by the application plugin, then without the actual application as one of the event arguments, there is no way to know who the author of the application is if the rule doesn't even have access the application which has been approved.

Link to comment
Share on other sites

On 8/9/2018 at 8:42 PM, Kevin Carwile said:

Nope. Sorry. It will require a new version build to be released (unknown timeframe).

A quick FYI. 1.4.4 does not fix the prefix problem. I've tried various timings, immediately, after page load, 1 minute after etc. And in each case prefix is removed when a tag is added using a rule.

 

image.thumb.png.a41a5e75d7648d40b415324f58efbac9.png

Edited by christopher-w
Link to comment
Share on other sites

On 8/9/2018 at 3:42 PM, Kevin Carwile said:

 

Well then I would question the event which you are creating the rule under. The event is going to determine what data is available. If it is the content approved event provided by rules, then the content item should be an event argument and the content author can be derived from that. If it is another event provided by the application plugin, then without the actual application as one of the event arguments, there is no way to know who the author of the application is if the rule doesn't even have access the application which has been approved.

I got it working through a sort of work-around ? (Using the topic being accepted/not accepted as the event trigger).

 

I have another rule I'm working on....would it be possible with this app to notify members the day of/day before a Calendar Event about the event itself? I was looking at conditions for an "Event was created" trigger and the best thing I saw was that you could do a "compare dates" condition and compare the current time to some aspect about the event--whether it's creation date/update date/last post date.

 

There's nothing I can find in any of the triggers or conditions about the event taking place/finishing itself....am I missing something or is this correct?

Link to comment
Share on other sites

On 8/18/2018 at 12:20 PM, Fighting 13th said:

I have another rule I'm working on....would it be possible with this app to notify members the day of/day before a Calendar Event about the event itself? I was looking at conditions for an "Event was created" trigger and the best thing I saw was that you could do a "compare dates" condition and compare the current time to some aspect about the event--whether it's creation date/update date/last post date.

You could dig into the IPS\calendar\Event object class to see what kind of methods you could use to retrieve a usable date within your rules.

I found this one with a quick look over:

	/**
	 * Find the next occurrence of an event starting from a specified start point
	 *
	 * @param	\IPS\calendar\Date		$date		Date to start from
	 * @param	string					$type		Type of date to check against (startDate or endDate)
	 * @return	\IPS\calendar\Date|NULL
	 */
	public function nextOccurrence( $date, $type='startDate' )

 

Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.

  • Similar Content

    • By Kirill Gromov
      Support topic for Ideas app:
       
    • By Jai Haze
      It used to be a plugin I loved, but it takes up so much space vs being able to collapse it manually. Please add this
    • By Adriano Faria
      THIS IS NOT IPS 4.6 COMPATIBLE!!!
      Chat Application allows you to create unlimited chatrooms for your members or staff to communicate in, the chatrooms use the IPS editor allowing your members to create powerful messages with the full editor and toolbar features added to their message's, Members can report and react to the messages, There is no restriction on the amount of online users but if you are going to have them online in the hundreds then I would recommend having a good host. It also allows you or your members to live stream their videos from some of their favourites streaming channels
      This applicaion is also compatable with IPS clubs allowing club owners to create their own chatrooms
      Main Chatroom Features
      Create unlimited chatrooms Choose what groups can view the chatrooms Choose what groups can chat in the chatrooms Choose what groups can whisper ( read below for the whisper feature ) Choose what groups can download attachments Set the amount of messages to be show in each chatroom Chatrooms uses the IPS editor for the messages Full ckEditor toolbar with all your add-ons will work including the new giphy image add-on Full ability to upload attachments directly to the messages from your PC or mobile phone Supports all of IPS' embedding features of videos / images and your own website link embeds Live updates of new messages Choose to play a sound when a new message gets posted Live updates of the online user list Choose to play a sound when the online user list gets updated Whisper ( Allow members to send private messages to multiple users ) Choose to show the new messages from either the top or bottom of the message list Members can toggle the sound on or off for each chatroom Members can toggle to hide/show the online user list Allow moderators to edit the chatrooms on ther front end Directly embed videos by uploading the video file directly to the editor Moderator Permissions Can edit messages Can delete messages Can use the ban list Each chatroom has their own ban list what moderators with permissions can edit to ban certain members from the chatroom Choose from 2 different style chatrooms with a standard or a more compact view of the message list Choose to display only the message senders avatar Choose to display only the message senders name Choose to display both Add a widget to any page showing a list of chatrooms and the amount of members online in each one Create announcements and post them in selected chatrooms Members can react to messages using the IPS reaction system Members can report messages using the IPS report system You can choose to add a little notification icon with the amount of total users online in all chatrooms in the chats nav bar tab Allow members to easily mention other members by clicking their name on the message list or online user list Global Chatroom
      This will add a small pop up chat box to your site in the bottom right hand side Admins will set the default room to use as the global one Members can change their default room and choose from a mixture of chatrooms to use as their global room Normal Chatrooms ( Members can select to use any ACP created chatroom they have permission to view ) Member Rooms ( Members can select to use their own or another members chatroom ) Club Chatrooms ( Members can select to use one of their clubs chatrooms ) Club Chatrooms
      Allow club owners to create their own chatrooms for their clubs Club owners have full control of the ban lists for their chatrooms Only club members can chat in the club chatrooms Member Chatrooms
      Members can create their own chatrooms Member chatrooms will appear in their profiles in the tabs section Member chatroom owners have full control of the ban list for their chatroom You can choose if and what user groups can delete messages from their chatrooms via the ACP Members can choose to make their chatrooms private with the ability to allow certain members access to view & chat in them Live Streams ( NEW )
      Admin created chatrooms / club chatrooms / member chatrooms can embed a live stream into their chatroom Add a live stream from a choice of 5 popular streaming sites ( More to come ) Twitch Mixer Smashcast Youtube Streaming Facebook Live The video stream division can be dragged and moved around the users screen by dragging the header of the stream around the screen Members can change the size of the video by dragging any side or corner of the stream and expanding the size ( This will inherit the aspect ratio of the video stream ) Widgets
      Show chatrooms in widgets allowing you to place them all over your site allowing members to chat on other pages These chatrooms can be toggled to be hidden or shown ( Of course it is shown by default ) Shows a list of chatrooms and the amount of users online in each of them Bots
      Create unlimited bots to post messages when something happens on your site Select a member to send the messages ( You could create a bot member via the ACP and use that ) Each bot can be set to post in different chatrooms Applications supported for bot posting Calendar Create a message when a new event gets created Create a message when someone comments on a event Create a message when someone reviews a event Downloads Create a message when someone uploads a file Create a message when someone comments on a file Create a message when someone reviews a file Forums Create a message when someone posts a topic Create a message when someone replies to a topic Gallery Create a message when someone uploads a image Create a message when someone comments on a image Create a message when someone reviews a image Lottery Create a message when a new game is created Create a message when a game has been drawn Create a message when a member claims a winning ticket Media Uploader Create a message when a member uploads a image Create a message when a member uploads a video file Create a message when a member uploads a audio file Create a message when a member uploads a document Members Create a message when someone registers on the site Members Shop Create a message when a user purchases a item Nexus Create a message when someone reviews a product Random Messages / Quotes Create messages / quotes from a stack setting allowing you add as many as you want and the bot will post random ones each cycle Sports Betting App Create a message when a member places a bet Create a message when a member claims a winning ticket Standard Message Create a message via the editor and the bot will post the messages each cycle Standard & Random Message Cycle Settings Run cycle every 5 minutes Run cycle every 15 minutes Run cycle every 30 minutes Run cycle every 60 mintutes Run cycle every 3 hours Run cycle every 6 hours Run cycle every 12 hours Run cycle every day Each application you pick you can select from a list of their categories / forums etc for when the bot should send a message, this can also be set to all categories / forums etc If you don't have any of the apps installed above the settings will not show for you to enable them If you delete a chatroom from the ACP any bots linked to that chatroom will also be deleted, this is to stop any errors that could be thrown if the chatroom don't longer exist and the bot does More applications will be coming to the bot section in the near future including some 3rd party applications
    • By hpcrazy
      Hey guys,
      I just installed the " Download " application. I just want to make the " Admin " able to upload and sell files. Been searching for a while now - any help where I can adjust those settings ?
      Thanks for your help in forward.
    • By MadMaxMangos
      I would like to remove an application, please let me know when this has been made into a support ticket as i do not want to post this to the forums. Thanks.
×
×
  • Create New...