1. Discussion

    1. Issue Tracker

      Report bugs or case specific problems that need attention.

      94
      items
    2. Knowlegebase

      Ask questions and get general help with using the application.

      168
      items
    3. General Discussion

      Things the app doesn't do but you think it should, or other feedback.

      98
      items
  1. Documentation

Activity Feed

  1. Earlier
  2. JoelR

    ECA General Questions

    Thanks It's interesting that you bring that up. I believe that's actually how Trophies & Medals by Fosters works, which is in a background process that runs every 15 minutes. It's also why I don't like his app at all. If you're only rewarding users once a week, then you lose on the immediate gratification. You're rewarding the user when he's long past the point of activity. It's the same as giving a doggy treat to your dog ... a week later.
  3. Kevin Carwile

    ECA General Questions

    Rule sets wont affect your rules. Its just a grouping mechanism. For activity awards, you could do something like create a custom action that processes a user, and then have it run in bulk for all users on a recurring basis (like weekly). That could be an acceptable compromise for performance.
  4. JoelR

    ECA General Questions

    Never mind, I'm starting to remember why I skipped rewards for activity. It's a very computationally expensive counter since it evaluates it on EVERY content update.
  5. JoelR

    ECA General Questions

    Never mind. I'm a dumb dumb. The content count is set during conditions.
  6. JoelR

    ECA General Questions

    Hey Kev, I'm revisiting this app to build out a trophy system, and I have some general questions: 1. Rule Set - I have a collection of rules, but they all run independently of each other to reward trophy icons. I just want to make sure it won't be a problem if I group them together as a rule set. 2. Event for user content count? I checked all of the events and didn't see anything. I'd like to give an award when user content count = X.
  7. Kevin Carwile

    Rule triggering on Report Status Change

    Create a php action on your rule and return the 'changed' array from it. Then turn on debugging for your rule. You can then see what that array contains as far as key/value pairs in your debug logs. That will help you design an appropriate condition.
  8. Hello! I found the topic here: And while the rule works marvelously for any type of Status change on a report, I cannot get this to work with only certain types of report status changes (for instance, Under Review). I have tried using 'review' as the array key, both capitalized and not. This doesn't work for some reason, it's as if the array doesn't recognize it. I'd like one for the Completed type too, if possible. Any help appreciated! Thanks!
  9. Kevin Carwile

    Rules not ruling anymore since V1.4.5 install

    Schedule the custom action to run one time (not bulk) and it will allow you to input the member to run it for.
  10. Zorro_X

    Rules not ruling anymore since V1.4.5 install

    interesting : how may I chose by hand a specific member to test/debug the rule ?
  11. Kevin Carwile

    Rules not ruling anymore since V1.4.5 install

    I don't see anything in particular that would be causing a problem with your rule group. I can't see what member groups you have set in your conditions since the member groups from your rule export do not exist on my system, but I would double check that you have your member groups set correctly. Also, this rule group is attached to the custom action which you have created. So that means that it will only run when your custom action is called. I would double check that it is still scheduled as a recurring bulk action and that it has not stalled or been deleted. Finally, if all of that still looks correct, you can turn debugging on for your rule and then inspect the debug logs to see if anything looks off. With debugging turned on for the rule, you can also trigger the rule to run for a member of your choosing by hand and then inspect the log for that and see where it may have gone wrong.
  12. Zorro_X

    Rules not ruling anymore since V1.4.5 install

    ok, here is the rule as attached file. It tries to detect inactive members since more than one year from a group to change its primary group and send a reminder through PM & e-mail. mi-détection-apprentis-inactifs.xml
  13. Kevin Carwile

    Rules not ruling anymore since V1.4.5 install

    Ok, but you didn't mention what the rule is supposed to do and why you think its not working. Sometimes its best to just export the rule and post it here.
  14. Zorro_X

    Rules not ruling anymore since V1.4.5 install

    Hi, thankyou for your reply, here an example : User X has made its last post at november 27, 2017 Schedule on all users Rule triggers on users where their last post is NOT within the last year => user X does not fit in. Edit : It seems the problem may be a bit deeper than expected. In fact, when performing a search with the built-in user search engine looking for users having their last post between dec.11 2016 and dec.11 2017, user X does not appear in the list neither (!!!???) So the rule may be ok, but IPS may have some bug here... really strange situation...
  15. Kevin Carwile

    Rules not ruling anymore since V1.4.5 install

    No clue. A specific example would be helpful...
  16. Hi, Since the installation of latest update (V1.4.5) some rules dont work anymore, like just ignored... Some clues about it ? Best regards, Z
  17. Thanks for answer! Do you help with PHP code?)
  18. There is not really a straightforward easy way to accomplish that goal without writing some custom php code to go in your rules. The event is when a new database record is created, and the action will be a custom one which will need to take the value from the "Order city" field of the custom database and look up all the users who have a matching data field, and then pass those to the email action.
  19. Hello! Here is what I did: 1. Create new Custom Data Fields - Work City (checkbox) 2. Create new Database Fields - Order city (radio) I want to: 1. If new record in database is created 2. Send an Email to everyone who matches the value of Work City = Order city For example: 1. There are 10 members who have Database Fields (Work City) = London 2. Create an new record for which Custom Data Fields (Order city) = London How to send a Email bulk letters to anyone with Custom Data Fields (Order city) = London? Thanks for your app and support!
  20. IndianaJoe

    PHP Code with Custom Tables

    Ahh, yes thank you. That worked.
  21. Kevin Carwile

    PHP Code with Custom Tables

    I dont think your $teamRows are objects. I believe that the query returns an associative array. Try $team1Row['field_27']
  22. IndianaJoe

    PHP Code with Custom Tables

    I'm trying to use a simple lookup based on a value and am not getting anything returned from the query after a record is added. //<?php $team1Row = \IPS\Db::i()->select( 'primary_id_field, field_27', 'cms_custom_database_5', array( 'primary_id_field=?', $content->field_61 ) )->first(); $team2Row = \IPS\Db::i()->select( 'primary_id_field, field_27', 'cms_custom_database_5', array( 'primary_id_field=?', $content->field_63 ) )->first(); $newTitle = $team1Row->field_27." vs. ".$team2Row->field_27." winID: ".$content->field_61." loseID: ".$content->field_63; return $newTitle; Is this the right query structure to use? The final output is " vs. winID: 8 loserID: 23" with the ID's being correct. The custom database has the field_27 also. Thanks
  23. Zorro_X

    Activity reward

    Hi, We're trying to detect active members in community to reward them (under a reputation condition too). So, to detect that kind of users we've imagined to find users having published a certain amount of posts in a period of time AND only in specific forums/sections of the community (the technical ones). But it seems we've reached the limits of Automation Rules... So maybe by making some code/condition "by hand" it could be possible ? Do you have any ideas ? Thankyou and best regards, Z
  24. Another way would be: $post = $content->comments(1,0); The IPS\forums\Topic object model has the following core method on it: /** * Get comments * * @param int|NULL $limit The number to get (NULL to use static::getCommentsPerPage()) * @param int|NULL $offset The number to start at (NULL to examine \IPS\Request::i()->page) * @param string $order The column to order by * @param string $orderDirection "asc" or "desc" * @param \IPS\Member|NULL $member If specified, will only get comments by that member * @param bool|NULL $includeHiddenComments Include hidden comments or not? NULL to base of currently logged in member's permissions * @param \IPS\DateTime|NULL $cutoff If an \IPS\DateTime object is provided, only comments posted AFTER that date will be included * @param mixed $extraWhereClause Additional where clause(s) (see \IPS\Db::build for details) * @param bool|NULL $bypassCache Used in cases where comments may have already been loaded i.e. splitting comments on an item. * @param bool $includeDeleted Include Deleted Content * @param bool|NULL $canViewWarn TRUE to include Warning information, NULL to determine automatically based on moderator permissions. * @return array|NULL|\IPS\Content\Comment If $limit is 1, will return \IPS\Content\Comment or NULL for no results. For any other number, will return an array. */ public function comments( $limit=NULL, $offset=NULL, $order='date', $orderDirection='asc', $member=NULL, $includeHiddenComments=NULL, $cutoff=NULL, $extraWhereClause=NULL, $bypassCache=FALSE, $includeDeleted=FALSE, $canViewWarn=NULL )
  25. Just wondering if anyone knew how we can have it so Membershop points that you earn (such as from posting) will convert to Reputation Points after say every hour?
  1. View Full Stream