Fast Member Shortcodes

Payment Button Payment Button

This would render a payment button with the following values

  • product ‘1’
  • button configuration ‘1’
  • tracking code ‘abc’
  • payment method ‘1’

This would output a button on the page as below

[[fastmem product=”1″ button=”1″ track=”abc” pmethods=”1″]]

Payment Link

This would render a payment link with the following values

  • product ‘1’
  • payment method ‘1’
  • tracking code ‘abc’
  • link text ‘Click Here To Buy’
  • button configuration ‘1’

This would output a link on the page as below

[[fastmempaylink product=”1″ pmethod=”1″ track=”abc” title=”Click Here To Buy” but=”1″]]

Conditional Content Chunks

This would display a Content Chunk on the page with the following values

  • chunk id ‘1’
  • display condition ‘product 1 AND NOT product 2’

This would output the Content Chunk on the page when the member only has Product 1 AND NOT Product 2.

As soon as the system recognised a purchase for Product 2 the Content Chunk will no longer be displayed.

[[fastmemchunk id=”1″ cond=” {1} AND NOT {2} “]]

Protected Video Player

This will display a video on the page with the following values

  • path to the video
  • path to the start image
  • path to the end image
  • autoplay active
  • loop active
  • show controls
  • dimensions width 640px heigh 360px

You can choose to deactivate any value which has a “1” by deleting it or setting to “0”

If the url of the video is added to the protected content for a certain product the video will not show until the user has purchased that product.

You can use S3-hosted videos and they will be protected if you have entered your S3 details in the FastMember plugin settings. Width and height are maximum values, if shown on a smaller screen the player will responsively be scaled.

Partially Hidden Content [[fastmemhidden memmsg="1" prodid="1"]]
Add your hidden content here
[[/fastmemhidden]]

This will hide any content that is placed between the shortcodes (currently set as ‘Add your content here’) until the member has access to product 1.

Instead the content which is added to the product ‘Hidden Content Message’ will be displayed. This option can be turned off by changing the “1” to a “0”

Once they have purchased the product they will be shown the content between the shortcodes.

Multiple Products

You can also hide content for multiple products by separating the product IDs with a number as follows:

[[fastmemhidden memmsg="0" prodid="1,2,3"]
Add your hidden content here
[/fastmemhidden]]

So the above shortcode would display the content for products 1 or 2 or 3 but NOT display a the ‘Hidden Content Message’

Non Members

[[fastnonmemshow prodid="1,6,7"]
Add your non member content here
[/fastnonmemshow]]

This would display the content between the shortcodes for anyone who has NOT bought products 1 or 6 or 7

As soon as those products were purchased the content between the shortcodes would disappear

On Page Drip Content [[fastmemdrip product="1" dripday="7"]]
Add your drip content for day 7 here
[[/fastmemdrip]]

This will display the content between the shortcodes to members of product ‘1’ on the seventh day after they have purchased the product.

You can use multiple shortcode blocks on the same page with different drip days, displaying content incrementally as their membership progresses.

On Page One Time Offer [[fastmempgoto id="1510812254" p="0" nop="0" foru="1" d="5v"]]
Add your Offer here
[[/fastmempgoto]]

This will display the content between the shortcodes to anyone who visits page for a maximum of 5 page loads.

Dime Sale Counter

This will display the copies left of a product which is running a dime sale.

It will display as a numerical value on the page which can be styled using the WordPress editor (example below)

Current Price

This will display the current price of a product. It will adjust the price for any products which are running a dime sale.

It will display as a numerical value on the page which can be styled using the WordPress editor (example below)

Trial Price

This will display the trial price of a product.

It will display as a numerical value on the page which can be styled using the WordPress editor (example below)

Product Name

This will display the name of a product and can be styled using the WordPress post editor.

Coupon Input / Info

This will display a box to enter a coupon. If the coupon is already applied it will display the coupon and allow to remove it.

Download Link

This will display an encrypted text link to download the file from the url added.

When adding the link the file will auto appear in the protected content settings ready to be added to a product.

The link will only appear on the page when the member is part of that product

You can also add an image as a download button by removing the title between the quotes and adding the file path to the image.

