
XenScripts.com Wordpress to XenForo Bridge
==========================================

http://xenscripts.com

ABOUT

This scripts integrates your Wordpress and Xenforo communities to provide single signon, comment and avatar syncing as well as automatic creation of threads for new Wordpress pages/posts.


FEATURES

	* Login to WordPress with your XenForo account (user authentication is entirely handled by XenForo)

	* Automatically create XenForo threads for new WordPress posts and pages

	* Store WordPress comments as thread replies on XenForo

	* Sync and display XenForo avatars within WordPress


REQUIREMENTS

	XenForo and Wordpress must already be installed and their directories known.


INSTALLATION

	1. Upload xf_integration folder to /wp-content/plugins in your root wordpress directory
	2. Login to your wordpress admin panel and activate the plugin from the plugins tab
	3. Select settings and then 'XenForo Bridge'
	4. Fill in the relative path to the XenForo root and press the Save button twice (so all options are displayed).
	5. Fill in the remaining options and save again (Use the XenForo admin panel to find values such as forum IDs)
	6. You are done! The bridge should be working and ready to use!

If you have any issues with the installation please see the 'support' section below


TEMPLATE EDIT

If you decide to use the option to display a link to the XenForo thread instead of displaying the comments in Wordpress you need to make a template edit.

Where you would like to display a link to the thread you need to use PHP to output the value of: xenforo_thread_url();

For example in the default Twenty Eleven theme open comments.php and under:

	elseif ( ! comments_open() && ! is_page() && post_type_supports( get_post_type(), 'comments' ) ) :

replace the default with:

	?>	<?php $link = xenforo_thread_url();
				
	if($link != '')
				
	{
				
		?>
					
		<p class="nocomments"><a href="<?php echo xenforo_thread_url();?>">View the discussion on the forum</a></p>
				
		<?php
				
	}
				
	else
				
	{
				
		?>
					
		<p class="nocomments"><?php _e( 'Comments are closed.', 'twentyeleven' );?></p>
	
		<?php 
	} endif; ?>


BRANDING REMOVAL

If you have not purchased the branding free license you are required to display our copyright link at the bottom of all pages. You may style it as you wish provided it remains at least the same size and the link remains intact. If you wish to purchase branding removal please contact us (see below).

SUPPORT

Email: holmes.jc@gmail.com
Forum: http://xenscripts.com/community