The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#9
|
|||
|
|||
![]()
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 Code:
ob_start(); require_once('prod_gallery_maker.php'); $creds = ob_get_contents(); ob_end_clean(); vB_Template::preRegister('SHOWTHREAD',array('creds' => $creds)); following code do works 60% Code:
ob_start(); $threadtitle = $threadinfo['title']; require_once('http://sitename.com/prod_gallery_maker.php?t=<?$threadtitle;?>'); $creds = ob_get_contents(); ob_end_clean(); vB_Template::preRegister('SHOWTHREAD',array('creds' => $creds)); Code:
require_once('http://sitename.com/prod_gallery_maker.php?t=<?$threadtitle;?>'); It is not passing parameter successfully. --------------- Added [DATE]1300907348[/DATE] at [TIME]1300907348[/TIME] --------------- session variables are not working. Do you it would work with cookie variable? i.e store threadtitle with the help of cookie. --------------- Added [DATE]1300913112[/DATE] at [TIME]1300913112[/TIME] --------------- 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: ![]() Dont know why setcookie not working at vbulletin? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|