Newsfeeds

InternetDevels: Web development “chemistry”: a fantastic reaction between Drupal and ReactJS

Planet Drupal - 11 August 2017 - 4:57am

Combining different tools to produce fantastic reactions is the true “chemistry” of web development. The special trend of the day is using Drupal with JavaScript tools. We’ve had a chance to look at the benefits of using Drupal with Angular and Drupal with Node.

Read more
Categories: Drupal

agoradesign: Horizontal Tabs in Drupal 8

Planet Drupal - 11 August 2017 - 4:48am
Drupal 8 ships with a great and easy to use 'vertical_tabs' form element but unlikely a horizontal counterpart is missing. I'll show you, how can get horizontal tabs into your forms.
Categories: Drupal

Login by IP

New Drupal Modules - 11 August 2017 - 4:28am

Login by IP automatically logs in any enabled user by their IP address. It works by:
Getting the IP for the current visitor - it uses the high availability service from https://www.ipify.org
It then checks if a user account is assigned to current client IP
Login the user

All of it through jQuery calls to the backend of Drupal so there’s no actual slowness to the visitor. The process is a bit more involved but that’s the gist of it.

Categories: Drupal

Anubavam LLC: PHP 7 can help improve Drupal site performance

Planet Drupal - 11 August 2017 - 3:38am
PHP 7 can help improve Drupal site performance

Drupal is PHP 7-ready and sites that run many contrib modules, or particularly memory-intensive ones, will need more memory requirements. Optimizing Drupal website performance with PHP 7 version will boost the overall page speed. 

PHP 7 was released in December 2015 and offers high performance, huge load capacity and asynchronous programming support  for online applications. According to the latest study, PHP 7 is twice as fast as PHP 5.6 and reduces memory usage.

Why this is the right time to move to PHP 7

Drupal 7 core officially supports PHP 5.2.5 or higher  However, PHP 7 introduces backward incompatible changes which may need to be addressed in contributed or custom modules and themes. While some Drupal 7 sites may run on minimum of PHP versions, you can move to Drupal 8 with PHP 7 support to enhance the performance of the site.

Drupal 8 officially supports 200+ new features and improved functionalities, and upgrading to PHP 7 brings a lot of improvements and delivers high performance Drupal site, whether you are a website owner or a Drupal developer

Drupal core's automated test suite is now fully passing on a variety of environments where there were previously some failures (PHP 5.4, 5.5, 5.6, and 7). Several bugs affecting those versions were fixed as well. These PHP versions are officially supported by Drupal 7 and recommended for use where possible.

Anecdotal evidence from a variety of users suggests that Drupal 7 can be successfully used on PHP 7, both before and after the 7.50 release. 

A slow website load time impacts visitors, overall user experience, and the bottom line. With the improved speed enhancements of Drupal 7 and Drupal 8 with PHP 7, your user engagement and experience will increase and less likely they will leave your website

admin Fri, 08/11/2017 - 06:38 Drupal 8 Drupal Application Development
Categories: Drupal

Adobe audience manager analytics

New Drupal Modules - 11 August 2017 - 2:47am

Adds adobe audience manager script just before the closing body tag. Different s_code and report suite variables can be set for production and development environments.

Categories: Drupal

Cognito

New Drupal Modules - 11 August 2017 - 12:22am

Provides an integration against Amazon Cognito

Categories: Drupal

Which Game Changed the Way You Play?

Gnome Stew - 11 August 2017 - 12:00am

Drawing back the curtain and seeing the possibilities . . . 

If you’re out and about on social media with a preponderance of RPG loving friends, you may have seen the #RPGaDay thing that’s been going around for the month of August. I’ve been putting them up each day on my Facebook and it’s been sparking some interesting discussion. It’s especially fun to see friends that don’t know each other, and will probably never meet in person, bonding over love of RPGs.

That’s not really what I want to talk about today, though. It’s been fun, but one of the questions really got me thinking. Day 7 asked “What has been your most impactful RPG session?” Some people responded with which game session hit them hardest in the feels and evoked a real emotional response. Many of the anecdotes shared talked about some of the emotional highs and lows of their characters’ lives. One friend spoke of a horror western game where they were fighting a man that ‘no living man could kill’. So, when the time was right, he put his head between the gun and the bad guy and pulled the trigger. Another friend who played that same game popped into the thread to shudder in remembrance of that particular bad guy.

