I hope Sniper will not kill me if I give my raw solution to use this great hack also with vba_cmps. I am not at all a coder so pls excuse me if code could be done better.
Basically i have just added the forum path before mood paths.
Open with an editor Sniper's XML (product-vmoods.xml) Find&Replace
Code:
Find:
<img id="vmoods-mine" src="$vboptions[vmoods_images_path]/$bbuserinfo[vmood].gif" border="0" alt="$bbuserinfo[vmood]" title="$bbuserinfo[vmood]"<if condition="$bbuserinfo[vmood] == 'none'"> style="display:none;"</if> />
Replace with :
<img id="vmoods-mine" src="$vboptions[bburl]/$vboptions[vmoods_images_path]/$bbuserinfo[vmood].gif" border="0" alt="$bbuserinfo[vmood]" title="$bbuserinfo[vmood]"<if condition="$bbuserinfo[vmood] == 'none'"> style="display:none;"</if> />
Find:
<dd><img src="$vboptions[vmoods_images_path]/$userinfo[vmood].gif" border="0" /></dd>
Replace with:
<dd><img src="$vboptions[bburl]/$vboptions[vmoods_images_path]/$userinfo[vmood].gif" border="0" /></dd>
Find:
<script type="text/javascript" src="$vboptions[vmoods_script_path]/vmoods.js?v=$vboptions[simpleversion]"></script>
Replace with:
<script type="text/javascript" src="$vboptions[bburl]/$vboptions[vmoods_script_path]/vmoods.js?v=$vboptions[simpleversion]"></script>
Find:
var VMOODS_IMAGES_PATH = '$vboptions[vmoods_images_path]';
Replace with:
var VMOODS_IMAGES_PATH = '$vboptions[bburl]/$vboptions[vmoods_images_path]';
Find:
<img id="vmood-$vmood_id" src="$vmoods_path/$vmood.gif" alt="$vmood" title="$vmood" class="vmood" />
Replace with:
<img id="vmood-$vmood_id" src="$vboptions[bburl]/$vmoods_path/$vmood.gif" alt="$vmood" title="$vmood" class="vmood" />
Find:
<img style="vertical-align: middle" src="$vboptions[vmoods_images_path]/$post[vmood].gif" border="0" />
Replace with:
<img style="vertical-align: middle" src="$vboptions[bburl]/$vboptions[vmoods_images_path]/$post[vmood].gif" border="0" />
Now
open Sniper's vmoods.js file - Find&Replace
note: for this you should individually insert your domainurl/forum path.
I did not found another easier solution 4 this step but i think Sniper or any coder will help better.
Code:
Find:
YAHOO.util.Connect.asyncRequest("POST", "ajax.php?do=vmoods_update&securitytoken=" + SECURITYTOKEN + "&vmood=" + target.title, {
Replace with:
YAHOO.util.Connect.asyncRequest("POST", "http://www.yourdomainURL/forum/ajax.php?do=vmoods_update&securitytoken=" + SECURITYTOKEN + "&vmood=" + target.title, {
Now re-upload vmoods.js and reload product-vmoods.xml with overwrite ON.
apologises for my terrible english
ciao