Results 1 to 7 of 7

Thread: Is this possible in SugarCRM Community Edition?

  1. #1
    AEsposito is offline Member
    Join Date
    May 2008
    Posts
    7

    Default Is this possible in SugarCRM Community Edition?

    Hello all!
    I am a new user to sugar and I am looking to see if something can be done with sugar that I see on various forum boards.
    My company has recently deployed this and I was chosen to be the administrator for the lack of a better term and what I was looking for is thee a way to have a list of the users who are logged into sugar like you see on the forum boards?

    I do not write code or nor am I the person who installed it. I am just the person who is n charge of changing the options and general overseeing but my boss wants me to make sure that at the very least people have the application logged on the machines.
    This also a way for me as well to see what users are on at the time if there is any potential problems with the system that is possibly due to something that they did.
    Hope this was clear.

    Thanks in advance!

  2. #2
    SugarDev.net is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    1,401

    Default Re: Is this possible in SugarCRM Community Edition?

    Yes it is: http://www.sugarforge.org/frs/?group_id=195

    Install the who's online module.
    Developers go here
    Businesses go there (Dutch)

    Modules:
    SugarDev.net Developer Tools | Config | Dutch Language Pack
    "Nothing gets fixed unless there is a bug"

  3. #3
    AEsposito is offline Member
    Join Date
    May 2008
    Posts
    7

    Thumbs up Re: Is this possible in SugarCRM Community Edition?

    Thanks a bunch will try it out now!

  4. #4
    AEsposito is offline Member
    Join Date
    May 2008
    Posts
    7

    Default Re: Is this possible in SugarCRM Community Edition?

    Well I tried it and it is not compatible with 5.0d
    Thanks anyway though.

  5. #5
    SugarDev.net is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    1,401

    Default Re: Is this possible in SugarCRM Community Edition?

    There's an error in the package (and it's not maintained anymore it seems).

    Please download the zip (50b.zip) file, extract it, and edit manifest.php to this:
    PHP Code:
    <?php
    if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
    /*****************************************************************************
     * The contents of this file are subject to the RECIPROCAL PUBLIC LICENSE
     * Version 1.1 ("License"); You may not use this file except in compliance
     * with the License. You may obtain a copy of the License at
     * http://opensource.org/licenses/rpl.php. Software distributed under the
     * License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND,
     * either express or implied.
     *
     * You may:
     * a) Use and distribute this code exactly as you received without payment or
     *    a royalty or other fee.
     * b) Create extensions for this code, provided that you make the extensions
     *    publicly available and document your modifications clearly.
     * c) Charge for a fee for warranty or support or for accepting liability
     *    obligations for your customers.
     *
     * You may NOT:
     * a) Charge for the use of the original code or extensions, including in
     *    electronic distribution models, such as ASP (Application Service
     *    Provider).
     * b) Charge for the original source code or your extensions other than a
     *    nominal fee to cover distribution costs where such distribution
     *    involves PHYSICAL media.
     * c) Modify or delete any pre-existing copyright notices, change notices,
     *    or License text in the Licensed Software
     * d) Assert any patent claims against the Licensor or Contributors, or
     *    which would in any way restrict the ability of any third party to use the
     *    Licensed Software.
     *
     * You must:
     * a) Document any modifications you make to this code including the nature of
     *    the change, the authors of the change, and the date of the change.
     * b) Make the source code for any extensions you deploy available via an
     *    Electronic Distribution Mechanism such as FTP or HTTP download.
     * c) Notify the licensor of the availability of source code to your extensions
     *    and include instructions on how to acquire the source code and updates.
     * d) Grant Licensor a world-wide, non-exclusive, royalty-free license to use,
     *    reproduce, perform, modify, sublicense, and distribute your extensions.
     *
     * The Original Code is: AnySoft Informatica
     *                       Marcelo Leite (aka Mr. Milk)
     *                       2005-10-01 mrmilk@anysoft.com.br
     *
     * The Updated Code is:  Kenneth Brill
     *                       2006-02-04 ken.brill@gmail.com
     *
     * The Updated Code is:  Phillip Cole
     *                       2006-02-05 filcole@gmail.com
     *                       Added en_gb & ge_at language file.
     *                       Added en_gb, fr_FR, ge_at to manifest
     *
     *                       2006-02-05 filcole@gmail.com
     *                       Added fi_fi language file contributed by Markku Suominen
     *                       2006-03-02 filcole@gmail.com
     *                       fr_fr needs to be fr_FR to fit in with French lang pack
     *                       2006-03-02 filcole@gmail.com
     *                       Incorporated updated fr_FR translation by pierreavista
     *                       Made compatible with PRO and ENT editions of SugarCRM
     *                       2006-05-30 filcole@gmail.com
     *                       Incorporated updated es_es translation by Jose Maldonado
     *                         josemaldonado@palmtree.cc
     *                       Made compatible with sugar 4.2.0d
     *
     *                         Made Compatible with 4.2.1 and 4.5
     *
     * The Initial Developer of the Original Code is AnySoft Informatica Ltda.
     * Portions created by AnySoft are Copyright (C) 2005 AnySoft Informatica Ltda
     *
     * Nearly a complete rewrite by Ken Brill (c)2006 SugarCubed
     * Portions created by Ken Brill are Copyright (C) 2006 Kenneth Brill, SugarCubed
     *
     * All Rights Reserved.
     ********************************************************************************/

    $manifest = array(

        
    'acceptable_sugar_versions' => array (
            
    'regex_matches' => array (
                
    => "4\.2\.1.*",
                
    => "4\.5\.0.*",
                
    => "4\.5\.1.*",
                
    => "5\.0\.0.*",
            ),
        ),
        
    'acceptable_sugar_flavors' => array (
            
    => 'OS',
            
    => 'PRO',
            
    => 'ENT',
            
    => 'CE',
        ),
        
    'name'                 => "Whos Online",
        
    'description'         => "Whos Online Admin Panel",
        
    'author'             => 'Kenneth Brill & Contributors',
        
    'published_date'    => '02/18/08',
        
    'version'             => '5.0.0b',
        
    'type'                 => 'module',
        
    'icon'                 => 'include/images/CRMUpgrades.gif',
        
    'is_uninstallable' => true,
        );
    $installdefs = array(
        
    'id'=> 'WhosOline',
        
    'image_dir'=>'<basepath>/include/images',
        
    'copy' => array(
            array(
    'from'=> '<basepath>/newfiles/modules/Administration/WhosOnline.php',
                  
    'to'=> 'modules/Administration/WhosOnline.php',
            ),
            array(
    'from'=> '<basepath>/include/images/CRMUpgrades.gif',
                  
    'to'=> 'include/images/CRMUpgrades.gif',
            ),
            array(
    'from'=> '<basepath>/include/images/WhosOnline.gif',
                  
    'to'=> 'themes/default/images/WhosOnline.gif',
            ),
        ),
        
    'language'=> array(
            array(
    'from'=> '<basepath>/language/Administration/mod_strings_en_us.php',
                  
    'to_module'=> 'Administration',
                  
    'language'=>'en_us'
            
    ),
            array(
    'from'=> '<basepath>/language/Administration/mod_strings_es_es.php',
                  
    'to_module'=> 'Administration',
                  
    'language'=>'es_es'
            
    ),
            array(
    'from'=> '<basepath>/language/Administration/mod_strings_fr_FR.php',
                  
    'to_module'=> 'Administration',
                  
    'language'=>'fr_FR'
            
    ),
            array(
    'from'=> '<basepath>/language/Administration/mod_strings_ge_at.php',
                  
    'to_module'=> 'Administration',
                  
    'language'=>'ge_at'
            
    ),
        ),
        
    'custom_fields'=>array(
            array(
                
    'name' => 'user_laston',
                
    'label' => 'User Last On:',
                
    'type' => 'text',
                
    'max_size' => 254,
                
    'require_option' => 'optional',
                
    'default_value' => '',
                
    'ext1' => '',
                
    'ext2' => '',
                
    'ext3' => '',
                
    'audited' => 0,
                
    'module' => 'Users',
            ),
            array(
                
    'name' => 'user_module',
                
    'label' => 'User Module:',
                
    'type' => 'text',
                
    'max_size' => 254,
                
    'require_option' => 'optional',
                
    'default_value' => '',
                
    'ext1' => '',
                
    'ext2' => '',
                
    'ext3' => '',
                
    'audited' => 0,
                
    'module' => 'Users',
            ),
            array(
                
    'name' => 'user_ip',
                
    'label' => 'User IP:',
                
    'type' => 'text',
                
    'max_size' => 254,
                
    'require_option' => 'optional',
                
    'default_value' => '',
                
    'ext1' => '',
                
    'ext2' => '',
                
    'ext3' => '',
                
    'audited' => 0,
                
    'module' => 'Users',
            ),
        ),
        
    'administration'=> array(
            array(
    'from'=>'<basepath>/administration/admin_gadgets.php',
            ),
        ),
        
    'menu'=> array(
            array(
    'from'=> '<basepath>/menus/whosonline-menu.php',
                  
    'to_module'=> 'application',
            ),
    //        array('from'=> '<basepath>/menus/whosonline-menu.php',
    //              'to_module'=> 'Accounts',
    //        ),
    //        array('from'=> '<basepath>/menus/whosonline-menu.php',
    //              'to_module'=> 'Activities',
    //        ),
    //        array('from'=> '<basepath>/menus/whosonline-menu.php',
    //              'to_module'=> 'Bugs',
    //        ),
    //        array('from'=> '<basepath>/menus/whosonline-menu.php',
    //              'to_module'=> 'Calendar',
    //        ),
    //        array('from'=> '<basepath>/menus/whosonline-menu.php',
    //              'to_module'=> 'Calls',
    //        ),
    //        array('from'=> '<basepath>/menus/whosonline-menu.php',
    //              'to_module'=> 'Cases',
    //        ),
    //        array('from'=> '<basepath>/menus/whosonline-menu.php',
    //              'to_module'=> 'Contacts',
    //        ),
    //        array('from'=> '<basepath>/menus/whosonline-menu.php',
    //              'to_module'=> 'Dashboard',
    //        ),
    //        array('from'=> '<basepath>/menus/whosonline-menu.php',
    //              'to_module'=> 'Documents',
    //        ),
    //        array('from'=> '<basepath>/menus/whosonline-menu.php',
    //              'to_module'=> 'Emails',
    //        ),
    //        array('from'=> '<basepath>/menus/whosonline-menu.php',
    //              'to_module'=> 'Home',
    //        ),
    //        array('from'=> '<basepath>/menus/whosonline-menu.php',
    //              'to_module'=> 'Meetings',
    //        ),
    //        array('from'=> '<basepath>/menus/whosonline-menu.php',
    //              'to_module'=> 'Notes',
    //        ),
    //        array('from'=> '<basepath>/menus/whosonline-menu.php',
    //              'to_module'=> 'Opportunities',
    //        ),
    //        array('from'=> '<basepath>/menus/whosonline-menu.php',
    //              'to_module'=> 'Project',
    //        ),
    //        array('from'=> '<basepath>/menus/whosonline-menu.php',
    //              'to_module'=> 'ProjectTask',
    //        ),
    //        array('from'=> '<basepath>/menus/whosonline-menu.php',
    //              'to_module'=> 'Prospects',
    //        ),
    //        array('from'=> '<basepath>/menus/whosonline-menu.php',
    //              'to_module'=> 'Tasks',
    //        ),
    //        array('from'=> '<basepath>/menus/whosonline-menu.php',
    //              'to_module'=> 'Users',
    //        ),
        
    ),

    );
    ?>
    (just remove everything and place this as the file's content)

    Now, zip the files (all, with the new manifest.php) and install that one in SugarCRm. It should work.
    Developers go here
    Businesses go there (Dutch)

    Modules:
    SugarDev.net Developer Tools | Config | Dutch Language Pack
    "Nothing gets fixed unless there is a bug"

  6. #6
    AEsposito is offline Member
    Join Date
    May 2008
    Posts
    7

    Default Re: Is this possible in SugarCRM Community Edition?

    That worked like a charm!

    Thanks a bunch!

  7. #7
    SugarDev.net is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    1,401

    Default Re: Is this possible in SugarCRM Community Edition?

    Great!

    To stay in open source mode: you could contact the maker of the module that there's an error in his module .
    Developers go here
    Businesses go there (Dutch)

    Modules:
    SugarDev.net Developer Tools | Config | Dutch Language Pack
    "Nothing gets fixed unless there is a bug"

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Query Failed: AND users.id = '1'::MySQL error 1064:
    By artco001 in forum Installation and Upgrade Help
    Replies: 63
    Last Post: 2009-05-07, 05:56 AM
  2. Replies: 1
    Last Post: 2008-10-27, 01:24 AM
  3. Replies: 16
    Last Post: 2006-07-29, 07:28 PM
  4. Cron - Sugar Log Error
    By aguerrave in forum Help
    Replies: 9
    Last Post: 2006-05-10, 10:57 AM
  5. Replies: 0
    Last Post: 2005-04-30, 08:38 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •