Results 1 to 8 of 8

Thread: HELP Sugar Feed not showing for users

  1. #1
    Doudounka is offline Sugar Community Member
    Join Date
    Jun 2011
    Posts
    61

    Default HELP Sugar Feed not showing for users

    Hello,

    Still getting used to Sugar features.

    We have Sugar Feed enabled on our system as you can see on the attached JPG.

    But only Administrators of the system are able to view the Sugar Feed. Normal users always have a blank dashlet. So they are never informed when things happen or when new opportunities are won.

    There must be a setting somewhere I am unaware of so normal users can view the feeds. Maybe in the acceses ? but can't find nothing.

    Thank you

    Have a nice day
    Attached Images Attached Images  
    Last edited by Doudounka; 2011-08-18 at 01:00 PM. Reason: Notification change

  2. #2
    sts's Avatar
    sts
    sts is offline Sugar Community Member
    Join Date
    Aug 2010
    Posts
    978

    Default Re: HELP Sugar Feed not showing for users

    I have the same in a 6.2.0 PRO installation. The normal user even does not see his own opportunity in the feed/activity stream (but the admin does).

    The settings should be ok: feed activated for all objects, the role settings give full access to opportunity, the opportunity is assigned to 'global' team.

    Looks like a bug for me.
    Stefan Ulrich Sauer
    System Analyst

    Devoteam Danet GmbH
    Gutenbergstraße 10
    D-64331 Weiterstadt
    Germany
    email: Stefan-Ulrich.Sauer@devoteam.com
    http://www.devoteam.de

  3. #3
    Doudounka is offline Sugar Community Member
    Join Date
    Jun 2011
    Posts
    61

    Default Re: HELP Sugar Feed not showing for users

    Hello,

    Glad to see i am not alone.

    We have our users assigned a general role. Which you can see on the attached picture. So they have admin rights to view, modify and delete most of everything.

    So I really don't know if we are missing something here, or it's just a plain Sugar Bug.

    We have Sugar Pro Version 6.1.2 (Build 5555)

    I bypassed the problem for one of our bosses by putting him ADMIN of Sugar, but cannot do that for other employees.

    So any ideas ?

    thank you
    Attached Images Attached Images  

  4. #4
    Doudounka is offline Sugar Community Member
    Join Date
    Jun 2011
    Posts
    61

    Default Re: HELP Sugar Feed not showing for users

    Hello,

    Seems we have another issue with our Sugar feed.

    Still only admins can see the feed, users can't see nothing even their own feeds.

    Now the feed for admins give the wrong date or time when things were done.

    We are today Wednesday the 24th and for things created on the 22nd (I double checked to see if I was right) it says "YESTERDAY".

    Anyone else ever had issues with dates ?

    Thank you

  5. #5
    sts's Avatar
    sts
    sts is offline Sugar Community Member
    Join Date
    Aug 2010
    Posts
    978

    Default Re: HELP Sugar Feed not showing for users

    Did you check your timezone settings? If it is set to let's say californian time that could be the problem.

    Not sure what effects the problem described in the following blog has: SugarCRM Developer Blog » Blog Archive » HOWTO: Remove the timezone errors in your sugarcrm.log file. You could check this too.
    Stefan Ulrich Sauer
    System Analyst

    Devoteam Danet GmbH
    Gutenbergstraße 10
    D-64331 Weiterstadt
    Germany
    email: Stefan-Ulrich.Sauer@devoteam.com
    http://www.devoteam.de

  6. #6
    Doudounka is offline Sugar Community Member
    Join Date
    Jun 2011
    Posts
    61

    Default Re: HELP Sugar Feed not showing for users

    Hello,

    There is no error in time zone, for on tasks it shows the correct colour for tasks with a due date of the 23rd. Our sugar puts the tasks with a due date of the 23rd or before in red, due date of the 24th in orange and due date of 25th and beyond in black.

    So dating is correct in other modules. Only our feed module sees the wrong date.

  7. #7
    Doudounka is offline Sugar Community Member
    Join Date
    Jun 2011
    Posts
    61

    Default Re: HELP Sugar Feed not showing for users

    UPDATE

    Regarding the date/time of the feed.

    Starting to see records made on the 23 appear as 2 days old now. They turn 2 day old at exactly the time or creation.

    So basically if I understand correctly :

    From time of creation

    from 0-24 hours it says created XX minutes or hours ago. (that is fine till system should hit midnight)

    from 24-48 it says yesterday (that is not fine)

    from 48-72 it says 2 days ago (that is not fine)

    and so forth.

    So basically what I understand is that sugar sees today, yesterday, 2 days ago and so forth not as calendar days but pure hourly maths. This is wrong and very confusing.

  8. #8
    sts's Avatar
    sts
    sts is offline Sugar Community Member
    Join Date
    Aug 2010
    Posts
    978

    Default Re: HELP Sugar Feed not showing for users

    I think this is a matter of interpretation. I agree with you that "Yesterday" is not a good naming for this because it leads to misinterpretation. For me "1 day ago" would be a better label here (this could be easily changed in custom/modules/SugarFeed/language/en_us.lang.php for example: "'LBL_TIME_YESTERDAY'=>'1 day ago',".

    The other labels are ok for me. The advantage of this hourly-based interpretation - for me - is that "2 days ago" always means 48-72 hours ago, independent of the time I look at the feed.

    If you want to change the behaviour you'd have to change function 'getTimeLapse' in modules/SugarFeed/SugarFeed.php (I'm not sure if a upgradesafe change in custom/... will work). Here the original code, taken from 6.2.0:
    PHP Code:
        static function getTimeLapse($startDate)
        {
            
    $seconds $GLOBALS['timedate']->getNow()->ts $GLOBALS['timedate']->fromUser($startDate)->ts;
            
    $minutes =   $seconds/60;
            
    $seconds $seconds 60;
            
    $hours floor$minutes 60);
            
    $minutes $minutes 60;
            
    $days floor$hours 24);
            
    $hours $hours 24;
            
    $weeks floor$days 7);
            
    $days $days 7;
            
    $result '';
            if(
    $weeks == 1){
                
    $result translate('LBL_TIME_LAST_WEEK','SugarFeed').' ';
                return 
    $result;
            }else if(
    $weeks 1){
                
    $result .= $weeks ' '.translate('LBL_TIME_WEEKS','SugarFeed').' ';
                if(
    $days 0) {
                    
    $result .= $days ' '.translate('LBL_TIME_DAYS','SugarFeed').' ';
                }
            }else{
                if(
    $days == 1){
                    
    $result translate('LBL_TIME_YESTERDAY','SugarFeed').' ';
                    return 
    $result;
                }else if(
    $days 1){
                    
    $result .= $days ' 'translate('LBL_TIME_DAYS','SugarFeed').' ';
                }else{
                    if(
    $hours == 1) {
                        
    $result .= $hours ' '.translate('LBL_TIME_HOUR','SugarFeed').' ';
                    } else {
                        
    $result .= $hours ' '.translate('LBL_TIME_HOURS','SugarFeed').' ';
                    }
                    if(
    $hours 6){
                        if(
    $minutes == 1) {
                            
    $result .= $minutes ' ' translate('LBL_TIME_MINUTE','SugarFeed'). ' ';
                        } else {
                            
    $result .= $minutes ' ' translate('LBL_TIME_MINUTES','SugarFeed'). ' ';
                        }
                    }
                    if(
    $hours == && $minutes == 0) {
                        if(
    $seconds == ) {
                            
    $result $seconds ' ' translate('LBL_TIME_SECOND','SugarFeed');
                        } else {
                            
    $result $seconds ' ' translate('LBL_TIME_SECONDS','SugarFeed');
                        }
                    }
                }
            }
            return 
    $result ' ' translate('LBL_TIME_AGO','SugarFeed');
        } 
    Stefan Ulrich Sauer
    System Analyst

    Devoteam Danet GmbH
    Gutenbergstraße 10
    D-64331 Weiterstadt
    Germany
    email: Stefan-Ulrich.Sauer@devoteam.com
    http://www.devoteam.de

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Sugar Feed
    By gfainer in forum Portugese
    Replies: 2
    Last Post: 2011-08-12, 12:37 PM
  2. Replies: 0
    Last Post: 2011-06-16, 03:51 AM
  3. My Sugar Feed as RSS
    By cityguidesa.com in forum Help
    Replies: 1
    Last Post: 2010-10-29, 05:29 AM
  4. Sugar Feed
    By shafique in forum Help
    Replies: 1
    Last Post: 2009-06-09, 07:15 AM
  5. Add RSS Feed For All Users?
    By jiac in forum Help
    Replies: 0
    Last Post: 2005-09-09, 09:24 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
  •