View Single Post
  #9  
Old 23 Mar 2011, 18:58
ninadbe ninadbe is offline
 
Join Date: Mar 2011
Yes thats what I have been trying since last, created plugin , hooked it at "SHOWTHREAD" , "postbit" template.

I also tried to include file with following code


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Above code gives error


following code do works 60%

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

However if I tired above code it works fine. It showing product successfully. But problem is that, I want to show products related to forum title. Therefore why I passed parameters along with it as

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

but its not working.


It is not passing parameter successfully.

--------------- Added 23 Mar 2011 at 19:09 ---------------

session variables are not working.
Do you it would work with cookie variable? i.e store threadtitle with the help of cookie.

--------------- Added 23 Mar 2011 at 20:45 ---------------

ob_start();
$threadtitle = $threadinfo['title'];
setcookie('threadtitle111',$threadtitle);
require_once('http://naturalparenting.com.au/prod_gallery.php');
$prods = ob_get_contents();
ob_end_clean();
vB_Template:reRegister('postbit_legacy',array('prods' => $prods));


Dont know why setcookie not working at vbulletin?

Last edited by ninadbe; 23 Mar 2011 at 20:45. Reason: Auto-Merged DoublePost
Reply With Quote