Creating Member & Affiliate Sections within WordPress

The “Member’s Home Page” (YourSite.com/dap/index.php) has 3 sections.

  • Member Links – %%USERLINKS%%
  • Affiliate Section – %%AFFDETAILS%%
  • Member Profile (username/password) – %%USERPROFILE%%

All three of these can be displayed within your WordPress blog.

Creating a “Member Links” Page within WordPress

Create a WordPress “Page” (not ‘post’) with the text %%USERLINKS%% in the body of the page, and a title of say, Your Links, and save the new page.

If you used the text “Your Links” for the title, then the actual link to this page would be YourSite.com/blog/your-links/

Creating a “Member Profile” Page within WordPress

Create a WordPress “Page” (not ‘post’) with the text %%USERPROFILE%% in the body of the page, and a title of say, User Profile, and save the new page.

If you used the text “User Profile” for the title, then the actual link to this page would be YourSite.com/blog/user-profile/

Creating an “Affiliate” Page within WordPress

Create a WordPress “Page” (not ‘post’) with the text %%AFFDETAILS%% in the body of the page, and a title of say, Affiliate, and save the new page.

If you used the text “Affiliate” for the title, then the actual link to this page would be YourSite.com/blog/affiliate/

That’s it!

18 comments ↓

#1 Ben on 08.30.09 at 7:46 pm

Is it possible to prevent these additional pages, e.g., Your Links, User Profile, etc, from appearing on the page menu unless the user is logged in?

Have tried adding the URL to a product which does ‘protect’ the page but the link still appears on the page menu.

Thanks,
Ben

#2 Ravi Jayagopal on 08.30.09 at 9:17 pm

Ben,

In this current version, you cannot prevent the links from appearing on your “Pages” menu.

In a future version, you should be able to do this. I have a plugin feature for this on the to-do list.

- Ravi

#3 Ben on 08.31.09 at 10:26 pm

Any idea when this might be available? We don’t want these additional pages to appear on the sales (home) page of the site for non-members so won’t be able to use this feature until they can be hidden.

Thanks,
Ben

#4 Christina on 09.20.09 at 10:28 pm

Hi Ben,

There is a plugin you can use that gives you complete control over your WordPress page links. You can choose which to show and in what order. It’s a GREAT plugin.

You can read about it here – http://wordpress.org/extend/plugins/lj-custom-menu-links/

That may help your situation. It won’t show the links once someone logs in, but maybe you can set up a special “hidden” page that users are redirected to once they log in through DAP.

Christina

#5 Mark on 11.15.09 at 2:01 pm

Ben,

What I’ve done is made the Member Profile page (I call it “My Account”) a child to the parent page of Login (link for “My Account is merely “/dap/”). So it only appears as an option when user hovers over the Login link. It will not be accessible unless the user has permission/logged in, and so does not really clutter the sales page/ sell area of your site. In fact, I prefer a prospective customer to see that there is a member page/client area. I think it shows you as more professional and organized. At any rate, here’s how I’ve done it:

http://lifestoryworkshop.info/login/

#6 Manuel on 01.27.10 at 5:53 pm

Hi all,

I use a single page “members” and then I post the three commands within that same page. Like this:

%%USERPROFILE%%
%%USERLINKS%%
%%AFFDETAILS%%

That way the user gets all his info on the same place. It still shows the “members” page at the menu, but it lets your visitors know that there is paid content.

…just my 2 cts!!

Manuel

#7 Peretz on 02.14.10 at 4:42 pm

Hi Ravi –

I’ve noticed that when I separate out the %%USERPROFILE%%
%%USERLINKS%%
%%AFFDETAILS%% into three separate pages on my site, the input and display fields for USERPROFILE get shortened to 10 characters.
On my AFFDetails, the affiliate links and redirects are shortened as well.

I’m using Thesis Themes but I don’t think it’s my custom CSS that’s causing this. Any ideas?

Thanks

Peretz

#8 Amy on 02.16.10 at 6:03 pm

Another plugin that excludes pages from menus: http://bit.ly/FaOHL

It works very well, on the page you’re creating just deselect a box that says “include this page in user menu” and your page will not show up in the menu.

#9 Frederick on 02.19.10 at 8:14 am

Ravi what i would really like to see is an affiliate link tag that i can use to create my promo tools section. If you know how butterfly marketing works you know what i mean.

You are doing pretty much the same autogenerating affiliate ID for every user, the only thing is missing is the ability to pre-made promotional emails, blog posts, banners and stuff with affiliate ID built inside.

If could be possibile to insert {aff_link} or {aff_link}&p=http://yoursite.com/somepage.html in the promotional materials this could be awesome.

#10 Ravi Jayagopal on 02.19.10 at 10:01 am

Fred,

You can already do this with DAP :-)

You can use the merge tag %%AFF_LINK%% in your emails.

You can also do %%AFF_LINK%%&p=/somepage.html

- Ravi Jayagopal

#11 Frederick on 02.19.10 at 10:21 am

I love you Ravi! :D
Haven’t see the %%AFF_LINK%% tag

Now i have to make it work with custom_functions.php in thesis.

#12 Ryan on 03.10.10 at 6:31 am

I am trying to change the size of the affiliate page (it is too big for my template). I have changed the size of the table and it edits the upper part to fit, but the lower section remains the same size. How do I change this to fit? Thank you!

#13 Ravi Jayagopal on 03.10.10 at 9:51 am

Ryan,

Ideally you shouldn’t try to modify the code, as a future upgrade will wipe out your changes.

Just create a new, wide, page template and use that for your affiliate page.

- Ravi Jayagopal

#14 Ryan on 03.10.10 at 10:27 am

Yeah, unfortunately I am not great at WordPress yet so do not know how to mess w/ the settings for just that page. Will give it a go, but would be nice if there was a simple way to edit the width of the affiliate page.

Is there an easy way to get the sidebar off of just one page w/ WordPress, would be an easy fix as it would then fit your affiliate template.

#15 Dora Tarver on 03.26.10 at 10:05 pm

Hi

How do I create an affiliate page for “Instant Affiliates” who are not members?

I read the “Instant Affiliates” information and see how to create a link that I give them but what if they are not members? How can an “Instant Affiliate” view their stats?

Thank you,
Dora

#16 George Tran on 05.13.10 at 7:41 pm

Ravi

If I am using your upsell plugin for Authorize.net…I need to allow my users the following functions:

- Update their credit card info
- Cancel their membership

I can’t see any options to do this on DAP (from the user side). I can see that I can suspend their “active” status…thus discontinuing their recurring on the member management screen on the admin.

Please advise. Thanks.

Sincerely
George

#17 Ryan on 05.13.10 at 9:53 pm

I agree these features would be great to see in an update.

#18 Lex on 07.20.10 at 5:38 pm

Hi Ravi,

I’m a new user. I’m wondering if it’s possible to update the static content of %%USERLINKS%% and %%USERPROFILE%%.

For example, I’d like to change or eliminate the static text “User Profile” at the top of the %%USERPROFILE%% form. How would I do this?

Thanks.

Leave a Comment