The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Okay, I'm making a hack and I have some templates that I need to add to the php page, so I'm using the fetch_template function. However when I do this I get this error
Call to undefined function: fetch_template() I'm using something identical to this PHP Code:
Any suggestions? |
#2
|
|||
|
|||
![]()
Are you including global.php?
and Code:
eval('$main .= "' . fetch_template('main') . '";'); |
#3
|
|||
|
|||
![]()
use need to use the .(dot)
only if you in some kind of loop (while,foreach) and you want it to save info and not get replaced like if my template is like <tr><td>$value</td></tr> then i will need to use the dot not on regualr use |
#4
|
|||
|
|||
![]() Quote:
Thank you for you help, it seems I didn't include global.php. >_< |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|