Register   Login
     
  Latest Posts  
RE: Error #2038 on image upload
by mao on 3/16/2010 2:50 PM
RE: WAT and Anonymous User
by ray-isc on 3/16/2010 2:32 PM
RE: Introducing the most powerful News Slider for Ventrian News Articles
by ray-isc on 3/16/2010 2:07 PM
RE: Is there a way to add image, based on x of DATE
by ray-isc on 3/16/2010 1:58 PM
RE: Where is the NA Latest Article Module setting stored?
by ray-isc on 3/16/2010 1:27 PM
RE: Where is the NA Latest Article Module setting stored?
by ray-isc on 3/16/2010 1:24 PM
RE: Comments - make approved before showing?
by odove on 3/16/2010 9:34 AM
WAT and Anonymous User
by rheingold on 3/16/2010 8:11 AM
RE: SubType edit?
by IMISOFT on 3/16/2010 7:49 AM
RE: Latest Properties Sorting Issue
by jump on 3/16/2010 7:47 AM
  Forums  
Subject: Feature Request: Expired Users
Prev Next
You are not authorized to post a reply.

Author Messages
Marc FullerUser is Offline
Registered Users
Ventrian Super Newbie
Ventrian Super Newbie
Posts:17

3/02/2009 5:34 AM  

Hey Guys,

Something I am finding a huge problem with, is dealing with expired users. Now Subscription Tools went part of the way to fixing this problem by sending out reminders, but there is another thing that I think would make this a supurb module!

Would it be possible to add a feature so that when a user expires, it removed the plans role and adds them to a different role?

An example.

A user joins a plan called Member. Just before it expires a year later he starts getting reminders.If he then does not renew his subsctption, it removed him from Members and adds him to Expired Members.

This way I can then have a module on the home page aimed just at Expired Members, asking them to rejoin !!

I think this would make this module stand out. There is nothing that I can find can do this so far, and would love to see it added.

I would appreciate any feedback from the developers on if this is possible or would be even considered?

Many Thanks

 

Marc

Marc FullerUser is Offline
Registered Users
Ventrian Super Newbie
Ventrian Super Newbie
Posts:17

3/02/2009 7:06 AM  
More thought on this.. Obviously if a user then rejoins, the Expired Member role needs to be taken out again.

Jeeze, if it's not too expensive I would PAY to have this added.. would make this module awesome!
ROBAXUser is Offline
Gold Membership
Ventrian Master
Ventrian Master
Posts:1016


3/02/2009 2:23 PM  
In DNN 5 you can do this by way of making a module only visible to registered users and not visible to your paid members. This makes it appear when a role has expired.

In DNN4, the nearest you can get is one of the handful of text/html deniable modules around. Mithcel Sllers and I think Seeleyware do them for free.

I'm just making do with nothing until such time as I upgrade to DNN5

I do think it would be handy of the Subscription Tools module that displays the roles, would indicate loudly in some manner (perhaps it could trigger a javascript alert) when a role has finally expired.

Rob
BarrySUser is Offline
Registered Users
Ventrian Wiz
Ventrian Wiz
Posts:155


3/02/2009 3:01 PM  

When your user subscribes, does an expiry date get added to their Member role?  If so, can you target users in the Member role whose expiry date is in the last 14 (or whatever)  days eg something like:

select u.username, ur.expirydate from UserRoles as ur
inner join users as u on ur.userid = u.userid
inner join roles as r on ur.roleid = r.roleid
where
  u.userid = [LoggedOnUserID] and
  r.RoleName = 'Member' and
  r.PortalID = YourPortalID and
  (datediff(d, getdate(), ur.expirydate) <= '0' and datediff(d, getdate(), ur.expirydate) > '-14' )

You could use OpenWebStudio to run this, replacing [LoggedOnUserID] in the code above with [Userid,System], I'm sure someone will have another method though I suggest OWS because of its ability to not display the module if the result is null.

Marc FullerUser is Offline
Registered Users
Ventrian Super Newbie
Ventrian Super Newbie
Posts:17

3/03/2009 12:10 AM  
Many thanks for the feedback... all good suggestions but the problem isnt so much when they are due to expire, but users who HAVE expired. Subscription tools already sends out reminders which is good enough for me. What I need is a mechanism to remove them from the role so they can no longer access the content. Then add them to another role so I can then aim content and them AND run reports and see who we can badger to rejoin.
BarrySUser is Offline
Registered Users
Ventrian Wiz
Ventrian Wiz
Posts:155


3/03/2009 2:01 AM  

Hi Marc,

The expiry date mean that they don't belong to that role any more and can't view role-specific content.  The pseudo code above selects those for whom the expiry date has arrived and is less than 14 days ago.  Using OWS/ListX will allow you create a module to target them when they visit your site, using something like SqlGridSelectedView (or maybe the reports module) will allow you to use similar code to extract these details into a list that you can use to badger them.

Barry

Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:17182


3/03/2009 3:07 AM  
When subscription tools adds them to the role, it adds them with an expiry to the role? So they should no longer get the content because there no longer in that role.

Scott McCulloch
Site Administrator
Marc FullerUser is Offline
Registered Users
Ventrian Super Newbie
Ventrian Super Newbie
Posts:17

3/03/2009 5:03 AM  
Ahhhh (penny drops)

I didn't realise that that once the role expires, that the content is no longer shown. For some reason I thought I had to remove the role for that to happen. OK, so I tried to take a look at OWS but had no idea what I needed to download/do :(
Jacob ZimmermanUser is Offline
Gold Membership
Ventrian Super Newbie
Ventrian Super Newbie
Posts:11

3/09/2009 11:45 AM  
Would the same be true for Property Agent if you are taking subscriptions for listings. If the role expires will it remove their listings from being displayed?
You are not authorized to post a reply.
Forums > Modules > Subscription Tools > Feature Request: Expired Users



ActiveForums 3.7