If you have questions outside of the scope of this help file, require assistance, want to report a bug, request a feature or anything else, please email us.
The purpose of Trackurly is to provide an easy interface to users for restricting access to content. It was designed for use on membership based wordpress sites where not all content should be accessible by the public, such as with organizations or pay-sites.
TWPMC gives you the ability to restrict content to members, specific roles, or even
non-members on a per-page/per-post basis, or using shortcodes. You can still add
restricted pages to the navigation, and by default they will only show up to users
with the required access. This is an option however.
TWPMC also gives you the ability to customize search/archive pages, completing hiding
restricted posts/pages from search results if a user can’t access them, showing just
the title with a customizable message where the excerpt would be, or showing the title
TWPMC now gives admins the ability to set the visibility of certain widgets to members only
or non-members only, as well as create member only versions of all WordPress nav menus.
This plugin supports custom post types via an easy to use admin option.
Trackurly has only been tested with WordPress 2.9 and greater. Trackurly requires PHP4 or higher, although PHP5 is recommended.
3. Installation & Configuration
Installation is simple, just follow these steps and you should have no problems.
- Upload the trackurly and trackurly-roles folders included in the zip to your WordPress installation’s plugin folder. The default location should be /wp-content/plugins/
- Login to your WordPress administration panel, located by default at http://your-site-here.com/wp-admin/
- Click on Plugins on the left menu
- Scroll down to “Trackurly” & “Trackurly Roles” and click the “Activate” link for both.
- Now go to Plugins>>“Trackurly” and Visit options page.
- Set your default settings. An explanation of the settings can be found below.
Using the settings screen, you can set many default options for the
plugin, which is useful for saving time if most of your pages/posts
will have similar access settings. Most of these settings can be
overwritten on a per-page/per-post basis.
A) General Options
Make Blog Members Only
This setting will make the blog page itself, as well as any archive
pages restricted to members. Regular pages will still be accessible
to non-members however. This setting uses the is_home() and
is_archive() functions to determine blog/archive pages.
Members Blog Redirect
This setting is a website address to redirect users to if they try to
access the blog or archive pages with the “Make Blog Members Only”
setting active. By default, it will redirect to the login page.
Custom Post Types
This setting allows you to enable the Members Only controls for custom
post types. This setting only works if the custom post type uses the
standard WordPress interface. This option will not be displayed if there
are no custom post types.
B) Override Permisisons
Always Accessible By
This will override any per-page or per-post settings and allow the specified user
groups to always have access to members only content. This was to fix a scenario
in which a lesser user such as a Contributor could make content invisible to a
higher user such as an administrator.
C) Menu Options
Display In Menus
This setting determines how menu items work when a restricted page/post is added to the navigation and a user doesn’t have access to it. You can show the menu only if a user has access to it, or you can show it all the time. If you decide to show it all the time, a user who clicks on a menu item but does not have access to view it will be redirected.
D) Post/Page Default Options
Default Post State
This setting determines the default option when creating a new post. Public is the default setting and means the post will be accessible to all. Members Only restricts the post to authenticated users, and Non-Members restricts the post to unauthenticated users.
Posts: Only Accessible By
This setting determines the default option when creating a new page for which roles can access the post. This setting is only used if the post is set for Members Only. Roles are managed using plugins.
Default Page State
This setting determines the default option when creating a new page. Public is the default setting and means the page will be accessible to all. Members Only restricts the page to authenticated users, and Non-Members restricts the page to unauthenticated users.
This setting also acts as the default for custom post types.
Pages: Only Accessible By
This setting determines the default option when creating a new page for which roles can access the page. This setting is only used if the page is set for Members Only. Roles are managed using plugins.
This setting also acts as the default for custom post types.
Default Redirect For Members Only Pages
This is the default URL to redirect users to when they attempt to access a restricted page/post.
The link provided here is automatically appended with a redirect_to query argument, so that the page may redirect the user back if they wish.
E) Search/Archive Options
If you do not check “Show restricted post excerpts in search results?” the excerpt
will be replaced with text from the below options.
The page settings for this setting determine defaults for custom post types.
Search Excerpt (Posts)/Search Excerpt (Pages)
This text is displayed instead of the post/page excerpt in archive/search pages to users
without the required access, but only if the post/page is set to now show it’s
4. Add More User Roles and Permissions
Goto “Trackurly Roles” under plugins and from here you can add new user roles and set permissions.
There are two shortcodes available for use with this plugin.
[members][/members] will hide the content within them unless the user is
authenticated. Also works during searching, so that if a user searches for
a term found in the shortcodes, but is not logged in, the page/post will
not show up in the results.
This shortcode also has an option to specify a specific role, using the following
If you want to specify a list of roles that are able to view the content, the syntax uses the or keyword:
You can also specify a single role or multiple roles that cannot see it:
[nonmembers][/nonmembers] will hide the content within them unless the user is
not authenticated. Also works during searching, so that if a user searches for
a term found in the shortcodes, but is logged in, the page/post will
not show up in the results.
6. Posts/Pages Interface
By default, when you edit/add a new post/page, the control interface should be displayed on
the right, directly above the “Publish” box. If you do not see it, please ensure it is set to
display under the “Screen Options” panel.
The default interface is very small, and lacks many options. More options will appear once
you’ve checked an option.
If you select “Only accessible by members?”, several new options appear. The default values
are governed by the options screen, and an explanation of the options are available above
If you select “Only accessible by non-members?”, one new option appears. This is the URL
to redirect a user to, such as the my profile page or even a logout page.
7. Widgets Interface
Now, when you add certain supported widgets to a widget area, you have the option to select
the visibility of the widget as members only or non-members only. Currently, the only supported
widget is the Custom Menu widget. If you would like more widgets added, please contact the developer.
The additional options are limited. You can select “Only visible by members” and the widget will
only be displayed to users who are logged in. If you select “Only visibile by non-members” the
widget will only be displayed to users who are NOT logged in.
8. Nav Menus Interface
Admins now have the ability of creating a second version of any menu that their theme supports,
which will only be visible to logged in users.
The second menu in the list, “Primary Menu – Members Only” is automatically generated by this plugin. If
you assign it a menu that is not empty, it will be displayed instead of it’s regular version to any logged
Activating WordPress plugin in trackurly
Follow step by step guidelines, once you setup everything alright you are ready to use this plugin with Trackurly
1.Go to Administration->Settings->Plugins
2.Enable WordPress plugin under Integration Plugins and save it.
3. Now open the newly created WordPress Link on Administration->Settings->Plugins page.
4. Setup the necessary details about your WordPress installation. First of all checkmark “Use MySQL Db” then proceed with filling other details.
5. Please allow our IP 31.204.153.% in Remote MYSQL Host in your hosting control panel.
Click here for instructions to allow our IP in cPanel, plesk or directadmin
6.Now on scrolling you will find option to fill the WordPress auth Key, Secure Auth Key and like that, to find all these details open the wp-config.php file of your wordpress installation.
You will find a section with something like this:
Copy the respective values from this file
WordPress Auth Key,Wordpress Secure Auth Key, etc and fill in the given area.
7. Proceed with other onscreen instructions and click on “Save” Button at last. Now you are ready to use this plugin.
Using this plugin to secure Page/Post/Content
Now you are ready to use this. So we will learn here how to secure content with this plugin.
- Now First of all login to Trackurly as admin and goto: Assets>Integration. Click on : New Record
- Choose following for the options you see on next screen- Plugin: WordPress, WordPress Usergroup: Subscriber, Access Permission: (Choose any product you want to permit access)
- Now let we create a page in wordpress and make it accesible only to “subscribers”
- Now Signup in Trackurly with the product we set above. (Let we assume the product: Sample Subscription and signup a user:demo11 chosing this product)
- After making payment user will be able to login in trackurly with access to purchased product.
- Now let we try to open that wordpress page in browser which we made only accessible to subscribers. (Refer step3)
- As we restricted the access of this page only to subscribers, we will be redirected to wordpress login page. Login there as Trackurly user (i.e demo11 in this example)
- Now you get the access to the secured page of wordpress as you login in WP as subscriber.
Any user who buy the selected product will have access to wordpress as subscriber.
This is how this plugin works. You can restrict access to WP posts, pages or any content with the help of this plugin.