trungnguyen.kjd
13-12-2011, 02:18 PM
Em có đoạn code này:
if($vbulletin->options['my_productid']==1)
{
$my_productid= fetch_template('my_temp');
$vbulletin->templatecache['footer'] = $vbulletin->templatecache['footer'] . $my_productid;
}
Theo em hiểu thì nó có nghĩa là product đc bật thì nó sẽ lấy template my_temp chèn vô template footer của vbb.
Hok biết đúng hok
nhưng mà em hok hiểu trong vbb4 thì đoạn code tương tự nó như thế nào :-( Ai biết có thể chỉ em vs ah.
Thanks
if($vbulletin->options['my_productid']==1)
{
$my_productid= fetch_template('my_temp');
$vbulletin->templatecache['footer'] = $vbulletin->templatecache['footer'] . $my_productid;
}
Theo em hiểu thì nó có nghĩa là product đc bật thì nó sẽ lấy template my_temp chèn vô template footer của vbb.
Hok biết đúng hok
nhưng mà em hok hiểu trong vbb4 thì đoạn code tương tự nó như thế nào :-( Ai biết có thể chỉ em vs ah.
Thanks