5-21-15 notes

Discussed Automattic.com acquiring woocommerce. Scott demo’d a woocomerce site he’s building. Demo’d Gravity Forms/Woocommerce integration.

Anne asked if we could ask questions somewhere-either here or meetup.com. We should discuss/integrate a discussion board maybe.

Scott’s code for making custom shortcodes that show the last modified date:

// ==============================================
// SHORTCODE FOR LAST MODIFIED
// ==============================================

function cc_last_modified() {
return 'Last updated: ' . get_the_modified_date() . '';
}
add_shortcode('modified', 'cc_last_modified');

And for responsive youtube videos:

CSS:

.video-container {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px; height: 0; overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}


Starter theme is at https://github.com/field2/wpbuffalo_starter

For Bob: Hide the no comments message on your posts by copy/pasting this code into your style.css file:

.nocomments{display:none;}

Notes from 05-07-2015

This month for our users and bloggers meetup we have Connie Oswald Stofko from Buffalo-Niagara Gardening presenting on how to use images legally for the web, as well as a general Q&A.


Below are the notes from Connie’s Presentation:


How to Use Photos Without Getting into Trouble

Notes for talk by Connie Oswald Stofko

Buffalo WordPress Users Group
May 7, 2015

A few of guidelines:
Just because a photo is on the Internet, it doesn’t mean you can use it.
Taking a photo from a website, then giving that site credit or linking back to the website, doesn’t constitute fair use.

Even if a photo isn’t labelled with the word “copyright” or the © symbol, the photo may still be copyrighted.
Always get permission before using a copyrighted photo. Start by contacting the website where you found the photo.
If you can’t get permission, use a different photo.
There are sites where you can find photos you can use. See the list below.

Consequences
If you get caught using a copyrighted photo on your website or blog without permission:

  • You may be required to remove the photo from your website.
  • You may be required to pay fees to the copyright holder, even though you have removed the photo.
  • If you refuse to remove the photo, your website could be shut down.

Places to find photos you can use
In addition to this list, there may be specialized sites for your topic. Examples:

Ball Horticultural for photos of plants

Insect images

Unsplash
All photos published on Unsplash are licensed under Creative Commons Zero, which means you can copy, modify, distribute and use the photos for free, including commercial purposes, without asking permission from or providing attribution to the photographer or Unsplash. One drawback to this site is that it isn’t easily searchable.

FreeImages
The images are free as long as you stick to the rules in the Image license Agreement. Also, in some cases you may need to notify the artists about using the images and sometimes you need to give credit to them. The quality of the images varies.

morgueFile
A morgue file is a newspaper term for the place where they store files after production. morgueFile says its purpose is to provide free image reference material for use in all creative pursuits and to be the morgue file for the Internet. In addition to offering free photos, this site links to other paid sites. You can easily find yourself on one of the paid sites.

Photos8
Photos8 is a paid site with more of a worldwide flavor rather than an American flavor. Photos suitable for the Internet cost $2 each.

GraphicStock.com
GraphicStock.com is a subscription-based website that provides members with unlimited downloads of stock graphics, stock images, icons, buttons, backgrounds, textures and more. Instead of charging per download, they allow members to download as much as they want. You can subscribe by the month for $49 or by the year for $588. There is a seven-day free trial.

iStockPhoto
This is a paid site, but it has lots of photos that are geared for blogs and websites. You can buy credits or buy a subscription.

Articles

The Best Ways to Be Sure You’re Legally Using Online Photos (written by a lawyer, Sara Hawkins)

http://lifehacker.com/5992419/the-best-ways-to-be-sure-youre-legally-using-online-photos

The $8,000 Mistake That All Bloggers Should Beware

http://www.contentfac.com/copyright-infringement-penalties-are-scary/

Photography and Copyright Law (Very good for explaining to photographers what their rights and options are.)

http://blog.kenkaminesky.com/photography-copyright-and-the-law/

April developers meetup notes

Connie is trying to make her site mobile-friendly. Trying to back-up, but can’t figure out how to back up site. Andy installed Jetpack and it now switches to a mobile-friendly version. Google now views her site as mobile friendly.

We built starter-theme version 2 with more code! We started with starter-theme version 1. Andy will put it on bitbucket so we can version track it.

Scott H. demo’d WP security. IThemes Security, Sucuri, and WordFence.

Aaron mentioned Cloudflare.

 

 

Notes from 1-15-15

