Support Forum » Your Members Support » Your Members General Support

Adjusting Post Delay for Members?

(10 posts)
  1. Brett
    Member

    I would like to adjust Post Delay (or the length of time a person is a member). Here's the reason why. I have several classes runnning in my membership website, I want to move people between classes (Account Type) to another Account Type when they have completed one.

    For example: Class1 - Post delays setup 1, 6, 13, 20, etc...
    When that user completes Class1, I would like to move them to Class2 with re-set Post Delays (back to days 0, etc.).

    Is there some easy way to adjust the time the person has been a member in Your Members, or, will I have to do it manually in the MySQL tables? If it's a date/time field, please let me know where it is and how it's configured.

    Thanks,
    -B

    Posted 9 months ago #
  2. Tim
    Technical Monkey

    Post delay is determined by account type rather then user and is done on the fly, their is no count down its a simply a formula,

    period of time in days for user of that account type is > greater then the number of days specified in postmeta

    you can either adjust the delays in the post by going to edit posts and changing there or you can change the users subscription dates in YM but if you do that you will potentially screw up quite a few other YM settings.

    Tim Nash (t.nash@venture-skills.co.uk) - Cambridge New Media Services
    Posted 8 months ago #
  3. Brett
    Member

    Tim,

    A few quick questions...

    > Post delay is determined by account type rather then user and is done on the fly,
    > their is no count down its a simply a formula,

    What happens when I 'Update User Accounts' in Members Information screen of YM and I move a user from Class1 to Class2 - are the number of days they are a member of Class2 now set to zero? What if I then move that user back to Class1 (after I had moved them to Class2), would their number of days for Class1 then be zero?

    If it works like that I may not need to worry about anything. If the moving of users from (account type1) to (account type2) does not reset days at (account type2) to zero, could I do that manually?

    > or you can change the users subscription dates in YM but if you do that you will
    > potentially screw up quite a few other YM settings.

    Ok, you said earlier: "Post delay is determined by account type rather then user and is done on the fly". Is there any reason then that I would want to change user subscription dates in YM, will this have any effect on post delay? What I'm really trying to do here is affect post delay only (and not affect any other YM user account/user settings.

    Thanks,
    -B

    Posted 8 months ago #
  4. Tim
    Technical Monkey

    I'm sure I answered this.

    But once an account type or subscription is changed the user is treated as that account type and subscription with no benefits of the previous subscription, with the exception of pay per post which is an individuals purchases.

    Changing the start date would have affect the post delay but not the end date.

    Tim Nash (t.nash@venture-skills.co.uk) - Cambridge New Media Services
    Posted 8 months ago #
  5. Brett
    Member

    Tim,

    > Changing the start date would have affect the post delay but not the end date.

    Sure, you answered it, but you've not told me HOW it affects it? Does the post delay go back to zero, or what?

    -B

    Posted 8 months ago #
  6. Tim
    Technical Monkey

    I actually meant I was sure I had already answered the post but...

    period of time in days for user of that account type is > greater then the number of days specified in postmeta

    If you change the start date then the period of time the user has been of that account type will change thereby changing the length of time in the above post date equation.

    Tim Nash (t.nash@venture-skills.co.uk) - Cambridge New Media Services
    Posted 8 months ago #
  7. Brett
    Member

    Tim,

    I'm sorry but this is not clear to me, can you please answer this question, by following my example and tell me how to adjust the post delay?
    -----------------

    I setup a test user: TEST, and assign them to Class1. (each week that user gains access to the next week material through post delay). The schedule is like this: (signup: week1, 6 days after signup: week2, 13 days after signup: week3, etc.).

    I let that user go to week2, so 7 days after signup, that user has access to Class1 - week1, and Class1 - week2.

    I then change the users Account Type in YM Member Management to Class2. That user now has no access to Class1 (that's correct), but does have access to Class2 - week1 and Class2 - week2.

    This does not work properly for me, as what I want to happen is since the user is starting a new class, they would have their post delay go to zero for Class2, instead of staying at the post delay value that they were on for Class1.

    What I would prefer to happen here is that the user returns to zero (0) post delay for Class 2, in other words, that they are reset to zero post delay for Class2.

    Can you please tell me how to manually change the test user's post delay and set it to zero (0) for Class2? I am looking in the Meta table, I have no clue as to which field/record to change, but I can guess that it might be one of the following:
    --------------
    wpm_leveltimestamp
    ym_custom_fields (for example it now reads: a:2:{i:7;s:5:"Test";i:8;s:9:"Astrology";}
    ym_user

    My guess is that the ym_custom_fields may be the one I can change, but I need to hear it from either your or Sean, this is your baby.

    I'm sure eventually others may want to do the same thing, so it would be helpful to know how to do it.

    Thank you,
    -Brett

    Posted 8 months ago #
  8. Brett
    Member

    Still waiting for a reply on this, is there something so difficult as explaining to a user of your product how to adjust the Post Delay for that user in the 'meta' data, or is there some other reason you do not reply?

    Please do not reply with cryptic information like you did before. I am not a WP programmer, all I'm looking for is how to reset, or adjust the Post Delay for a single user after I change their account type.

    I'm sure others will someday want to do the same thing.... do you know how to do it, or not?

    Posted 8 months ago #
  9. Brett
    Member

    Second followup to my last post, just to try to make it clear, though it seems nearly impossible.

    You say:
    > If you change the start date then the period of time the user has been of that account type

    I don't care about changing the start date, I never did. I don't want, or need to change the start date. What I want/need to do is change the Account Type, from Type1, to Type2. That's it.

    After I change the Account Type, I need to know how to make adjustment to Post Delay in the database, either manually, or if there is some way to do it in YM?

    Posted 8 months ago #
  10. Tim
    Technical Monkey

    I really don't know how to make it more clearer post delay is just a piece of logic.

    It checks the current date then adds the total number of days in the post delay to the membership start date.

    That's all it does nothing more, to edit it you change the delay length or edit the user_registered field in the wp_users table. You really really really don't want to do the latter because you will screw up YM which relies on these dates for subscription management. Also potentially wordpress if you edit the wrong date as it relies on the user registration timestamp for authentication. If you're not careful, editing the membership start date of a user in the DB. The system was never designed to change individual users and I don't think it would be common to do so as your suggesting.

    If you would like us to write you a script or indeed add this additional requirement we are happy to do it as a custom job for you.

    Tim Nash (t.nash@venture-skills.co.uk) - Cambridge New Media Services
    Posted 8 months ago #

RSS feed for this topic

Reply

You must log in to post.