That wasn’t the only way the question was interpreted, though. Myself and some of the other folks responding looked at it from the perspective of games that changed the way we play. The intense emotional moments of investment in a game are why I keep playing, but sometimes you just experience a game that completely changes the way you look at RPGs and how you play them. Maybe it was the brilliance of a game system you hadn’t looked at before, or the way a GM or another player approaches the game, giving it a different flavor than you expected. Regardless, it ultimately changes how you game from then on.

One friend, Jason, spoke about how his group was vehemently against playing anything other than D&D. Whenever they’d tried something else, it was disappointing and they always found themselves going back to D&D. One game night, though, their regular GM was unavailable and another player offered to bring Star Wars to the table. Well, playing something was better than playing nothing, so they begrudgingly agreed to give it a try. By the end of the session, everyone there had a fantastic time and they were begging the new GM to turn that game into a campaign. Jason said it opened up the whole group to trying new things and broadened their outlook on what RPGs could be.

 Suddenly I was reminded of what games could be and shown what they SHOULD be.Another friend, Cheryl, mentioned a game that changed her outlook in a different way. During a HarnMaster game, the GM asked for a climbing check that her character failed, causing her to lose her grip and fall to her death. After an awkward moment around the table, the GM quickly ret-conned the whole action and everyone pretended that climb check had never been called for. For Cheryl, it taught her the value of never asking for a roll unless you’re open to all outcomes the dice might bring you.

For me, it was a moment that came after a very long hiatus from gaming. It was 2003 and it had been about ten years since I’d been part of a regular RPG of any kind. I’d played a bit online, but it wasn’t the same. Realizing I needed RPGs in my life, I started looking for people to play with. I eventually found a face-to-face game, but the GM was really bad. I mean really really bad. Gaming horror stories levels of bad. But, it was a game and the other players seemed kind of cool. If you wanted to game, you had to take what you got, right?

After a couple months of this awful game, I learned that there was going to be a gaming convention in my city that month. Figuring it couldn’t hurt and would give me something to do that weekend, I showed up and signed up for a couple of games. Talk about revelations.

The first game I played at the con was worlds away from the ridiculous slog of a D&D game the awful GM was running. The GM had actually put thought into the world and the NPCs that inhabited it. He responded to the players and their characters’ actions without railroading them into what he thought should happen. In another game that con, I got to play a game where we built characters together and essentially created the world of the game, making what our characters did matter on so many levels.

Change is the only constant…

Suddenly I was reminded of what games could be and shown what they SHOULD be.

I never went back to the awful game. A few weeks later, one of the other players contacted me and asked if I’d be interested in gaming if we didn’t play with the bad GM. Basically, after I left, the other good players also ended up defecting and we started our own group that’s still going strong today. That one reminder taught me to never settle for sub par gaming, to always strive for a better game experience. There have been other revelations over the years, but that was probably the most pivotal and crucial in my gaming life.

So what about you? Was there a single game or a campaign that changed the way you look at RPGs forever? I’d love to hear your stories too.

Categories: Game Theory & Design

Chen Hui Jing: Drupal 7 versus Drupal 8

Planet Drupal - 10 August 2017 - 5:00pm

I’ve recently embarked on my first official Drupal 8 project, for Sinvict Technology (case study when the project launches), and it was interesting to see how certain things changed for the better, certain things stayed familiar and certain things seemed slightly worse off. I thought I’d write up some comparison notes between the two versions. This is my personal opinion based on my experiences. You should have your own opinion too.

Core is so much better

I really like the improvements made to core for Drupal 8. Making views part of core was a great idea, as was making the date field core as well. I felt the organisation of files in the new folder structure was more intuitive...

Categories: Drupal

Twitch rolls out its desktop app, complete with video chat

Social/Online Games - Gamasutra - 10 August 2017 - 4:50pm

