We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37653
    • 49 Posts
    Hello, I have just installed Revo 2.3 on my server.
    This server use proxy and can't connect with rss or modx.com.
    With 2.2.x packages are installed localy and rss feed is set to 0
    feed_modx_news_enabled -> no
    feed_modx_security -> no

    I do the same for Revo 2.3 but each page is displayed in 10s.
    This is a fresh installation. no snippet, no plugin ....

    What can i do ?

    Thank for responses and sorry for my english. smiley
    • There is also gravatar which is likely trying to be reached in Manager requests as well. We're looking at ways to get MODX to know whether it can connect to the internet and to disable these, however this may be a problem until at least 2.3.1 for the gravatar call.
        Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup magician. BlogTwitterLinkedInGitHub
      • Hm. I was looking for a way to disable the gravatar just the other day...
          Studying MODX in the desert - http://sottwell.com
          Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
          Join the Slack Community - http://modx.org
          • 37653
          • 49 Posts
          Quote from: smashingred at Jul 17, 2014, 02:37 PM
          There is also gravatar which is likely trying to be reached in Manager requests as well. We're looking at ways to get MODX to know whether it can connect to the internet and to disable these, however this may be a problem until at least 2.3.1 for the gravatar call.

          Exact all is ok when i change this function ( gravatar part change)

          '/manager/controllers/default/header.php' at line 93

              public function getUserImage()
              {
                  /** @var modUserProfile $userProfile */
                  $userProfile = $this->modx->user->getOne('Profile');
          
                  if ($userProfile->photo) {
                      // First, handle user defined image
                      $src = $this->modx->getOption('connectors_url', MODX_CONNECTORS_URL)
                          .'system/phpthumb.php?zc=1&h=128&w=128&src='
                          .$userProfile->photo;
                      $userImage = '<img src="' . $src . '" />';
                  } else {
                  /*
                      // Fallback to Gravatar
                      $gravemail = md5(
                          strtolower(
                              trim($userProfile->email)
                          )
                      );
                      $gravsrc = $this->modx->getOption('url_scheme', null, 'http://') . 'www.gravatar.com/avatar/'
                          .$gravemail . '?s=128';
                      $gravcheck = $this->modx->getOption('url_scheme', null, 'http://') . 'www.gravatar.com/avatar/'
                          .$gravemail . '?d=404';
                      $response = get_headers($gravcheck);
          
                      if ($response != false) {
                          $userImage = '<img src="' . $gravsrc . '" />';
                      } else {
                          $userImage = '<i class="icon-user icon-large"></i>';
                      }
                      */
                      $userImage = '' ;
                  }
          
                  return $userImage;
              }


          I dont find where i can place my own picture in user Profile.