WordPress® / GNU GPLv2 Licensing
All of our Products are licensed under the terms of the GNU GPLv2 License, as is WordPress® itself. All of our Products are licensed for personal and/or commercial use. You are free to modify and adapt them to fit your purposes, or for the purposes of your clients.
However, please take note ( regarding the s2Member Pro Module )
The add-on module ( s2Member Pro ) is comprised of two parts:
(1) Its PHP code is licensed under the GPL license, as is WordPress® itself.
(2) All other parts of the add-on module ( s2Member Pro ); including, but not limited to: the CSS code, some JavaScript code, images, design; and the associated support services that we provide; are licensed according to the license you purchase ( i.e. single-site, or unlimited-site ); and/or as attributed in the /licensing/ directory of the distribution, which provides additional credits and acknowledgments.
Unless you have our prior written consent, you must NOT directly or indirectly license, sub-license, sell, resell, or provide for free; part (2) of the s2Member Pro Module; or make an offer to do any of these things. All of these things are strictly prohibited with part (2) of the s2Member Pro Module.
Ownership / Intellectual Property Rights
You may not claim intellectual or exclusive ownership over any of our Products, modified or unmodified. All Products are property of s2Member/PriMoThemes.com ( WebSharks, Inc. ). Our Products are provided "as is" without warranty of any kind, either expressed or implied. In no event shall s2Member/PriMoThemes.com ( WebSharks, Inc. ) be liable for any damages, including, but not limited to, direct, indirect, special, incidental or consequential damages, or other losses arising out of the use of, or inability to use our Products.
Statistics: Posted by Jason Caldwell — September 6th, 2011, 3:36 pm
Statistics: Posted by ChuckNorris — September 6th, 2011, 2:57 pm
<?php
add_action ("init", "my_cron_job");
function my_cron_job ()
{
if (!empty($_GET[__FUNCTION__]))
{
foreach (get_users ("role=s2member_level1") as $user)
{
$user_id = $user->ID;
$user = new WP_User ($user_id);
$paid_at_level_1 = s2member_paid_registration_time ("level1", $user_id);
if ($paid_at_level_1 && $paid_at_level_1 < strtotime ("-2 days"))
$user->set_role ("s2member_level2");
}
exit;
}
}
?>
Statistics: Posted by Jason Caldwell — September 6th, 2011, 2:51 pm
Statistics: Posted by Jason Caldwell — September 6th, 2011, 1:16 pm
[s2Member-Pro-ccBill-Button level="2" ccaps="" desc="Trial Membership" cc="USD" custom="blahblahblah.com" ta="2.95" tp="2" tt="D" ra="29.99" rp="1" rt="M" rr="1" image="blahblahblah.com/images/image.gif" output="anchor" /]
Statistics: Posted by ChuckNorris — September 2nd, 2011, 9:38 am
Statistics: Posted by ChuckNorris — August 31st, 2011, 11:28 pm