Some game makers may appreciate the app's focus on managing communities, as it allows you to set up chat servers where participants can message and voice chat with each other at any time.  ...

Categories: Game Theory & Design

Game chat app Discord begins testing video chat and screen-sharing

Social/Online Games - Gamasutra - 10 August 2017 - 3:39pm

If you're a dev who uses Discord to interact with your community of players, this opens up new ways for you to communicate with them and share what you're working on. ...

Categories: Game Theory & Design

PreviousNext: Using Composer to debug issues updating Drupal core

Planet Drupal - 10 August 2017 - 3:33pm
Share:

This week whilst trying to update one of our projects to the latest version of Drupal 8 core, we had some issues.

We use Composer to manage our dependencies, modules etc, and on this particular occasion, things weren't straightforward.

In order to solve it, we had to use some of the lesser known features of Composer, so decided to share.

by lee.rowlands / 11 August 2017 The problem

So updating Drupal core with composer is normally pretty simple. And on this occasion, we had no reason to suspect it would be anything different.

Normally we'd just run

composer update "drupal/core" --with-dependencies

But this time, nothing happened.

So we checked that there was a newer version available

composer show -a "drupal/core"

And sure enough, we can see 8.3.6 in the available versions.

Time to dig deeper.

The why

Luckily, composer will tell you why it won't install something.

composer why-not "drupal/core:8.3.6"

Which yielded

drupal/core 8.3.6 conflicts drush/drush (<8.1.10)

Aha, so drush is the issue.

So maybe we just update both

composer update "drupal/core" "drush/drush"

Nope.

Digging deeper

So after trying a few different combinations of version constraints etc, we decided to remove drush, update and then add it back.

composer remove --dev "drush/drush"

Which worked.

composer update "drupal/core" --with-dependencies

Ok, nice, we now have Drupal 8.3.6

composer require --dev "drush/drush"

Nope.

Your requirements could not be resolved to an installable set of packages. Problem 1 - Installation request for drush/drush 8.1.12 -> satisfiable by drush/drush[8.1.12]. - Conclusion: remove phpdocumentor/reflection-docblock 3.2.2 - Conclusion: don't install phpdocumentor/reflection-docblock 3.2.2 - drush/drush 8.1.12 requires phpdocumentor/reflection-docblock ^2.0 -> satisfiable by phpdocumentor/reflection-docblock[2.0.0, 2.0.0a1, 2.0.0a2, 2.0.0a3, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5]. - Can only install one of: phpdocumentor/reflection-docblock[2.0.0, 3.2.2]. - Can only install one of: phpdocumentor/reflection-docblock[2.0.0a1, 3.2.2]. - Can only install one of: phpdocumentor/reflection-docblock[2.0.0a2, 3.2.2]. - Can only install one of: phpdocumentor/reflection-docblock[2.0.0a3, 3.2.2]. - Can only install one of: phpdocumentor/reflection-docblock[2.0.1, 3.2.2]. - Can only install one of: phpdocumentor/reflection-docblock[2.0.2, 3.2.2]. - Can only install one of: phpdocumentor/reflection-docblock[2.0.3, 3.2.2]. - Can only install one of: phpdocumentor/reflection-docblock[2.0.4, 3.2.2]. - Can only install one of: phpdocumentor/reflection-docblock[2.0.5, 3.2.2]. - Installation request for phpdocumentor/reflection-docblock (locked at 3.2.2) -> satisfiable by phpdocumentor/reflection-docblock[3.2.2]. Installation failed, reverting ./composer.json to its original content.

Hm, so we have a version of phpdocumentor/reflection-docblock in our lock file that is too high for drush.

composer why "phpdocumentor/reflection-docblock"

Yields

phpspec/prophecy v1.6.1 requires phpdocumentor/reflection-docblock (^2.0|^3.0.2)

Aha, so prophecy - but it allows either version .. but our lock file has pinned it to the 3.x branch

So lets force composer to downgrade that

composer require --dev "phpdocumentor/reflection-docblock:^2.0"

Now lets see if we can add drush back

composer require --dev "drush/drush"

Success!

Now all that remains is to clean up, because we don't really want to depend on phpdocumentor/reflection-docblock