All Download Links

This will display all download links for all products the member has access too.

This will display all download links for the product id specified.

Login Form

This shortcode will render a login form when your member is not logged in. When they submit the form it will take them to the members home page of the product set.

When they are logged in it will display their name and a welcome greeting.

If you don’t choose a product here, the membership/product that a member belongs to will automatically be selected.

The member will be redirected to the the home page of the the product with the highest priority in your product list.

If you want to control which product home page a member (who might have several products) is going to be redirected after login, you can choose a product here.

The login form (or welcome message) will be displayed as below:

[[fastmemloginform]]

Member Info

You can use the following shortcodes to display the logged in member info on the page

Visitors Content [[fastvisitorshow]]
Add your non member content here
[[/fastvisitorshow]]

This will display the content between the shortcodes to any site visitor and hide it when they are logged in

Confirmation

This will display the message below which is displayed when you choose a free product with verification.

A confirmation message has been sent to your email address.
Please verify your email by visiting the link sent to you.

Not received the email?

The shortcode should be added to the thankyou page of the free product and will only display when a user has submitted the registration form and is directed to the thankyou page.

It is triggered on the page by the url parameter

?action=sentconfrmlink&id=11

id=11 will the number of the subscriber who has submitted the form.

If the url parameter is not present it will not show the message

Signup Form

This will display a registration form for a free product as follows.

It can be simplified by hiding certain fields by changing the “0” to “1”

For example

Will output a form with only the email field

You can also change the button text, add extra fields separated by commas and set a redirect url which will overide the default thankyou page set in the product

The extra fields will be saved in the FastMember database and can be exported with the members info from the members management page.

Will output a form as below with the values added.

 

Upgrade Button

This will add a button to a page which is displayed to logged in users and allow them to register for a free product without needing to enter their email address.

This can use useful for giving members access to bonus products only when they click the button.

It can also be used add a member to a free product and initiate an autoresponder sequence the moment they press the button.

Dynamic Product Grids

The following shortcode will display the products grid for all products using a 4 column layout, but products 3 and 13 will be hidden from display.

The following shortcode willl display the products grid all purchased products using a 4 column layout. Product 3 will be hidden. The button color has been changed using the hex code.

You can replace the 0 product with any product ID’s separated by a comma.

In this example only product 3 will be displayed to customers using a single column layout.

Members Account Area [fm-my-account]

This will display a members account and billing portal where members can see their current plans and manage their subscriptions and payment details.

 

Affiliate System Shortcodes

Affiliate Stats Affiliate Stats

This will display a table of stats for the logged in affiliate for all products

[fastmemaff chunk=”stats” product=”0″]

This will display the stats for a specific product

[fastmemaff chunk=”stats” product=”1″]

Affiliate Link

This will display the affiliate link for the logged in user for any product and the sites home page

[fastmemaff chunk=”link” product=”0″ page=”0″]

 

This will display the affiliate link for a specific product and specific landing page

[fastmemaff chunk=”link” product=”1″ page=”0″]

Affiliate Info

The following shortcodes will display the logged in affiliates registered info

Withdrawl Stats

This will display the stats of any available withdrawls your affiliates have made.

If they have not yet made a withdrawl it will display a message

[fastmemaff chunk=”withdrstats”]

Withdrawl Form

When the logged in affiliate has commissions pending this will display a form allowing your affiliates to request a withdrawl

If no commissions are pending it will display a message indicating the requirements for payment

[fastmemaff chunk=”withdrform”]

Payment Details Form

This will display the payment details form for all products which have FastPay affiliate type selected.

[fastmemaff chunk=”ppdetails” product=”0″]

This will display the form for a specific product

Registration Form

This will display a registration form with the following values

  • make the affiliate an affiliate for all products
  • redirect them to the page id “94”
  • set the affiliate commission at 50%

This will display a form which will register the affiliate to product ID 11

Login Form

This will display a registration form with the following values

  • Login the affiliate for all products
  • redirect them to the page id “305”

[fastmemaff chunk=”loginform” product=”0″ page=”305″]

This will display a form which will log in the affiliate for product ID 11 and redirect to the specified page