Author: admin

  • Community Answers built-in module positions

    Community Answers has built in module positions where you can publish your ads and modules. This gives great flexibility to insert your custom content/ads without hacking the core. Here are the available module positions (names self explanatory) Listing Page questions-list-above-list: Displays the module above the questions listquestions-list-below-list: Displays the module below the questions listquestions-list-after-question-X: Displays the module in…

  • Using CjForum user avatars in your component

    Prerequisites: Add the required CjForum API library: require_once JPATH_ROOT.’/components/com_cjforum/lib/api.php’; Now get the profile API: $profileApi = CjForumApi::getProfileApi(); Syntax: getUserAvatar Syntax of the getUserAvatar API call to get full HTML image tag linked to CjForum profile page of the user: getUserAvatar($identifiers, $size = 48, $username = ‘name’, array $attribs = array(), array $image_attribs = array()) $identifiers…

  • Using CjForum activity stream

    Prerequisites: Add the required CjForum API library: require_once JPATH_ROOT.’/components/com_cjforum/lib/api.php’; Now get the Stream API: $streamApi = CjForumApi::getStreamApi(); Creating rules XML file A rules xml file needs to be created with all rules which you would like to provide with your component. An example of the rules xml file is: <?xml version=”1.0″ encoding=”UTF-8″?> <cjforum> <activity_type> <name>com_cjforum.topic_reply</name>…

  • Tags which can be used in CjForum email templates

    CjForum sends emails using templates that you define in the backend. The following tags can be used in your email templates. In subject: {TOPIC_TITLE} – this tag will be replated with actual topic title In description: {NAME} – Receiver name {AUTHOR_NAME} – Name of the user who performed an activity such as creating topic, replying,…

  • Setting up user points for various activities

    CjForum points system allows any Joomla extension to award points to users based on the activity they perform such as writing an article, reading an article, asking a question, voting on a poll etc. To make it possible, it comes with an extendable points rules system which can be used by the extensions to award…

  • Retrieve one or more user profiles

    Prerequisites: Add the required CjForum API library: require_once JPATH_ROOT.’/components/com_cjforum/lib/api.php’; Now get the profile API: $profileApi = CjForumApi::getProfileApi(); Syntax: Full Syntax of the getUserProfileAPI call: getUserProfile($identifiers, $force_reload = false) $identifiers – int/array or intsSingle user id or array of user ids for which the user profiles need to be fetched. If array of user ids given,…

  • Reporting/Flagging posts in CjForum

    Starting v3.1.2, CjForum supports user reporting of topics and replies which they think are inappropriate. Users can see a new Report button when you enable “Allow Reporting” option in the CjForum options. Users need to enter their name, email id (auto-populated if logged-in) and the report description. Once they send the report, an email will…

  • Overriding CjForum layouts

    CjForum comes by default with a couple of themes, one based on Bootstrap v2 and other based on Bootstrap v3. You can override any of these themes to create your own theme. How to override a theme To override a theme, copy a theme folder from components/com_cjforum/layouts/themename to /templates/yourtemplatename/html/layouts/com_cjforum/themename. Each theme has set of php files for complete…

  • Moderating posts in CjForum

    CjForum moderation features are built into the permission system which allows greater control on which user group you want to allow post moderation. To access permission settings, go to Components -> CjForum -> Click on Options button on the toolbar and click on the Permissions tab. The following permissions are used for moderating topics and…

  • Migrating From Kunena

    You can migrate categories, topics, user profiles including forum signatures, user avatars, thank you flags. Follow below steps: Alert! Please make a backup of your database before proceeding further. Go to Components->CjForum->Migrate In “Select Component” option, select Kunena Forum Select Topics, Avatars & Users options depending on your requirement Click Start Migration button to start…

  • Migrating From CjBlog

    You can migrate CjBlog user profiles, avatars, about text, points (archive). Follow below steps: Alert! Please make a backup of your database before proceeding further. Go to Components->CjForum->Migrate In “Select Component” option, select CjBlog Select Avatars, Users & Points options depending on your requirement Click Start Migration button to start the migration process. Wait till…

  • Link user names to CjForum user profile in your component

    Prerequisites: Add the required CjForum API library: require_once JPATH_ROOT.’/components/com_cjforum/lib/api.php’; Now get the profile API: $profileApi = CjForumApi::getProfileApi(); Syntax: Full Syntax of the getUserProfileLink API call: getUserProfileLink($identifiers, $username = ‘name’, $path_only = false, $attribs = null, $xhtml = true, $ssl = null) $identifiers – int/array or int Single user id or array of user ids for…

  • Installing and configuring CjForum

    Installation CjForum package includes the main component, modules, and plugins required to build the full forum feature. A quick video guide to set up the component. Follow the steps below for installing the component. Configuration Creating Forums Creating Menu Items See more about the menu structure here:Configure Search Engine Friendly URLs for CjForum Syncing Users

  • Extending CjForum using plugin events

    CjForum is not just full featured but also extendable. There are many plugin events the component triggers which you can use to extend the functionality provided by the component. Creating a plugin Please read the following documentation to know about creating a Joomla! plugin. The process is same for any plugin.https://docs.joomla.org/J2.5:Creating_a_Plugin_for_Joomla The best way to…

  • Extending CjForum user profiles with custom profile fields

    CjForum can support extending the profiles with custom profile fields. Available since v1.0.8. Creating CjForum Plugin Please checkout the below page to know how you can create CjForum pluginhttps://wiki.corejoomla.com/Extending_CjForum_using_plugin_events onProfilePrepareForm event CjForum triggers onProfilePrepareForm event before rendering the profile form. This event can be used to inject your own custom profile fields into the form.…

  • Enable social login in CjForum

    CjForum has built-in support for authenticating and login users via social platforms such as Facebook, Google, LinkedIn and Twitter Enable Social Authentication To enable social authentication, follow the below steps Go to Components -> CjForum Click on Options button on the toolbar, this will open the component options Click on the Profile tab to show…

  • Customizing category image and icon

    CjForum allow you to configure category icon in two ways. Upload image Use FontAwesome icon Upload Icon Go to Components->CjForum->Categories Click on your category link Click Options tab Select and upload image in the Image option Clear your server and browser cache Use FontAwesome Icon Make sure “Content – CjForum” plugin is enabled in Plugin…

  • Custom module positions in CjForum

    CjForum comes with some predefined module positions which allow you to embed any of your modules such as advertisements into them. Since standard module positions in Joomla does not give you enough freedom to embed your modules into the actual component content, CjForum defines its own module positions. They are explained below. In Forums (Index)…

  • Configuring user ranks

    CjForum has built-in ranks system to rank users based on their contribution. Ranking is an important part of community building as it will allow your users to contribute more to achieve new ranks over time. Types of Ranks Standard Special Standard Ranks These are the ranks which are automatically assigned based on number of posts…

  • Configure Search Engine Friendly URLs for CjForum

    Search engine optimization is the key in developing any forum extension. CjForum comes with many search engine optimizations built-in such as proper meta tags, titles, microdata elements for topics, authors etc. However few things which you have to take care of in order to make these things complement to your SEO optimizations. Url structure is…

  • Configure CjForum personal messaging (PM) system

    CjForum includes a built-in personal messaging system designed to facilitate private conversations among forum members. Unlike an email server or a comprehensive messaging platform, the Personal Messaging (PM) system is specifically tailored for one-to-one communication within the forum community. Enabling the PM System To activate the personal messaging system, utilize the permissions configurations. This provides…

  • CjForum Joomla! articles integration

    CjForum topics can be shown in Joomla! articles using the content plugin bundled with the CjForum package. Enabling Content Plugin Go to Extensions -> Plugins Filter the plugins with type as Content Enable “Content – CjForum” plugin Using Content Plugin Now you can embed the desired topic into your Joomla! articles. Add the below shortcode…

  • CjForum Changelog

    5.0.12 (27-Sep-2024) * Sync topics fails to sync topics* Forum rules page shows error 5.0.11 (24-May-2024) + Added button to sync topic reply counts* Fixed issue with migration script 5.0.10 (12-May-2024) + Added .htaccess file to restrict direct access to attachments* Topics do not display if mysql strict dates enabled* Fixed issue with selecting admin…

  • Award points to users using CjForum Points System

    Prerequisites: Add the required CjForum API library: require_once JPATH_ROOT.’/components/com_cjforum/lib/api.php’; Now get the Points API: $pointsApi = CjForumApi::getPointsApi(); Creating rules XML file A rules xml file needs to be created with all rules which you would like to provide with your component. An example of the rules xml file is: <?xml version=”1.0″ encoding=”UTF-8″?> <cjforum> <points_rule> <name>com_cjforum.new_topic</name>…

  • Getting started guide to CjFit

    The CjFit app needs integration with Fitbit API. To integrate Fitbit, you need to create an app on Fitbit site and enter the API keys in CjFit options. Setup Fitbit App Go to https://dev.fitbit.com/apps Create a new app with the details mentioned in your CjFit dashboard page While creating your app, please create a subscriber as…

  • Creating CjFit Challenges

    One of the important features of CjFit is Challenges. The idea behind this feature is to encourage your users to do more workouts by creating a challenge for your community members. How it works? The challenge can be created to ask users to perform specified workout or a combination of workouts. For example, you can…

  • CjFit Changelog

    v1.0.3 (2018-01-14) + New option to show selected article on dashboard page when profile is not connected ^ Disable email settings by default in activity plugin ^ Allow deleting challenges ^ Updated default character set of tables to utf8mb4_unicode_ci * Activity stream description of personal goals contains placeholder text instead of actual values * Username…

  • Using CjBlog profile system

    Prerequisites $api = JPATH_ROOT.’/components/com_cjblog/api.php’; if(file_exists($api)) { include_once $api; //rest of integration code here } Prefetching Users If you are loading multiple user profiles at a time, it is good idea to pre-fetch all such user profiles at once which will save some DB calls and thereby improves performance.Pre-fetching CjBlog user profiles Get User Profile Link…

  • Using CjBlog avatars in your custom component

    Prerequisites $api = JPATH_ROOT.’/components/com_cjblog/api.php’; if(file_exists($api)) { include_once $api; //rest of integration code here } Prefetching Users If you are loading multiple user avatars at a time, it is good idea to pre-fetch all such user profiles at once which will save some DB calls and thereby improves performance.Pre-fetching CjBlog user profiles Loading Single User Avatar…

  • Pre-fetching CjBlog user profiles

    Prerequisites $api = JPATH_ROOT.’/components/com_cjblog/api.php’; if(file_exists($api)) { include_once $api; //rest of integration code here } Prefetching Users If you do not want to load all avatars at a time, you can prefetch the users so that you can get the user profile/avatar at any point of time during Joomla request life cycle. Note that getting multple…