First off, I am completely new to php
hello I am running vbulletin 3.0.3 and I am trying to use the How to create your own vBulletin-powered page! (uses vB templates). The reason that I want to create this page is so that I can intergrate a glossary script that will look just like the rest of my forums. I was able to create this page just fine, but I added the index.php that is used for the glossary into a template called test in vbulletin and tired to save it, but I got this error
The following error occurred when attempting to evaluate this template:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/jaxen/public_html/4xtraders/forum/includes/adminfunctions_template.php(3055) : eval()'d code on line 26
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
this is the code that I have on line 26 thur 29
$sys['path_include'] = 'inc'; $sys['is_prepend'] = 1; include_once('./db_config.php'); include_once($sys['path_include'] . '/config.inc.php');
The only way that I have found on vbulletin.org is to use it this way and call it from a template, unless any one else should have an idea?
What can I do to over come this error as this is the best glossary layout that I have found and like (for free)? Any help would be great