Ya sorry that was unclear.
Okay what I did is have a wordpress integration as instructed here.
Our directory structure is that the website is in the root(www.site.com/) and wordpress into a folder named 'blog' (www.site.com/blog/). With your plugin installed and active causes the services.php in the root to be included instead of services in the plugin folder.
So when I put this onto the websites home page (www.site.com) before the doctype... first 2 lines:
It causes our services.php (www.site.com/services.php) to be included instead of services in the plugin folder.
What we're doing is put the wordpress posts from a specific category (news category) into the website's home page (www.site.com) and then allowing them to link to the wordpress addition to the site (www.site.com/blog).
So what happens on the homepage is that before the doctype/head tag is that it includes services.php (www.site.com/services.php) ontop of the site.
What I think is happening is that the
define('YARPP_DIR',dirname(__FILE__)); is using the root when you integrate outside of the wordpress environment.