WordPress.org

Ready to get started?Download WordPress

Forums

Quick Count
Modifying detailed user display output not showing browser Version 1.21 | By M (6 posts)

  1. themoju
    Member
    Posted 2 years ago #

    Hello,

    Thank you so much for your quick count plug in. It is truly a wonderful enhancement to anyone's sites.

    Would it be possible to work together to change the detailed user information so the other people browser information is not displayed while keeping the other info of the detailed feature.

    ex: My site http://www.themoju.com

    #1 - Julien 66.203.207.67 first joined on July 22, 2012 @ 4:38 am last seen on July 22, 2012 @ 12:48 pm while browsing The MoJu using Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20100101 Firefox/13.0.1 AlexaToolbar/alxf-2.15

    #2 - Julien 216.252.75.148 first joined on July 22, 2012 @ 12:51 pm last seen on July 22, 2012 @ 12:51 pm while browsing The MoJu using Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11
    ---------

    Am looking for to replace with this

    #1 - Julien first joined on July 22, 2012 @ 4:38 am last seen on July 22, 2012 @ 12:48 pm while browsing The MoJu.

    #2 - Julien first joined on July 22, 2012 @ 12:51 pm last seen on July 22, 2012 @ 12:51 pm while browsing The MoJu.

    ----------

    That would be simply amazing

    Kindest Regards,

    Julien


    Using Version 1.21 | By Marko Martinović

    http://wordpress.org/extend/plugins/quick-count/

  2. Marko-M
    Member
    Plugin Author

    Posted 2 years ago #

    Hello,
    here you go ;)

    http://www.techytalk.info/wp-content/uploads/2012/07/quick-count-1.21-incognito.zip

    I'm working on next version with new features, caching plugins compatibility and a bit more configuration options like visitors incognito mode. If you can afford little donation would be appreciated, if not just enjoy!

    [ Signature moderated. ]

  3. themoju
    Member
    Posted 1 year ago #

    Thank you so much, it works great!

    Really appreciate it.

    We won't forget you once we are in the black.

    Thanks!

    Ju
    [ Signature moderated. ]

  4. Marko-M
    Member
    Plugin Author

    Posted 1 year ago #

    You're welcome :)

  5. maddogmcewan
    Member
    Posted 1 year ago #

    Hi Marko ... is there anyway to extract just the country name, (well preferably city woould be nice as well) from Quick Flag/Count ... I am trying to use the [quick-flag] shortcode to populate a text field called country, when user registers?

  6. Marko-M
    Member
    Plugin Author

    Posted 1 year ago #

    Hello, you need just Quick Flag installed to fetch country name. Code snippet based on code form Quick Flag FAQ:

    $ip_address = '000.000.000.000';
    
    $name = 'Unknown';
    global $quick_flag;
    if(isset($quick_flag) && is_object($quick_flag)){
        if(($info = $quick_flag->get_info($ip_address)) != false){
            $name = $info->name;
        }
    }
    
    echo $name;

    Replace 000.000.000.000 with your IP address. If you need to get current user IP you can use:

    $ip_address = '';
    if(isset($_SERVER['HTTP_X_FORWARD_FOR'])){
        $ip_address = $_SERVER['HTTP_X_FORWARD_FOR'];
    }  else {
        $ip_address = $_SERVER['REMOTE_ADDR'];
    }

    Good luck!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic