Skip to content

linc/vanilla-glue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SUMMARY
=======
These plugins are for experienced web developers who want to add WordPress to a Vanilla Forum community with 
synched users, synched comments, no iframes, and the smoothest user experience.

It is primarily for *Vanilla* developers, not WordPress developers. It essentially borgs WordPress into being
a convenient CMS addon to Vanilla and enables Vanilla framework use within your WordPress theme.

LEGAL
=====
@license GNU GPL2 (@see LICENSE)
@copyright 2011 Lincoln Russell <lincolnwebs@gmail.com>

WARNING
=======
If you already have an existing WordPress site and just installed a new Vanilla forum, this *IS NOT* the plugin for you. 
See the "VanillaForums" plugin for WordPress instead.

Glue will forcefully sync your WordPress Users table to your Vanilla User table. 
This means existing WordPress-only users WILL BE DELETED FOREVER. Even your WordPress admin users will be deleted. 
You will log in with your Vanilla admin account after install.

BACKUP YOUR DATABASE, CONFIG FILES, AND ANY CUSTOMIZATIONS BEFORE INSTALLING GLUE.

IF YOU ARE NOT COMFORTABLE MANUALLY RESTORING YOUR ACCESS TO WORDPRESS VIA THE DATABASE, DO NOT USE GLUE.

REQUIREMENTS
============
0. Wordpress 3.0 and Vanilla 2.1
1. WP and Vanilla MUST use the same database.
2. WP and Vanilla MUST be on the same domain.

INSTRUCTIONS
============
0. Copy the Vanilla & WordPress plugins to their respective folders.
1. Edit the wp-content/plugins/glue/config-sample.php file to have the path to your Vanilla install & rename to config.php.
2. Go to the WordPress Dashboard and enable the Glue plugin.
3. Go to the Vanilla Dashboard and enable the Glue plugin.
4. Set $Configuration['Plugins']['Glue']['Category'][$WordPressCategoryName] = $VanillaCategoryID in Vanilla config for each WP category.

UPDATING YOUR THEME
===================
1. Add to comments.php template: global $vanilla_comments; do_action('vanilla_comments', $post_id);
2. Add to single.php template: global $vanilla_postinfo; do_action('vanilla_postinfo', $post_id);
3. Adapt both templates to use provided glue_ functions for user info.

FEATURES
========
0. Enables guest commenting in Vanilla via WordPress comments.
1. Syncs comments between WordPress and Vanilla (by displaying both from Vanilla).
2. Syncs users between WordPress and Vanilla (using Vanilla as the canonical copy).
3. Signing into Vanilla signs you into WordPress.
4. Allows you to use the entire Vanilla framework in your WordPress theme.

CHANGELOG
=========
1.0: Fixes all known issues except blank names in activity.
1.1: Improvements to auth & avatars, discussion closing, lots of minor fixes

About

Use WordPress as an addon to Vanilla Forums

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages