Jump to content

GrooveOnBeat

Members
  • Posts

    861
  • Joined

 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 GrooveOnBeat

  1. And can you sort by tags and/or prefixes easily by clicking them and is there a sort menu somewhere?

    The app does not change sorting/filtering options at all. It'll behave the same way it does in a vanilla install. You can click tags and prefixes, and it will take you to a search for all content having that tag/prefix. It will not filter or sort within the forum directly.

    I'm in favor of prefix sorting option. :smile:

  2. In the next version I will add a short code to displaying everywhere.

    ​Great to hear! :lol:

    I can probably do it myself, but if the next version is coming shortly I'll wait. I'm still adjusting to IPB 4. :smile:

  3. ​My head just spun around on my shoulders. I have no idea what kind of rule you configured. PM me regarding this issue and include an exported version of your rule so I can check out what you've got going on.

    ​I PM'ed you. :lol:

    Can't say it's an issue since the rule is working properly.  More tests to be sure. :tongue:  *I have not tested a newly registered member (who has never logged in).

  4. @GrooveOnBeat,

    The EX2 error turned out to be a bug. It's been corrected in the latest release. Go grab that.

    ​Whatever you did, the manually configured URL works and error has been corrected.  Thanks! :lol:

    @As far as the conditions to check if the member has logged in only 1 time, there is not a login counter built into IPS core that you can check with a condition, so in order to accomplish this you will have to create your own counter. That is why the configuration gets a little more complicated, but just by a little.

    1. Add a custom "integer" data field attached to member via rules ACP
    2. Create a rule that is triggered when a member logs in. In the rule, add an action that increments the custom data field you created in step 1.
    3. Then in your other rule which does the redirect, you can check this custom data field to check if the counter is under your threshold of logins.

    ​I wondered whether IPS had a login counter.  Ok, I'll play around with configuring such a rule using the integer data field.

    For the meantime I was playing around with a simple login redirect to the Calendar.  With a rule that a Member is logged in, I created another rule (Boolean) of true with a 1 is less than 2.  The threshold value is set to 1.

    On a test account with more than 1 login sessions, when I set the rule to less than 1, I do not get redirected when I log in.  However when I set the rule to greater than 1, I get redirected to Calendar when I log in.  Both results were correct. :smile:  If IPS does not have a login counter, or some method to know whether a member has logged in or not, the rules should not have worked, but they did.  How is that possible?

     

  5.  I must say this is a pretty fun mod to play around with. :smile:

    Not sure what you mean here. The action will redirect to any url you give it.

    ​Whenever I manually configure the redirected URL the action doesn't work.  I stay on whatever page I logged in.  Maybe it's because I'm using FURL's?  Also, I get this error below when I go back to edit the action that was manually configured.  I have to delete and redo the action.  It doesn't happen when I use PHP redirects.

    ScOW5u4.jpg

    If using PHP, instead of the "return" function is it also acceptable to use "header"?

    header("Location: http://www.redirect-url-here.com");
    exit();
    

    The way I set that rule up is pretty basic. It redirects on login if the member was registered within the last 24 hours... regardless of the number of times they have logged in. If you want to only redirect one time and one time only, you will need a slightly more advanced rule which tracks if the redirect has been done for them yet.​

    I like simple. :smile:  ​I'll need to play with it more then.  What I want to do is a one time event which takes place the first time a member logs in.  Either I'm messing up on the logic side, or that my conditions are off. :lol:  It's like I'm missing that key piece.  Maybe an attribute of less than 1 time:

    Member has joined, member has logged in, member has logged in < 1 time, redirect to URL

    Update: I think I got it. :) I used the "Number value", set the comparison type to 1 less than 2, data used Member that logged in, Source set to 1

    Yeah. Each rule has the enable/disable button on it. Just click it to enable/disable.

    ​Silly me.  I didn't even check to see that the green "ENABLED" toggles enable/disable.  Thanks!  :tongue:

  6. i have rolled a copy of my live 3.4.8 and trying to upgrade from this version to 4.0.6.1 and get a lot of error, other have tried from this 3.4.8 ?

    ​I did without any issues.  I didn't follow the steps in the first post, but it's similar.  I ran the compatibility file (ensured that all passed), converted to UTF-8mb4, uploaded the files in their respective directories, changed database (made another specifically for the upgrade after cloning the previous), and ran the install script provided.

    Anything custom like BBCodes, templates, mods, etc. did not port over (although I expected the BBCodes to port but they didn't).  I also had to redo the ACP admin restrictions.

    What errors were you getting?

  7. ​Rule: Redirect new members to edit profile

    • Event: Member logged in to system
    • Conditions:
      • Member attribute values (Member has joined within the last 24 hours)
    • Actions:
      • Redirect to another page (Redirect to the members profile edit page)

     redirect-new-members-to-edit-profile.xml

    ​I noticed that a PHP redirect works, but not a direct URL?

    Another question. :lol:  Sometimes new members don't log in immediately.  If I were to set the time for a month, will the rule that a member logged in for the first time still apply?  Assuming that the new member logged in within that month. :tongue:

    Ok, one more question. :tongue:  Is there a way to disable Rules?

  8. Not with rules. What you are describing is not any sort of workflow automation, it is theme switching. To do what you are describing will take modifications that operate on the theme layer. Rules provides automation tools for manipulating the data processing layer.

    There is a Rules Lite version of the application in the marketplace which is FREE. It's an excellent way to push buttons before you take any plunges.

    ​It's ok.  I can do the template edits.  It's just a matter of adjusting to IPB 4 vs 3x conditional syntax.  :lol:

    I still have many uses for IPS Rules for automating data stuff.  One of the things I'm looking at is member incentives through rep integration using IPS Rules.  I'm also interested in the Commerce suggestion earlier in the thread.

  9. Yes to everything you said.

    It works on the ECA (Events, Conditions, Actions) design principle. So I guess you could say conditions is its middle name.

    ​Hehe, clever!  :lol:

    Thanks for replying.  So lets say I have a set condition that I want in the profile page that will replace the original template for specific members.  Is it possible to do?  I am considering the full version, but I want to make sure the app fits my needs before taking the plunge.

  10. In 3x, I used to create loads of conditional statements like if this member then this action, or if member viewing is in this group then this action, or if a member is viewing content by this member ID/name then this action, and etc. I see that you have member conditions in IPS Rules.  First, can this application perform conditions as mentioned and even more?  Secondly, do the rules apply to specified pages and/or all pages?

×
×
  • Create New...