Goatpod
02-21-2012, 07:29 PM
Hello, hope someone can help with this problem.
I've created a plug in that calls on an ebay api script (phpBay Pro) to add Ebay listings underneath a product review. The review mod. is TedS' wonderful Product Review Forums ? Research, Reviews & Comparisons (https://vborg.vbsupport.ru/showthread.php?t=269808) and I'm trying to reuse one of its variables: vb:raw product.mfrg.
Everything works fine if a keyword is substituted for the vb:raw product.mfrg variable in the plugin; but I'm lost when it comes to what should be the right syntax to enter so that the correct keyword appears (which is the title as defined by the review mod.).
The plugin code is:
ob_start();
require_once("./phpbay/ebay.php");
phpBayAPI("{(vb:raw product.mfrg)}", "5", "", "", "", false);
$php_include = ob_get_contents();
ob_end_clean();
vB_Template::preRegister('prodforums_product_detai ls',array('php_include' => $php_include));
Thanks for any help that can be offered.
Dave
I've created a plug in that calls on an ebay api script (phpBay Pro) to add Ebay listings underneath a product review. The review mod. is TedS' wonderful Product Review Forums ? Research, Reviews & Comparisons (https://vborg.vbsupport.ru/showthread.php?t=269808) and I'm trying to reuse one of its variables: vb:raw product.mfrg.
Everything works fine if a keyword is substituted for the vb:raw product.mfrg variable in the plugin; but I'm lost when it comes to what should be the right syntax to enter so that the correct keyword appears (which is the title as defined by the review mod.).
The plugin code is:
ob_start();
require_once("./phpbay/ebay.php");
phpBayAPI("{(vb:raw product.mfrg)}", "5", "", "", "", false);
$php_include = ob_get_contents();
ob_end_clean();
vB_Template::preRegister('prodforums_product_detai ls',array('php_include' => $php_include));
Thanks for any help that can be offered.
Dave