Item statistics module and plugin

Item statistics module and plugin

The Item statistics module and plugin for DJ-Classifieds will let see the stats of a particular advert. The stats display in a nice graph.


The module can display the graph/charts for every visitor or only for the ad's author - it's up to the administrator who should see the statistics: all guests visiting a site or the advert author only

  • all guests visiting the site, or
  • the advert author only

This module is not included in the All In One Package (DJ-Classifieds AIO) - you need to download it from the downloads section - this module is available for all active subscribers for free!

Installation

Download the module and the plugin ( download the package from here and unpack it, then install both files separately):

  • mod_djclassifieds_item_stats.zip
  • plg_system_djcfstats.zip

Go to Extensions -> Manage -> Install -> Upload Package File and install both files.


Edit and enable the plugin by going to Extensions -> Plugins, search for "DJ-Classifieds Item stats" in the search field and click the plugin's name to edit it.


Once you are in the plugin settings, you can change the configuration (1) and remember to Enable (2) the plugin; then you can save the settings (3).


Enable and place the statistics module

Now you need to choose the module position where the Item Stats module will be displayed.

In this article, you will find the module positions inside the DJ-Classifieds Item view that can be used to show this module.

I will use the "djcf-item-bottom " module position to display the Item Stats Module as I find it most useful for this tutorial.

OK, now let's locate the module, adjust the settings, place it in the proper module position and publish it.

Go to Extensions -> Modules -> Search for DJ-Classifieds Item Stats and open the module to set it up. 


Once you are editing the module:

  1. Give the module the title you like
  2. Adjust the settings; you can:
    • Make the module visible for ad author only (in case you want to let only the authors see the stats of the advert)
    • Show or hide total views (recurring and total)
    • Set the period of days you want the module to show statistics for the advert
    • Set the statistics graph height
    • Adjust the colors of the chart to fit your page design.
  3. Assign the module position (as mentioned earlier, I will use the "djcf-item-bottom " module position and set the status to " Published ."

Now open the " Menu Assignment " tab when still editing the module and set it to " On all pages ".

Since we're using only the module position available in DJ-Classifieds' Item view, we do not have to worry about more settings in this case.

Eventually, click "Save & Close" to save all settings.


[Please note that this solution does not gather the visits before installing the plugin as the included plugin manages to handle recording the visits. So, if you are running DJ-Classifieds site already and want to introduce this feature to your users or advertisers, you should consider firstly enable and run the plugin for a particular time and enable the module later. For example, if you want to display the stats for seven days, enable the plugin first and after seven days enable the module for your users]


      • Related Articles

      • DJ-Classifieds Admin Stats Module

        The DJ-Classifieds Admin Stats module overview This module is not included in the All In One Package (DJ-Classifieds AIO) - you need to download it from the downloads section - this module is available for all active subscribers for free! Check also ...
      • Logman -DJ-Classifieds plugin

        This integration of DJ-Classifieds with  LogMan from JoomlaTools lets you record the changes in DJ-Classifieds. With LogMan you can easily keep track of the changes on your website and what users have done.  The plugin logs adding, editing, deleting, ...
      • Statistics module

        Learn how to use the statistics module  Statistics module allows displaying stats about your classifieds site. Frontend view Backend view Module Class Suffix  Text before - text before the module Text after - text after the module Ads total - total ...
      • Registration plugin for DJ-Classifieds

        With registration plugin for DJ-Classifieds, you can overwrite regular Joomla registration and allow users to fill fields that will be then visible in their DJ-Classifieds profile. This plugin comes free with the subscription of the extension. You'll ...
      • DJ-MediaTools plugin

        This plugin allows using DJ-Classifieds ads as a source of DJ-MediaTools Albums. This plugin requires an installed DJ-Classifieds extension.  This plugin comes free with the subscription of the extension. You'll find it installed (you may need to ...