Show Stats to Profile Owner

0
Hi, I am interested in using this with Mosets Tree. Please can you advise if this system can be used to show profile statistics to the profile owner. I.e. so that they login to their profile and then they can see how many hits that they have had.

Thanks in advance.
Responses (12)
  • Accepted Answer

    Friday, May 25 2012, 07:10 AM - #Permalink
    0
    hello!

    yes, this is totaly possible. the Mosets Tree plugin has the options "filter: current autor listings" both for rankings and for graphics, so YES you can do this! :)
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, June 12 2012, 04:37 PM - #Permalink
    0
    Hello,

    i've installed the mosets plugin, but i can't see this "filter".

    Where i can find it?

    Regards,
    David
    Attachments:
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, June 12 2012, 04:45 PM - #Permalink
    0
    have you installed the core plugin (mandatory) and the modules?
    the filter appears on the MODULE when you create one (not on the plugin parameters, which is what you just showed me).

    Germi
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, June 12 2012, 04:58 PM - #Permalink
    0
    Thanks for your fast support.

    I've installed...

    - plg_contentstats_1.4.0.zip
    - mod_content_statistics_compare_1.3.1_pro.zip
    - mod_content_statistics_individual_1.3.2_pro.zip
    - mod_content_statistics_1.3.1_pro.zip
    - plg_contentstats_com_mtree_1.4.0.zip

    ... and i published any of these.

    I would like only the owner of an entry may even see statistics for his entry. Regular visitors to the site will not see the statistics. As well as other registered users.

    Where exactly do I change this?

    Regards,
    David
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, June 12 2012, 05:02 PM - #Permalink
    0
    well first of all you need to set up the MODULE, because it's what shows the information.

    what statistics you want to show? a graphic with evolution in time of the hits, on the very listing page?

    there is actually not a way to set a module to be seen only for 1 particular user in Joomla if you know what I mean. we could customize some code for this.

    but first, tell me: what is the statistics data you are planning to show?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, June 12 2012, 05:09 PM - #Permalink
    0
    Oh, ok. I missunderstand your second post on this threat. So i had to code some uniqe code for my project. Its easy. I have a away to show a modul-position only if the visitor is the owner of the mosets-tree listing.

    thanks for your support!
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, June 12 2012, 05:12 PM - #Permalink
    0
    fantastic, then! :) you will have no problems in this case :)
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, June 13 2012, 11:14 AM - #Permalink
    0
    Hi germi,

    i have it done. I think this is a most wanted feature for Mtree content statistic. Can i publish the code here?

    Regards,
    David
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, June 13 2012, 12:21 PM - #Permalink
    0
    great!
    yes you can publish the code here if you want (but only the part that you added!)
    The reply is currently minimized Show
  • Accepted Answer

    Monday, July 02 2012, 12:29 PM - #Permalink
    0
    Hi,

    sorry for my late respone. This is the code that i use to show the module position only if "viewer" is admin or owner of a mtree listing.


    $my = &JFactory::getUser();
    $owner = $this->fields->getFieldById(3);

    if ( $my->usertype == 'Super Administrator' || ($my->id == $owner->getValue(1) )) {
    ?>



    $document = &JFactory::getDocument();
    $renderer = $document->loadRenderer('module');
    $params = array('style'=>-2);

    $position = 'user9';
    $contents = '';
    foreach (JModuleHelper::getModules($position) as $mod) {
    $contents .= '
    ';
    $contents .= '

    ' . $mod->title . '

    ';
    $contents .= $renderer->render($mod, $params);
    $contents .= '
    ';
    }

    echo $contents;
    }
    ?>


    But now i have a new question. Is it possible to view statistics in the module about how often was used the contact to the owner feature in mtree listing?
    The reply is currently minimized Show
  • Accepted Answer

    Monday, July 02 2012, 12:31 PM - #Permalink
    0
    great work! :)

    about your question:
    no, this is not included in the module, recording the "contact" actions. this is something we can think about for an upgrade for the plugin.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, July 20 2012, 11:54 PM - #Permalink
    0
    Hello

    I would also like to be able to set it up like this for Sobipro - for the user to only see statistics for their own profile - not current profile statistics when they visit anyones profile.

    Do you have any suggestions on how this could be implemented for Sobipro?

    Thanks
    The reply is currently minimized Show
Your Reply