Bob started us off with best practices questions about User Accounts.
1. Is it better to use a user name or email address for accounts? The answer was that it doesn’t really matter and depends on your organizations approach to user accounts. A suggestion was made for generic user names based on positions (webmaster, sales, etc) as a way to seamlessly manage change. The downside to that is authorship. If a generic approach is used the author loses the credit for the authorship.
2. When creating a new user account, what level access should be provided? We looked at the five default roles WordPress provides in the Codex (Admin, Editor, Author, Contributor & Subscriber). WordPress provides five Roles with associated default Capabilities. Additional Roles and Capabilities can be defined as your website needs. Each organization uses a different approach to assigning roles. Many use a minimum capabilities approach for security reasons. Bob asked about giving team members who may not really need it admin access to provide a backup. That’s a fine backup plan, a recommendation was made to use a two-factor authentication (Google Authenticator) for additional security.

Ron was excited to share his productivity boost from Emmet.io. Here’s a description from their website-
Emmet is a plugin for many popular text editors which greatly improves HTML & CSS workflow.

Scott shared his template created with WP-Visual Composer and we looked at some questions. He uses MenuMakerPro for his menu layout and customization. Ben suggested searching codepen.io for menu approaches.

looked at pixlr – a free Photoshop-ish image editor

Nick talked about the Google Places Reviews plugin included in his theme which adds his Google reviews on his homepage.

Contact Forms: What are people using to add contact forms to their website -gravityforms($), contact forms 7, fast secure contact, ninja forms

Someone commented about the WordPress community and we paid homage to #wpmom.

Looked at coltonrv.us website

Looking for ideas for future meetups:

  • workflow
  • tools – editors/version control/deployment
  • Child theme development
  • WordPress SEO Plugins
  • Custom Post TYpes
  • Taxonomy
  • Framework comparison
  • getting schools/businesses involved
  • security plugins: wordfence, securi, ithemes

We asked everyone to think about wrangling a segment at a Meetup.

Talked about Meetup funding (ways to cover cost of meetup.com).

  • Provide ways for people to donate – Add a donation button to wpbuffalo.com, bring a basket to the meeting and ask for donations
  • Add a donate button on WordCamp Buffalo signup

A suggestion was made to change the meeting to 1st & 3rd or 2nd & 4th Thursdays to make it easier to plan.

Meeting Notes 12-18-2014

To start the meetup, we took a look at the SoakSoak Vulnerability, and the Slider plugin that was to blame for it. We talked about keeping your site up-to-date, knowing what plugins or built-in functions that a theme you’re using has, and some general security suggestions. Sucuri Security is a plugin that we agree is great to keep track of core files and malware.

Dominic showed a really neat website built with WordPress to the group, All Grain. It has some impressive features and even if you aren’t a homebrewer, you’ll still enjoy the work that went into building it. You can see the developers information and a link to the slides from a presentation on his website; Gabriel Nagmay.

Andy gave a brief demonstration of his workflow with Sass and Gulp.js and some of the functionality. We will be having a more in-depth discussion and full installation of using these two together at the next Designer/Developer meetup in 4 weeks.

Meeting notes from 11/6/2014

Looked at gravity forms, demo’d making a form and putting it on a site (wpbuffalo.com). Many people are interested in CRM integration, and Gravity forms makes this easier. A thorough presentation on this would be a good draw for more attendees.

resizeyourimage.com for batch resizing multiple images is a good resource.

irfam is also good (-Bob), also affinity.

We talked about modal windows, added a modal dialogue plugin, and tried adding a button to pop open a modal. It didn’t really work well.

Connie posted on the meetup message board, but no one got an email notification. Here’s the link:

http://boostblogtraffic.com/wordpress-hacks/?inf_contact_key=afbc1b56c133ba45e8ee364db6381df8cbdfdcaabf20a6a93556dc9273b4ab84

Security is a huge issue.

Notes from 10-23-14

  • Dave wanted to customize a custom post type layout. We looked his custom post type code and got it to put classes on the fields that could be controlled using css running only in the admin ala http://css-tricks.com/snippets/wordpress/apply-custom-css-to-admin-area/
  • Terry demonstrated using advanced custom fields with custom post types as an alternative to Dave’s process.
  • Scott showed some responsive sites built with html-blank theme, using megamenu pro and revolution slider.
  • He demo’d Visual Composer as a way to lay out your pages with a WYSIWYG approach.
  • Search and Replace DB2 is a good way to migrate your database-Terri
  • WordPress Duplicator is how Ben usually migrates sites.
  • We looked at several events/calendar plugins: http://wp-events-plugin.com/ http://tri.be/shop/wordpress-events-calendar/ https://wordpress.org/plugins/spider-event-calendar/ and http://codecanyon.net/item/eventon-wordpress-event-calendar-plugin/1211017