Update Manager Advice

drupal.org - Modules - Sat, 02/17/2018 - 07:00
Categories: Drupal

Update More Details

drupal.org - Modules - Sat, 02/17/2018 - 06:56
Categories: Drupal

Mailchimp Signup

drupal.org - Modules - Sat, 02/17/2018 - 06:40

Simple Mailchimp signup that delegates early to Mailchimp and focuses on display options.

Categories: Drupal

Help on D8 image styles not being created.

Drupal - Open Source Content Platform - Sat, 02/17/2018 - 06:34

First look into D8 (using 8.4.4) on Nginx and I'm running into some issues with image styles not being displayed on content.

I've configured a standard D8 install on Debian using MySQL for storage. Then built out two additional multisites. After creating some content types in one of the multisites and populating it with data, I can view the contents of image fields if they are set to "original image" but I get a 404 when applying image styles to the display output formatter. This is the same across the built-in thumbnail, medium and large styles, in addition to any custom styles created.

Images with no style applied are showing with paths formatted as: /sites/example.com/files/2018-02/filename.png?itok=RANDVAL

Styled images (such as thumbnail) are showing the URI as: /sites/example.com/files/styles/thumbnail/public/2018-02/filename.png?itok=RANDVAL

Checking the sites/example.com/files/2018-02/ directory shows all the uploaded images. The directory sites/example.com/files/styles/ exists, but is empty.

I also tried this on the default installation and it produces exactly the same result. This is using the Bartik theme and the only modules I have installed are:

  • Chaos tool suite (ctools) 8.x-3.0
  • Field Group 8.x-3.0-beta1
  • Pathauto 8.x-1.0
  • Token 8.x-1.1

The entire directory structure has ownership set to the Nginx user and are permissioned 0755 or greater. I have included the following Nginx configuration:

location @rewrite { rewrite /(.*)$ /index.php?q=$1; }

location = /robots.txt { allow all; log_not_found off; access_log off; } # Very rarely should these ever be accessed outside of your lan location ~* \.(txt|log)$ { allow; deny all; } location ~ \..*/.*\.php$ { return 403; } location ~ ^/sites/.*/private/ { return 403; } # Allow "Well-Known URIs" as per RFC 5785 location ~* ^/.well-known/ { allow all; } # Block access to "hidden" files and directories whose names begin with a # period. This includes directories used by version control systems such # as Subversion or Git to store control files. location ~ (^|/)\. { return 403; } location / { try_files $uri /index.php?$query_string; # For Drupal >= 7 } # Don't allow direct access to PHP files in the vendor directory. location ~ /vendor/.*\.php$ { deny all; return 404; } location ~ '\.php$|^/update.php' { fastcgi_split_path_info ^(.+?\.php)(|/.*)$; } location ~ ^(/[a-z\-]+)?/system/files/ { # For Drupal >= 7 try_files $uri /index.php?$query_string; } location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ { try_files $uri @rewrite; expires max; log_not_found off; } location ~ .*/sites/.*/files/styles/ { try_files $uri @rewrite; } submitted by /u/grabberfish
[link] [comments]

Social Auth Runkeeper

drupal.org - Modules - Sat, 02/17/2018 - 04:02

Social Auth Runkeeper allows users to register and login to your Drupal site with their Runkeeper account. It is based on Social Auth and Social API projects.

This module adds the path user/login/runkeeper which redirects the user to Runkeeper for authentication.

After Runkeeper has returned the user to your site, the module compares the email address provided by Runkeeper to the site's users. If your site already has an account with the same email address, user is logged in. If not, a new user account is created.

Categories: Drupal