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: Tony Sturgess

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


Topics I'm Subscribed To

Viewing 3 topics - 1 through 3 (of 3 total)
Topic Count Last Reply
How do I do a WP Plugin update

By:  Tony Sturgess in: Community Forum

voices: 2
replies: 1

4 years, 10 months ago  Raam Dev

Free or Pro and client download tailoring.

By:  Tony Sturgess in: Community Forum

voices: 3
replies: 7

4 years, 10 months ago  Tony Sturgess

Ability to extend paid memberships

By:  Philip Downer in: Community Forum

voices: 2
replies: 2

4 years, 10 months ago  Jason (Lead Developer)

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

Topics I've Started

Viewing 2 topics - 1 through 2 (of 2 total)
Topic Count Last Reply
How do I do a WP Plugin update

By:  Tony Sturgess in: Community Forum

voices: 2
replies: 1

4 years, 10 months ago  Raam Dev

Free or Pro and client download tailoring.

By:  Tony Sturgess in: Community Forum

voices: 3
replies: 7

4 years, 10 months ago  Tony Sturgess

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

My Latest Replies (From Various Topics)

Viewing 4 replies - 1 through 4 (of 4 total)
Author Replies
Author Replies
Posted: Sunday Feb 26th, 2012 at 7:39 pm #6474
Tony Sturgess
Username: TSPTME

Just to keep you guys and whoever else following this thread up to date;
I have more or less achieved the desired result by the following means:-
First I downloaded a piece of php script called password_protect.php from zubrag.com/scripts
this was tailored with our own password and uploaded to our root directory of our website.
Then you run this script, i.e. http://www.yourdomain.com/password_protect.php?help
which gives the protection code to include into your web page you want to password protect.
In our case the link to upgrade an s2member is for our clients that don’t need to pay and has a £0.01 payment generated with s2member paypal buttons for level2. the protection code was placed in the page for level 2 access.
All we need to do is inform our paying PT clients of this password to get to the upgrade page. If non clients use the link they can only exit the password screen via a “exit this screen’ link that redirects (logs out) to the other upgrade page that has a charge for downloads for one day only or whatever we decide to charge at a later date, the paypal button on this page was/is generated with s2member paypal buttons for level1.
It is not possible to run the level2 upgrade page any other way so the password must be entered correctly to get to level2. So we have managed to achieve our desired result.
As paypal will not accept a zero payment we had to make the charge of £0.01 for PT clients to go to level2.
If anybody can tell me the code to do this without going via paypal then please notify me.
Also the sidebar menu which lists the member options of login register or logout, update client access level, modify profile plus the downloads are all coded with [s2if …] statements;
i.e. ( { = in the following a a href’s)

    [s2If is_user_not_logged_in()]

  • {a href=”/wp-login.php”}Login{/a}
  • {a href=”/wp-login.php?action=register”}Register{/a}
  • [/s2If]
    [/s2If]
    [s2If is_user_logged_in()]

  • {a href=/wp-login.php?action=logout}Logout{/a}
  • {a href=”/clients/upgrade-silver”}Upgrade Client Access Level{/a}
  • {a href=”#” onclick=”window.open(‘http://yourdomain.com/?s2member_profile=1’, ‘_popup’, ‘width=600,height=400,left=100,screenX=100,top=100,screenY=100,location=0,menubar=0,toolbar=0,status=0,scrollbars=1,resizable=1’); return false;”}Modify Profile{/a}
  • [/s2If]
    [s2If current_user_can(access_s2member_level1)]

  • {a href=”/?s2member_file_download=exercise/training1.pdf”}Training Program 1{/a}
  • [/s2If]

We will also place level2 s2if statements in this menu as well.
With these s2if statements level 0 can only see the first 3 member actions and no downloads.
Hope this proves useful to others.

  • This reply was modified 4 years, 10 months ago by  Tony Sturgess.
  • This reply was modified 4 years, 10 months ago by  Tony Sturgess.
  • This reply was modified 4 years, 10 months ago by  Tony Sturgess.
  • This reply was modified 4 years, 10 months ago by  Tony Sturgess.
  • This reply was modified 4 years, 10 months ago by  Tony Sturgess.
Posted: Saturday Feb 25th, 2012 at 5:57 am #6403
Tony Sturgess
Username: TSPTME

Jason, or anyone else that can answer this one,

I will be using option 2 above on 1 of 2 pages that give upgrade buttons,
page 1 will have paypal buttons to upgrade to level 1
page 2 is already secret password protected before it is displayed and then it will have an upgrade button to level 2 as a non charge for existing personal training clients to upgrade.
so the questions are ;
1. Can I code shortcode for the button action on page 2?
2. What would that shortcode be, (upgrade from level 0 to level 2) ?
3. Can I see a full list of shortcodes somewhere?

Many thanks
Tony

Posted: Thursday Feb 23rd, 2012 at 8:05 am #6108
Tony Sturgess
Username: TSPTME

Jason,
Many thanks for the detailed replies to date.
My son, (the founder and owner of his personal training brand) wants this function to be automatic, but he is totally not web aware, on the other hand I\’m from a computing (formally IBM mainframe) background and can create websites etc… still learning the internals of wordpress and now your excellent S2Member package.
So I think your option 1 is a task for me when my son tells me which clients to change. Alternatively I could create an upgrade button that is password protected so that the people that just want the downloads cannot upgrade to the clients material level, I think its best if I just have information about downloads on level 0 then a paypal upgrade to level 1 for the public access and download then the password protected button for the clients to upgrade to level 2 where their own information will be. Once again many thanks for your replies. Tony

Posted: Tuesday Feb 21st, 2012 at 11:28 am #5876
Tony Sturgess
Username: TSPTME

4) could our clients update their own progress somewhere or would that need to be another plugin/package?
I’m sure there will be other questions soon, if we need to go Pro to achieve the above functions please advise.

Sorry, I’m not sure I understand this question, or how it pertains to s2Member.
Please feel free to elaborate some more until we understand it :-)

To explain further;
When referring to clients, these are our personal training clients that we would like to set up s2m membership area for exclusive content on articles, plans and instructional videos.
From seeing another business member area where they had a generic profile as a clipboard graphic with the ability to upload stats on their progress or a before and after picture. This does seem quite intricate but the question is will this plugin have that capability?
Our ideal scenario is anyone will be able to register and login to a level 0 ability which will ensure only those that are clients or paying new customers will see the full content at level 1, this we can see is achievable with S2M as it is but, We would then like clients to have it free and others to pay for level 1,
So the question here is how do allow clients into level 1 without paying, (because they are already paying for their Personal Training by other means) and charge for level 1 access to the public?

  • This reply was modified 4 years, 10 months ago by  Tony Sturgess.
Viewing 4 replies - 1 through 4 (of 4 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.