Page 1 of 1

Custom content per every member

PostPosted: November 1st, 2011, 10:01 am
by iridiangroup
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!

Re: Custom content per every member

PostPosted: November 2nd, 2011, 1:55 am
by Cristián Lávaque
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?

Re: Custom content per every member

PostPosted: November 2nd, 2011, 9:07 am
by iridiangroup
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.

Re: Custom content per every member

PostPosted: November 2nd, 2011, 4:52 pm
by Cristián Lávaque
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. :)

Re: Custom content per every member

PostPosted: November 4th, 2011, 11:54 am
by ryanm100
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

Re: Custom content per every member

PostPosted: November 5th, 2011, 10:28 pm
by Cristián Lávaque
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