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: Torbjörn Sjögren

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


Topics I'm Subscribed To


Topics I've Started

Viewing 3 topics - 1 through 3 (of 3 total)
Topic Count Last Reply
How to test demotion the right way?

By:  Torbjörn Sjögren in: Community Forum

voices: 3
replies: 5

4 years, 3 months ago  Raam Dev

Yearly renewal of free membership? (continued

By:  Torbjörn Sjögren in: Community Forum

voices: 2
replies: 5

4 years, 8 months ago  Cristián Lávaque

Yearly renewal of free membership?

By:  Torbjörn Sjögren in: Community Forum

voices: 2
replies: 7

4 years, 8 months ago  Cristián Lávaque

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

My Latest Replies (From Various Topics)

Viewing 9 replies - 1 through 9 (of 9 total)
Author Replies
Author Replies
Posted: Monday Sep 10th, 2012 at 1:08 pm #24765

OK. Can i track a s2 logfile so i se when demotion occurs? Or use some other debug tool to se what S2 does?

Posted: Sunday Sep 9th, 2012 at 2:33 pm #24694

OK.
1. When i test the demotion occurs within 10-15min frpm elapsed time. Not 24h after elapsed time.
2. When i set up a S2 installation i have to be able to test the EOT and not wait 24h! That is why i ask how you test? There must be a bets practice for this…

One thing i have to mention is that the members of my installation registers for free so PayPal is not involved.
I set the EOT by using the S2 APi like so:

// Set the membership time. When the time expires the member gets role 'subscriber'
update_user_option(get_current_user_id(), 's2member_auto_eot_time', strtotime(date('Y') . 	'-12-31'));// Last day of current year
Posted: Tuesday Apr 24th, 2012 at 5:10 pm #11758

Its not working.

Please confirm this code that i try to use. The code is moved to mu-plugins s2-hacks.php and the same code is in the inactive plugin.

In login welcome page setting i have the site hompage selected in Special Redirection URL field.

function my_login_function(){
	//if (current_user_can("subscriber")) {
	if (current_user_can("s2member_level0"))
	wp_redirect(site_url('/fornya-medlemsskap'));
	exit;
}
add_action('ws_plugin__s2member_during_login_redirect','my_login_function');
Posted: Tuesday Apr 24th, 2012 at 10:37 am #11694

Tried varius tricks and its not working out for me (regarding) redirection. Please advice. I can send links and login if needed.

Posted: Tuesday Apr 24th, 2012 at 10:31 am #11693

Great! Always happy to share tips to the community. Could you please have a look at my redirection problem in my other topic. Its driving me crazy.

Posted: Monday Apr 23rd, 2012 at 5:41 pm #11639

Hi Kati

Just a tip from me.
Hf you havent used it before, use the plugin Codestyling Localization to translate the front-end strings. Its free and its a must have…

Link to plugin: http://wordpress.org/extend/plugins/codestyling-localization/

Link to screenshot when i translate S2 Member: https://www.dropbox.com/s/vcs9bgq3x832773/codestyling-localization-s2member.png

Link to review: http://wpengineer.com/750/plugin-review-codestyling-localization/

Link to tutorial: http://www.code-styling.de/english/development/wordpress-plugin-codestyling-localization-en

Good luck.

Hey support guys. It would be great if you could set up a repo of localizationfiles. Then the community could translate S2 to more languages. A great way to add value to the product.
WordPress solution:http://blog.glotpress.org/
Read this post by Yast in the subject: http://yoast.com/translate-yoast-plugins/
Pagelines setup: http://www.pagelines.com/translation-localization-center/

Posted: Friday Apr 20th, 2012 at 7:35 am #11364

OK
I will have a go with S2. It seems like a great product and i hope that it will solve my functionality.
Buy S2 Member Pro – Check!
Set up solution – In progress…. (I do have some coding skills so i will bite the bullet)
Se ya in the Pro forums.
Have a great day

Posted: Thursday Apr 19th, 2012 at 3:42 am #11192

Thanks for your time and patience Cristián.

Yeah this is what i want. I can see two cases on welcome page after EOT. And i will choose the case that is the most easy to implement.
1. On the welcome page there is a button that says “Give me membership for one more year”
2. A automatic conditional that checks level and change role to 1.
Is 1 a more simple solution to implement?

What functionality in my solution demands a Pro version?
As i see it it’s the ability to set a free membership to more than level 0 (Pro Forms). Confirm please.

Is it possible to try this functionality out before i buy the pro version? A little hard to see the whole process?
I’m thinking that i can do a manual registration of a new member at level 1 and then trigger a EOT manually for that member to level 0. Then log in with that member again and have a button on welcome page to bumb up membership to level 1. Can this be done? If yes, how should i produce the link for the button?
If this cant be done, well i just have to buy the pro version an keep my fingers crossed ;-)

Posted: Wednesday Apr 18th, 2012 at 7:04 am #11097

Hi and thanks for your answer.

Maybe S2 is not the way to go but i have to ask one more thing.

I saw your answer i this forum about free membership:
http://www.s2member.com/kb/offering-paid-member-registration-for-free-using-pro-forms/

My plan was to have a S2 stup like this.

1. A new user comes to the site and can view everything but not post in the forums. To post the user have to register. The registration takes place and a free userlevel is set to 1 when registration takes place using http://www.s2member.com/kb/offering-paid-member-registration-for-free-using-pro-forms/. The membership is automatically set to 1 year.
I also red this on the same topic: http://www.primothemes.com/forums/viewtopic.php?f=4&t=934
And here:
http://www.s2member.com/forums/topic/renewing-membership/
“You can also have a conditional in the Login Welcome page to check when the user was a paid user but is now a free one, and show him a customized message to upgrade again. Dashboard -› s2Member® -› API / Scripting”

2. After one year has passed the member is canged to user level 0 (still member but cannot post in the forum)
The next time the user logs in (after a year has passed) a membership of level 1 is set again and posting in forum is allowed.

I have red the documentation and cant see what happens in S2 after a membership period is over? Is a mail sent out or is the member faced with a renewalform the next time the member logs in?

Is this scenario doable with S2?

Viewing 9 replies - 1 through 9 (of 9 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.