latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

About: Arnegger Dublyn

Sorry, I've not written a description yet. I'll get to it soon!


Topics I'm Subscribed To

Viewing 2 topics - 1 through 2 (of 2 total)
Topic Count Last Reply
Content dripping by date (calender date)

By:  Arnegger Dublyn in: Community Forum

voices: 3
replies: 9

4 years ago  Bruce

Interface/API for data from Payment-Gateway?

By:  Arnegger Dublyn in: Community Forum

voices: 2
replies: 1

4 years, 1 month ago  Raam Dev

Viewing 2 topics - 1 through 2 (of 2 total)

Topics I've Started

Viewing 3 topics - 1 through 3 (of 3 total)
Topic Count Last Reply
Content dripping by date (calender date)

By:  Arnegger Dublyn in: Community Forum

voices: 1
replies: 1

3 years, 11 months ago  Arnegger Dublyn

Content dripping by date (calender date)

By:  Arnegger Dublyn in: Community Forum

voices: 3
replies: 9

4 years ago  Bruce

Interface/API for data from Payment-Gateway?

By:  Arnegger Dublyn in: Community Forum

voices: 2
replies: 1

4 years, 1 month ago  Raam Dev

Viewing 3 topics - 1 through 3 (of 3 total)

My Latest Replies (From Various Topics)

Viewing 5 replies - 1 through 5 (of 5 total)
Author Replies
Author Replies
Posted: Saturday Jan 19th, 2013 at 8:55 am #38306
Posted: Wednesday Dec 12th, 2012 at 5:25 am #34335

Dear Raam or Bruce,

thank you for your explanation. I have tried creating this code for me – but I did not get it to work. My guess is that I really do not know where I would have to implement the $midnight_paid_registration_time and creating the Unix-Timestamp.

Would this be working if I put it like this in the each post? -> In other words: Do I put all of this (what there is below) into each individual post? So for the post of the first day it would be… ALL OF THIS CODE???:

<?php 
// midnight Unix Timestamp on the day the user paid
$midnight_paid_registration_time = strtotime('today', S2MEMBER_CURRENT_USER_PAID_REGISTRATION_TIME);

// Unix Timestamp right now
$now = time() / 86400;
$midnight_paid_registration_time = $midnight_paid_registration_time / 86400;
?>

<?php if($midnight_paid_registration_time + 1 < $now){ ?>
	Drip content to Members that started paying you at least 1 day ago
<?php } ?>

….OR JUST THE DRIPPING CONTENT PART – BUT THEN WHERE WOULD I HAVE TO PUT THE FIRST PART WITH THE TIMESTAMP, OF THIS CODE?

I am sorry – I am no programmer, as you may tell. I just know the very, very basics of writing code. If I do not get it to work:
How much would it cost to get one of you to write me this short lines of code so I could implement it for the “Content dripping by date” question? Is there a possiblilty to have this finished this way? I have setup everything already and would love to have it run with s2Member and I do not want to change or try other membership plugins, but stay with s2Member. Do you think it would be possible you help me there to get this running?

Very warm christmas season greetings,
Arnegger

Posted: Monday Dec 3rd, 2012 at 8:54 pm #33401

— 1st subject: REDIRECTION from your post #32621 —

I have now checked out the code in your post #32621 regarding the redirection after login. It seem to ALMOST work … very close. But I cannot figure out the real problem. Everything works fine, but after entering the login information (I also need to say I use the “Theme my login” Plugin … however right after I am logging in I get redirected to the URL:

http://domainname.com/login/http%3A%2F%2Fdomainname.com%2Fweek4%2Fday24-marketing%2F

So for some reason it puts the http:// PLUS domainname/login in front of your brilliant redirection. I guess everything else would be working and I would get redirected to the correct page. I tried different things, but as I am not a programmer, I could not figure it out, why I did not make it work. What is the mistake I can not find in the code – and how would be the right code?

— 2nd subject: CONTENT DRIPPING BY DATE from your post: #32442 —

Since I am really no programmer – just can read some php code and usually guess right what it means:
2.1) I guess in the first part we’re creating the variable: “$midnight_paid_registration_time = strtotime(‘today’, S2MEMBER_CURRENT_USER_PAID_REGISTRATION_TIME);” correct? Where do we do that? Just in the same post, right inside the php-Tag where the other code goes?

2.2) In the second part: How can I create out of the seconds -> DAYS again. There must be a way to convert this back into days, so I would be able to just enter days, to make it much more convenient… ?

Posted: Wednesday Nov 28th, 2012 at 12:58 pm #32791

Okay – thank you. I’ll try that. Regarding the content dripping I also need to know: Is it possible to use content dripping in a way that it starts not from the date the user was set up, but from when the user first logged in?

I tried the API Scripting section in s2Member and guess it should be there if something like this would exist. But since I did not find it, I thought maybe you could give me a hint, if something like this exists?

Regards, Arnegger

Posted: Friday Nov 23rd, 2012 at 8:01 pm #32456

OK great. I got to try this out. Another question that I have is regarding the Links. When I have a link link from outside: Let’s say I use content dripping and I want to have users every day to login and read their daily piece of content. I then would setup a autoresponder sending an email a day reminding the member by sending him a link to the speciffic daily piece of content. BUT: As the user clicks that link he comes automatically to the content protection window and has to login. After the login the user comes automatically to the in GENERAL OPTIONS under LOGIN WELCOME PAGE defined start page after login. How can I change this, so the user will be forward automatically to the in the email clicked link?

Best Regards,
Arne

Viewing 5 replies - 1 through 5 (of 5 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.