Forum Discussion

6 Replies

  • HaidongG's avatar
    HaidongG
    Lithium Alumni (Retired)
    11 years ago

    I am not aware any OOTB configuration, but there are many possibilities

     

    1. get Lithium PS to write a cron scheduler in the community backend 
    2. you have a scheduler which queries Lithium API periodically
    3. following this article to setup a event subscription on UserCreate, and trace the two days requirement yourself.

     

    a simpiler possible workaround to assign the role when the user sign in event with Page Initialization Script

     

    when user signs in to the community, if 

    1. user has no such a role
    2. > 2 days since registration

    give him the new role.

  • Hey,

     

    Just thinking of another option... So does it have to be 2 days, whats the significances of this, what are you expecting the user to have done after 2 days? I am only asking because if you could use another trigger you could use ranks/role to achieve something similar .

     

    For example you could assign a role with a rank and issue said rank after X posts, Y Logins? along with a few others all of which is achievable without Lithium PS, dont get me wrong I would encourage you to use Professional Services any chance you have as they are a stellar bunch of guys and gals but for this you could achieve something similar for zero cost.

     

    Just depends on how fixed you are about it being after 2 days. 

     

     

  • Gursimrat's avatar
    Gursimrat
    Leader
    11 years ago

    Fellsteruk - The flow is as below:

     

    Once the user registers, he will be having a "default" role, and rank "Level 1", after 2 days, the rank will be same, i.e. "Level 1" but he should get a role "advance".

     

    Where in default role, user cannot upload images, videos etc, in advance role, he can.

     

    So overall, it something that a user should be able to upload stuff only after 2 days of registering.

  • Fellsteruk's avatar
    Fellsteruk
    Boss
    11 years ago

    Hi,

     

    Thanks, that makes sense but I would suggest you challenge why you give a user this role/permissions after just 2 days of registering. Just because a user have been registered for X or Y doesn't mean they any more engaged or willing to contribute, I would suggest that you look at another trigger based on activity to grant the permission.

     

    That said I am coming from the POV of a p2p support community where we reward activity and contributions however I accept that each community has different goals, purpose so understand that this may not really work for you/ your community.

     

    Regards

  • Gursimrat's avatar
    Gursimrat
    Leader
    11 years ago

    Fellsteruk  - Just in case they stick to this, which I am pretty sure they will, is this doable via studio development, any starters?

  • Fellsteruk's avatar
    Fellsteruk
    Boss
    11 years ago
    You can do what i suggested with basic admin however if you stick with a day trigger then as HaidongG suggested you would need to engage Lithium and agree an SOW which i suspect would be at a cost.