Adding Vanilla to WordPress

20
Adding Vanilla to WordPress WordCamp Montreal 2010

description

This presentation will discuss the benefits of adding a Vanilla Forum to your WordPress site/blog. We will walk through the basics of Vanilla Connect (Single Sign On) in order to manage users across both platforms. We will also demonstrate the ease of theming and integrating Vanilla with WordPress.

Transcript of Adding Vanilla to WordPress

Page 1: Adding Vanilla to WordPress

Adding Vanilla to WordPressWordCamp Montreal 2010

Page 2: Adding Vanilla to WordPress

Why is the sweetest forum on the web?

Vanilla Forums have been used by hundreds of thousands of sites around the world, from small groups of friends to massive multi-national brands managing communities with millions of contributors.

With Vanilla Forums you can join, manage, and monitor the discussions taking place around your product, brand, or business.

Page 3: Adding Vanilla to WordPress

, not just a forum anymore

Page 4: Adding Vanilla to WordPress

Over 350,000 sites use Vanilla Forums to

manage feedback, spark discussion, and make

customers smile.

Over 350,000 sites use Vanilla Forums to

manage feedback, spark discussion, and make

customers smile.

Page 5: Adding Vanilla to WordPress
Page 6: Adding Vanilla to WordPress
Page 7: Adding Vanilla to WordPress
Page 8: Adding Vanilla to WordPress
Page 9: Adding Vanilla to WordPress
Page 10: Adding Vanilla to WordPress
Page 11: Adding Vanilla to WordPress

Where can I find ?

VanillaForums.com VanillaForums.org

Page 12: Adding Vanilla to WordPress

Why Choose ?

Same model as WordPressDownload for free on .org

Get hosted on .com

Same model as WordPressDownload for free on .org

Get hosted on .com

Easy theming!or choose from tonsof gorgeous themes

Easy theming!or choose from tonsof gorgeous themes

Custom-Community PluginsCustom-Community Plugins Easy Integration (SSO)Easy Integration (SSO)

Page 13: Adding Vanilla to WordPress

Single Sign-On with WordPress

Page 14: Adding Vanilla to WordPress

Custom Theme

The Custom Theme Feature allows you to customize the appearance of your forum using HTML and cascading stylesheets (CSS). You can change colors, fonts, backgrounds, banners, and even where elements appear on the page.

Page 15: Adding Vanilla to WordPress

Detailed Tutorial http://vanillaforums.com/blog/help-tutorials/how-to-use-custom-theme-part-1-edit-html/

Custom Theme

Inside Custom Theme you can choose to ‘Edit Html’ or ‘Edit CSS’

Edit HtmlEdit Html Edit CSSEdit CSS

Page 16: Adding Vanilla to WordPress

Template Tags

What is a Template Tag?A template tag is code that instructs Vanilla to “do” or “get” something.

Vanilla Template tags are similar to WP Tags.

{searchbox} {asset name="Content"} {asset name="Panel"}{searchbox} {asset name="Content"} {asset name="Panel"}

http://vanillaforums.com/blog/help-topics/vanilla-template-tags/

Page 17: Adding Vanilla to WordPress

Building a theme from scratch

How it all works

With Vanilla, you have full control over both the CSS and the

actual HTML of every page in every application. The easiest

thing for most designers is to just alter the CSS, so we'll start there:

Page 18: Adding Vanilla to WordPress

Building a theme from scratch

Part 1: CSS & Design

1. Copy the /themes/default folder and rename it to your theme name so it sits in the root theme folder like this: /themes/your_theme_name.

2. Open the "about.php" file and edit the information to reflect your theme's information.

3. Create a custom.css file in the "design" folder of your custom theme.

4. Go to your Dashboard > Themes, and apply your new theme.

5. Edit the custom.css file to your heart's content. The custom.css file is added *after* the base theme's css. Alternately, you can completely replace the base theme file (style.css) by copying it from the /applications/dashboard/design folder into your theme's design folder.

Page 19: Adding Vanilla to WordPress

Building a theme from scratch

Part 2: HTML & Views

If you don't like the way we've structured our Html, you can edit that too. Our pages are made up of two parts:

1. Master Views: These represent everything that wraps the main content of every page. If all you want to do is add a menu or banner above Vanilla, this is the only file you will need to alter. To do so, copy the default master view from /applications/dashboard/views/default.master.php to /themes/your_theme_name/views/default.master.php and edit it there.

2. Views: These represent all of the content in each page. Every application has a "views" folder that contains all of the html for every page. So, for example, if you wanted to edit the html for the discussion list, you could copy the views from /applications/vanilla/views/discussions to /themes/your_theme_name/views/discussions and edit them there.

Page 20: Adding Vanilla to WordPress

Thank youWhere to find us…

To download all files from this presentationAnd stay in the Vanilla WordPress developers loop

Link to promo page

@vanilla@digibomb

@navvywavvy