Jump to content

Kevin Carwile

Clients
  • Posts

    1,237
  • Joined

  • Last visited

  • Days Won

    9

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by Kevin Carwile

  1. 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.

  2. @christopher-w That seems like it should work. But the global template is used on all pages, not just forum pages, so that template will not have a reference to any particular forum to grab the custom field value from.

    My suggestion would be to find a template which is used by the forums app and insert the class in a wrapper element from that template. Otherwise, getting the forum reference to access the custom data field is going to be much more difficult.

  3. Create a custom action to use for your bulk move process. It will use a topic as an argument. Now add a rule to that custom action which moves the topic to the forum of your choice.

    Now schedule that rule to run in bulk for all your topics. Dont forget to add a condition to your rule so that you dont move every single topic on your site.

  4. Is this the message you are referring to?

    On 4/5/2018 at 7:46 AM, Inlens said:

    When I edit record and leave album link empty - I get sql error with this:

    
    `field_49`=''

    It should be 

    
    `field_49`= null

    I mean when I submit I dont choose album and dont set checkbox "create". 

    What is the error? I don't see one there.

  5. We've discussed this. You have an issue that I cannot reproduce on my systems and you are unable to provide me with the means to troubleshoot the problem on your particular system.

    I'm sure the fix is simple. But impossible to guess.

  6. On 2/17/2018 at 9:56 PM, gabs007 said:

    Since I moved 70% of my content to clubs, most of the rules dealing with topic creation/modification can not apply anymore. The reason is that I can't specify an action when a member creates a topic in an specific forum inside a club. 

    Are there any plans to update the club topics ?

    Yeah, it's called Group Collaboration. You can find it in the marketplace.

  7. The intro text is customizable from the collab edit page. Change the collab description. The heading has a customizable photo so that any backdrop can be placed behind it.

    Beyond that, you are getting into very specific theme related tweaks, at which point the best approach is to customize the templates according to your theme.

  8. 17 hours ago, GreatJackal said:

    Hey

    Will you please consider adding an action that removes reputation points from a user, so i could have a function thats

    IF member gets warned

    Remove X reputation from member

     

    would be awesome

    The main problem is that reputation is not a bank that you can add to or remove from. It is a tally of reactions to content and therefore is a mathematical function. So adding reputation is not as simple as incrementing a counter. It requires a reaction to be made on a piece of content. It can't simply be arbitrarily added or removed.

  9. The leader is the owner of a collab. Its not based on roles. To change it, the member must transfer ownership to another member from their collab memberships management page, the link to which is located in the user account menu.

  10. Let me put it this way. Group collaboration doesnt add fearures to forums. Forums work exactly the same in a collab as they do outside a collab. So if you need guidance on how to use the forums app, then the documentation for that is on the IPS site.

  11. Just now, kmk said:

    Hi, is there a setting for changing owner or leader rolles?

    Yes. Not sure what exactly you are asking, but I'm sure that you can do it. There is member management for each collab, and ACP permissions settings for each collab category.

  12. I see your sticking point.

    The form is asking for the topic which you are attempting to update the custom data for (which is the stock action I referred to). But unless there is an explicit topic in the event arguments, how could rules give you an option to choose from? In this case, not just topic comments can be reported, but all sorts of other content can be reported. It cannot be assumed that you can derive a topic in from any given piece of reported content. If I report a comment on an image, and that rule event is invoked, how is rules going to get a topic from that comment? It's undefined.

    This is why you only have the option to use PHP code to provide the topic for which the stock custom data update action will operate on. Rules knows that it cannot know what topic to use. Therefore you must tell it.

    You could put a condition on the rule that checks if the content is an object of the 'IPS\forums\Comment' class, which would ensure the rule only runs when a topic comment is reported. This will prevent errors when other types of content are reported, but you are still left with the need to provide the topic itself for the custom data update action. You need to return the topic from your PHP snippet:

    return $content->item();

     

×
×
  • Create New...