rjones
02-23-2006, 07:47 PM
Hello,
I tried to make a very basic page based on the tutorial here:
https://vborg.vbsupport.ru/showthread.php?t=98009
I created the new php page (ztopic.php) and placed it in the root directory of the forum.
Then I added a record to forum_template table with the title of the template (ztopic) and the template field populated with the html used in the tutorial.
In the last line I added the name of my page like so:
eval('print_output("' . fetch_template('ztopic') . '");');
However when I go to the page, it just comes up as empty html.... :ermm:
If I change the last line to a known working template like:
eval('print_output("' . fetch_template('newthread') . '");');
I get a vb page back....
Can anyone give me a pointer as to where I am going wrong here?
Thanks in advance!
I tried to make a very basic page based on the tutorial here:
https://vborg.vbsupport.ru/showthread.php?t=98009
I created the new php page (ztopic.php) and placed it in the root directory of the forum.
Then I added a record to forum_template table with the title of the template (ztopic) and the template field populated with the html used in the tutorial.
In the last line I added the name of my page like so:
eval('print_output("' . fetch_template('ztopic') . '");');
However when I go to the page, it just comes up as empty html.... :ermm:
If I change the last line to a known working template like:
eval('print_output("' . fetch_template('newthread') . '");');
I get a vb page back....
Can anyone give me a pointer as to where I am going wrong here?
Thanks in advance!