5 of 5
5
Expire Users with SCM Extension & Cron Job—Does this work?
Posted: 05 December 2009 05:31 PM   [ Ignore ]   [ # 73 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  389
Joined  10-24-2007

Hey folks,

I am having a little problem with new purchases not being added to the ‘exp_paid_members’ table.  Any suggestions?

Cheers,
Zac

 Signature 

Zac Gordon is a Professional Web Educator and owner of a Washington, DC based ExpressionEngine Development Company

Profile
 
 
Posted: 08 December 2009 11:47 PM   [ Ignore ]   [ # 74 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  236
Joined  12-09-2008

does anyone have a copy of the docs for this, would love to give it a shot for a project I’m working on

thanks

 Signature 

Montreal web design | twitter

Profile
 
 
Posted: 11 February 2010 12:07 PM   [ Ignore ]   [ # 75 ]  
Grad Student
Avatar
Rank
Total Posts:  72
Joined  08-22-2008

Hello all,

After reading through this thread, it seems like additional development is unlikely, since the extension does so much, so well (great work, gents). I have to admit that, even though I read through it, some parts aren’t clear.

I still question whether or not this extension can do what I need it to do. In fact, before discovering this thread, I had create a new one asking for advice on how to accomplish a short list of goals that a client project requires. From that thread:

Hello all,

I’ve got a potential project on my radar that will require a new member registration form that allows the following to happen, yet I’m not sure how I’d pull of all of the requirements without doing some custom PHP (I’d like to avoid this):

I’d use the existing register form, but with the following tweaks:

- There’s a select/option element that allows the visitor to select one of three different member types (each of which aligns with three different types of member groups in the Control Panel).
- Each of the three member types has an associated fee. $5 Individual / $10 Business / $15 Sponsor, for example…
- When the form is filled out and submitted, the visitor is brought over to a PayPal payment page with one of the three above amounts predefined, allowing the visitor to punch in payment information, etc.
- Once PayPal has accepted the payment, the visitor is brought back to the EE registration form and it’s finalized/saved/etc.

Is this possible with a default version of EE, or is there at least a module (free/pay/doesn’t matter) out there that provides this very thing?

Many thanks, in advance, for your advice.

I’m in the process of determining whether or not one of their goals is to have recurring payments (annually) and expiration, or if the above mentioned fees are one-time fees ... I know the extension discussed in this thread primarily focuses on the expiration and move-the-member-to-a-new-group features ... but I wonder if a) it’s the right extension for my needs, above, and b) if it can handle the three different types of ‘purchases’ I mention above.

Thanks for any advice provided!

 Signature 

#MarcAmos {
      company: Boston Web Studio;
      title: designer/developer/owner;
      url: bostonwebstudio.com;
}

Profile
 
 
Posted: 11 February 2010 01:06 PM   [ Ignore ]   [ # 76 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1757
Joined  03-26-2006
mdesign - 27 July 2009 02:06 AM

I don’t think I’ll take a crack at expanding this at all. I’d like to think that with the latest update to FoxEE Cart that any future memberships I’d do would be through that. I was just trying to get from Point A to Point B as quickly as possible so I could get devot:ee membership up and running quickly.

As I mentioned before, I’m trying to move away from this extension to use FoxyCart (which does subscriptions and recurring billing and is generally pretty awesome) and the FoxEE module (of which, I’ll say it again: I am not a fan). There really aren’t too many other decent options for ExpressionEngine that I’m aware of at this time.

 Signature 

ryan masuga
—————
Masuga Design | devot:ee
@masuga | @masugadesign | @devot_ee

Profile
 
 
Posted: 28 June 2010 06:40 PM   [ Ignore ]   [ # 77 ]  
Grad Student
Rank
Total Posts:  70
Joined  11-21-2008

Hi all,

I’ve just installed the Masuga version of the plugin (thanks very much for your hard work) and everything seems to be working. However I can’t find instructions on how to get the CRON script working and how to test it. Apologies if I’m missing some post but there doesn’t appear to be an official documentation anywhere?

Thanks.

Profile
 
 
Posted: 06 July 2010 02:45 PM   [ Ignore ]   [ # 78 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1757
Joined  03-26-2006

You need to set up a cron job on your server that can call the page that has the PHP code you want to execute at certain intervals. For example, when I was using the Expire Users extension on devot:ee, I had a template that had all the member expiration functions, and I would call it like this:

curl h++p://devot-ee.com/path/to/users-expire/ >/dev/null 2>&1 

While I was testing I set that to run every minute (or other small interval) and when I was satisfied things were working I set it to run once a day.

An example of running it every three minutes:

*/* * * * curl h++p://devot-ee.com/path/to/users-expire/ >/dev/null 2>&1 

And running it once a day in production:

0 0 * * * curl h++p://devot-ee.com/path/to/users-expire/ >/dev/null 2>&1 

At this time I set this up, the site was on a server running cPanel, and I manipulated the cron jobs while logged into cPanel.

 Signature 

ryan masuga
—————
Masuga Design | devot:ee
@masuga | @masugadesign | @devot_ee

Profile
 
 
   
5 of 5
5