Newsfeeds

Podcast Roundup

Tabletop Gaming News - 25 July 2017 - 11:00am
And we’ve made it to Tuesday. Congratulations. The work week is well underway. Soon, it will be the weekend once again. To help speed us along, how about some gaming podcasts, eh? Sounds like a plan. This week we have: Forgot My DiceEpisode 15 (22): Shiny and Kinda Chromed; Anonymous Tabletop Episode 16: The Most […]
Categories: Game Theory & Design

youtubeplaylist

New Drupal Modules - 25 July 2017 - 10:44am

It's a youtube playlist module. It helped in fetching playlist videos to our site. Once we've installed module then we have to replace playlist-id and and key value. After that we are all set to fetch videos from playlist.

Categories: Drupal

Corvus Belli Announces Special Gen Con Bundle

Tabletop Gaming News - 25 July 2017 - 10:00am
I’ve been waiting to see these come in. Gen Con’s just a couple weeks away, and that means lots of gamers (more than has ever been at the show before, it would seem) are going to be descending upon Indianapolis to see what there is to see. Like every year, there’ll be exclusives and special […]
Categories: Game Theory & Design

Six Years after Moneyball - by Ramin Shokrizade

Gamasutra.com Blogs - 25 July 2017 - 9:27am
The events that inspired the movie Moneyball changed business forever. But to save time, the real punchline was left out of the movie. Businesses rushed to copy the movie but during the bromance they set themselves up for failure.
Categories: Game Theory & Design

Avatars of War Announces the FeliX Files

Tabletop Gaming News - 25 July 2017 - 9:00am
Felix Paniagua, the creative force behind Avatars of War, has announced a new, limited edition set of figures, the first of which is available now. How limited are these figures? Very limited. Meaning that there’s 1. This first figure is the Dwarf Dragon Seeker figure. From the announcement: A new range of unique and exclusive […]
Categories: Game Theory & Design

What Bungie Bungled With the Destiny 2 Open Beta - by Josh Bycer

Gamasutra.com Blogs - 25 July 2017 - 8:24am
The Destiny 2 beta became opened this weekend, and left me feeling even less interested in buying the game. For today's post, I'm going to talk about how Bungie messed up what should have been a good event.
Categories: Game Theory & Design

7 Companies Every Game Developer Should Work With - by Jennifer Mendez

Gamasutra.com Blogs - 25 July 2017 - 8:23am
Everyone needs a little help from time to time. There's only so much time in a day. Plus, running a business means knowing what you're good at, and outsourcing the rest!
Categories: Game Theory & Design

Using Intensity to Drive Player Engagement - by Craig Thomas

Gamasutra.com Blogs - 25 July 2017 - 8:23am
Designing games to appeal to both new and longtime players is a difficult challenge. In this post, I examine one of the ways we approach this challenge by using player intensity levels to drive AI behaviour.
Categories: Game Theory & Design

Using 3D-Printed Trophies and Community Tournaments to Increase Player Engagement - by Matt Linsangan

Gamasutra.com Blogs - 25 July 2017 - 8:23am
TASTEE: Lethal Tactics launched in May 2016. We had a fantastic launch but we knew we had to keep our community engaged - and so we started organizing tournaments. This post is about how we run them, the prizes we created, and the results we've achieved.
Categories: Game Theory & Design

Xeno Media: WordPress coding standards for the Drupal developer

Planet Drupal - 25 July 2017 - 8:17am

If you've been doing Drupal development for any amount of time, chances are that you have installed the Drupal Code to help you write clean, compliant code. Coder allows you to check your Drupal code against the Drupal coding standards and other best practices using PHP_CodeSniffer.  It can be configured to work in your IDE, and also works on the command line.

Writing code according to standards helps avoid common errors, and helps teams understand the code faster.

I installed Coder using Composer per the well written instructions.  Using this method installs it globally, so I can use it on all of my projects, and installs all the dependencies, including PHP_CodeSniffer.

I recently was tasked with working on a Wordpress site, and I started looking into the WordPress Coding Standards.  My setup didn't jive with the standard installation method since I already had PHP_CodeSniffer installed globally using composer.  I had to do a little digging to add these additional standards to my already installed setup.

Here is a quick recap on how to install Coder using composer.

Install Coder composer global require drupal/coder

To make the commands available globally, add this line to your .~/bash_profile, and that it is sourced (or restarted your terminal).

# Composer recommended PATH export PATH="$PATH:$HOME/.composer/vendor/bin"

Tell phpcs where the Drupal and DrupalPractice standards are located:

phpcs --config-set installed_paths ~/.composer/vendor/drupal/coder/coder_sniffer

Verify it worked with:

phpcs -i

You should see:

The installed coding standards are MySource, PEAR, PHPCS, PSR1, PSR2, Squiz, Zend, Drupal, and DrupalPractice

You can now navigate to your Drupal project and run the following command to use:

