Additional Tips & Tutorials

DISCLAIMER: These articles provide additional tips beyond the scope of standard default settings. These articles are intended to assist developers and our support staff may not be able to provide additional guidance or troubleshooting on these topics.

GET parameter rule for $POST and $GROUP search results "&userid="
The userid URL parameter can be used to filter Post and Group search results by the member who created them. When a User ID is specified, the search result...
Get parameter rule for MEMBER search results "&parentid=123"
Member search results can be filtered by adding the parentid parameter to the search results URL. This returns sub-account members assigned to th...
How To Host & Include External CSS Stylesheets or Javascript Libraries
It's possible to include and reference 3rd-party CSS stylesheets and JavaScript Libraries. They can be included in many areas of the platform. The most...
How to Preselect a Top Level Category - Homepage Search Box
When using a homepage search module that allows visitors to select a Top-Level Category, the category field is empty by default and displays the placeholder...
Steps To Identify Which Custom Widget/Code Is Causing An Issue
How to Identify Which Custom Widget Is Causing an Issue If something is not working as expected on a website, it can often be due to customized code use...
How to Make a Link with a Member’s ref_id in the URL
With the Member Credits System add-on, it is possible to assign referral credits to members who refer to new sign-ups. When the "Assign Referral Cr...
PHP Code Snippet to Check If a Member/User is Logged In
The code snippet below will determine if members are currently logged into their accounts on the website. <?php // Check if the user is not logged in...
PHP Code Snippet to Check If a Member/User is NOT Logged In
The code snippet below will  determine if members are not currently logged into their accounts on the website. <?php // Check if the user is not logg...
PHP code snippet to check when a member/user is logged in AND matches another user value (such as a membership plan ID)
The following examples demonstrate how to display content only when a member is logged in and matches specific user criteria, such as a Membership Plan ID. ...
PHP Code Snippet to Declare a Variable and Fetch Data for the Currently Logged-in User
This PHP snippet retrieves the currently logged-in user's information and stores it in a variable for later use. The example uses the user's sessio...