composer remove --dev "phpdocumentor/reflection-docblock"

Done - quick - commit that lock file while you're winning!

Summary

So while it might be easy to curse Composer for not letting you upgrade, its actually doing exactly what you told it to do.

Your lock file has a pinned version, it is honoring that.

And in order to resolve it, Composer provides all the tools you need in the form of the why and the why-not commands.

Tagged Composer, Drupal 8

Posted by lee.rowlands
Senior Drupal Developer

Dated 11 August 2017

Add new comment
Categories: Drupal

PreviousNext: Using Composer to debug issues updating Drupal core.

Planet Drupal - 10 August 2017 - 3:33pm

This week whilst trying to update one of our projects to the latest version of Drupal 8 core, we had some issues.

We use Composer to manage our dependencies, modules etc, and on this particular occasion, things weren't straightforward.

In order to solve it, we had to use some of the lesser known features of Composer, so decided to share.

Categories: Drupal

The Great Wargaming Survey 2017 Happening Now

Tabletop Gaming News - 10 August 2017 - 3:00pm
And now, a small interlude from all the Gen Con prep. It’s time once again for The Great Wargaming Survey. This has been going on for a couple years, and it’s interesting to see how things have changed in that time. I just finished typing up my responses and adding my bit of data to […]
Categories: Game Theory & Design

Glassdimly tech Blog: How to Pluralize and Singularize a Word in Drupal 8

Planet Drupal - 10 August 2017 - 2:52pm

Pluralizing and singularizing words got very easy with the inclusion of the Doctrine Inflector class.

Categories: Drupal

Passport Game Studios Posts Gen Con Plans

Tabletop Gaming News - 10 August 2017 - 2:00pm
As I mentioned in the Terrain Corner for today, Gen Con’s just a week away. There’s going to be hundreds of vendors there. One of them is Passport Game Studios. They’ve posted up a look at what they’ll be doing at the show, so you can know to stop by and check them out. From […]
Categories: Game Theory & Design

Redirect Nodes

New Drupal Modules - 10 August 2017 - 1:04pm

Redirect Nodes provides a node content type specifically designed for only using as a menu item.

Why not just use core's menu module?

Cores menu module works well for most use cases, however it does not have many integration with access control modules, which makes restricting access to edit, manage and view menu items. Redirect nodes allow menu items to be added that get managed the same way other site content is, which means that all node access modules can be applied to this module.

Categories: Drupal

Tulley Sworn Shields Added to A Song of Ice and Fire Kickstarter

Tabletop Gaming News - 10 August 2017 - 1:00pm
The A Song of Ice and Fire: Tabletop Miniatures Game Kickstarter campaign continues to roll along, like a river. Rivers are certainly something the Tulley Sworn Shields know about. And they’re going to be bringing that river’s strength to the game. They’ve been included as an optional add-on to the Kickstarter. From the update: Speaking […]
Categories: Game Theory & Design

Latest Grymkin Releases Available From Privateer Press

Tabletop Gaming News - 10 August 2017 - 12:00pm
The wicked harvest continues. The Grymkin faction, the latest one for Hordes, is getting some new releases. There’s a new Warlock, a new warbeast, and a couple new units you can use to bulk up your forces. This faction really makes me want to bake pumpkin pie… From the announcement: Cast down to the hells […]
Categories: Game Theory & Design

Thursday Terrain Corner

Tabletop Gaming News - 10 August 2017 - 11:00am
This week, to me, is just rocketing by. Though I’m in my Thursday shirt, it certainly feels like it should only be, like Tuesday or something. But no, it’s Thursday. Which, of course, means that, a week from this posting, many of us will be in downtown Indy, chest-deep into Gen Con’s first day. … […]
Categories: Game Theory & Design

Himanshu Dixit | Blog: Week 10: Finishing Social Post Implementer and GSoC Meetup At LNMIIT

Planet Drupal - 10 August 2017 - 10:54am
Week 10: Finishing Social Post Implementer and GSoC Meetup At LNMIIT himanshu-dixit Thu, 08/10/2017 - 23:24
Categories: Drupal

Pages

Subscribe to As If Productions aggregator