How the change the Pricing in Membership?

Dear all

I am using the dolphi 6.1, and i want the user pay for my website by minute not by day, how can i do this?

Following is the "Manage Membership Types" i want to calculate by minutes.  which flie, where i can modify?

Regards

Days Price

10 $10
Quote · 13 Jul 2009

inc/membership_levels.inc.php

function setMembership

replace:

$dateExpires = (int)$dateStarts + $days * $SECONDS_IN_DAY;

with:

$dateExpires = (int)$dateStarts + $days * 60;

every integer now will = 1 minute not day

change all your day strings to minute

have fun

I have video tutorials to help you mrpowless.com
Quote · 14 Jul 2009

thanks very much, i am realy appreciate your reply,

Quote · 14 Jul 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.