phpcs --standard=Drupal file.nameInstall Wordpress Coding Standards

Thanks to some help I found in the issue queue, here are the steps to install the Wordpress Coding Standards globally using composer.

composer global require wp-coding-standards/wpcs:dev-master

Again, to make these commands available globally, make sure you have this line in your ~/.bash_profile, and that it is sourced (or restarted your terminal).

# Composer recommended PATH export PATH="$PATH:$HOME/.composer/vendor/bin"

Like we did with Drupal, we need to tell phpcs where the Wordpress standards are located. We use the same installed_paths configuration set, and use a comma to list both the Drupal and Wordpress paths.

phpcs --config-set installed_paths $HOME/.composer/vendor/drupal/coder/coder_sniffer,$HOME/.composer/vendor/wp-coding-standards/wpcs

Verify it worked with:

phpcs -i

You should now see:

The installed coding standards are MySource, PEAR, PHPCS, PSR1, PSR2, Squiz, Zend, Drupal, DrupalPractice, WordPress, WordPress-Core, WordPress-Docs, WordPress-Extra and WordPress-VIP

You can now navigate to your Wordpress project and run the following command to use:

phpcs --standard=Wordpress file.nameAdd aliases

If you've worked with me, or read my posts before, you know I love aliases. They streamline your process and help make you more productive. Add these aliases into your .bash_profile, .bashrc, or wherever you keep your aliases, and source it, or restart your terminal.

alias drupalcs="phpcs --standard=Drupal --extensions='php,module,inc,install,test,profile,theme,css,info,txt,md'" alias wpcs="phpcs --standard=Wordpress"

After this you can simply type drupalcs folder_name or wpcs file.name and start writing better code!

Acknowledgements

Thanks to Micheal Porter, Albert Jankowski, and Mike Acklin for the technical review of this article, and to all the maintainers!

Photo by Ilya Pavlov on Unsplash

Categories: Drupal

GCT Studios Previews the Blood Brothers for Bushido

Tabletop Gaming News - 25 July 2017 - 8:00am
Hunted throughout the Jwar Isles, the Blood Brothers and their servant are mercenaries who will sell their services to various factions in order to gain some coin and continue on their flight from the law. They’ll be a new edition to your Bushido choices, working for many of the factions, each one bringing a unique […]
Categories: Game Theory & Design

DrupalCon News: Reserve your room for DrupalCon Vienna

Planet Drupal - 25 July 2017 - 7:05am

For DrupalCon Vienna, our partner hotel, Courtyard Vienna Prater, is located in the Trabrennstraße area, where you can explore St. Stephen's Cathedral and Vienna's famous Prater park. And, the hotels we chose are perfect hubs for connecting you to a rewarding DrupalCon experience.

The fun is where the Drupalers are. Stay with us at a partner hotel to network and socialize after sessions end.

Categories: Drupal

Konflikt ’47 Boot Camp Coming this August

Tabletop Gaming News - 25 July 2017 - 7:00am
Konflikt ’47 is still a pretty new game. I really only remember seeing figures on tables for the first time at Gen Con last year. So that means it’s coming up to its 1 year anniversary, of sorts. Well, for those that want to get into the game and become better generals, Warlord Games is […]
Categories: Game Theory & Design

Fantasy Flight Games Previews Star Viper Mk.II For X-Wing

Tabletop Gaming News - 25 July 2017 - 6:00am
I remember first encountering the Star Viper while playing Shadows of the Empire on my N64. Heck, I recently re-found my console and game and might just pop that in this evening. I’ve also fought against them in the X-Wing Miniatures Game. In that case, Scum & Villainy players should take notice, as a new […]
Categories: Game Theory & Design

InternetDevels: How Drupal 8 saves time & money, or a few words about backwards compatibility

Planet Drupal - 25 July 2017 - 5:50am

Migration to Drupal 8 will save your time, effort and money in the future. It’s a fact! Discover
the great news about easy upgrades and backwards compatibility.

Read more
Categories: Drupal

CKEditor Tweetable Text

New Drupal Modules - 25 July 2017 - 4:12am

CKEditor Tweetable Text - is an extension to the Drupal 8 CKEditormodule.

Provides an input filter and WYSIWYG plugin for making text in content tweetable, just by clicking on the sentance or phrase itself! .

Categories: Drupal

incapsula

New Drupal Modules - 25 July 2017 - 3:47am

This module provides integration with the Incapsula Imperva: Web Application Firewall. It allows the purging of content and assets when they are saved. A complete purge of the cache is supported through the provided cache hooks in Drupal.

Next to this there is the management of whitelisted IPs, blacklisted IPS, blocked URLs and blocked country/continents through Incapsula from Drupal.

SETUP

To start using this module do the following:

Categories: Drupal

Cahoots

New Drupal Modules - 25 July 2017 - 2:30am
Categories: Drupal

Pages

Subscribe to As If Productions aggregator