— 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… ?