PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Custom content per every member

s2Member Plugin. A Membership plugin for WordPress®.

Custom content per every member

Postby iridiangroup » November 1st, 2011, 10:01 am

I am looking for a solution to automate the support for custom content for every user. Here is my scenario.

My site has a client login area.
When each client logs in, they are presented with a link that contains a running list of historic invoices (uploaded as pdfs). This list could be as small as 2-3 or as large as 50+. Every clients list is obviously specific to them so just protecting a single page or manually creating a new page highly inefficient and basically unworkable for the end user admin.

I can tell this plugin supports may aspect of what I need but I need help putting the pieces together.

Any help greatly appreciated, thanks!
User avatar
iridiangroup
Registered User
Registered User
 
Posts: 3
Joined: November 1, 2011

Re: Custom content per every member

Postby Cristián Lávaque » November 2nd, 2011, 1:55 am

I imagine you're showing this to the user in the Login Welcome page, right? WP Admin -> s2Member -> General Options -> Login Welcome

What is your question exactly? How to change the link to the PDF depending on the user?
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Custom content per every member

Postby iridiangroup » November 2nd, 2011, 9:07 am

I need the ability to have a separate protected page/area (per member) that they can go to view/download a listing of historic .pdf invoices. The website admin needs an easy way to administer the content within each members protected page/area.

Each member will have their own collection of invoices/content.
Does this make sense?
Thanks.
User avatar
iridiangroup
Registered User
Registered User
 
Posts: 3
Joined: November 1, 2011

Re: Custom content per every member

Postby Cristián Lávaque » November 2nd, 2011, 4:52 pm

I think I understand.

Will the invoices be all in one PDF or a PDF for each? Let's say they were a single PDF for each member:

- I'd put them in the s2Member files protected directory.
- I'd name the files using the user's name or user ID (unique number).
- I'd link to it from the Login Welcome page and change the link dynamically so it'll be unique for each member.
- I'd use he user's name or ID variable when creating the link to the file.
- I'd use a download key so he can download it. WP Admin -> s2Member -> Download Options -> Advanced

Let me know if this gives you some ideas to achieve what you want.

I hope it helps. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Custom content per every member

Postby ryanm100 » November 4th, 2011, 11:54 am

Hi,
I hope you dont mind me jumping in here.
Im a s2Member newbie and have exactly the same requirement, except it is not going to be invoices but will be documentation specific to the individual member.

Christian, is there any way that you could give me a quick run down of how I create the page for the user and how I give a individual user thier own pages?

Thanks

Ryan
User avatar
ryanm100
Registered User
Registered User
 
Posts: 3
Joined: November 4, 2011

Re: Custom content per every member

Postby Cristián Lávaque » November 5th, 2011, 10:28 pm

Well, I explained it in my previous reply here. :)

Another way it could be done is giving each user a unique custom capability (could be his username) and then protect the files with the custom capabilities.

viewtopic.php?f=36&t=586
WP Admin -> s2Member -> API / Scripting -> Custom Capability & Member Level Files
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest

cron