Quote:
Originally Posted by cinq
I used your code :
PHP Code:
chdir('/usr/home/mydomain/www/forum');
require('./global.php');
But it still does not function properly, i am still getting js errors and images are not showing.
I have this .php file outside my forum directory too.
any help ?
|
All the js references in the headinclude template need to have an absolute path.
Code:
<script type="text/javascript" src="$vboptions[bburl]/clientscript/vbulletin_global.js"></script>
<if condition="$show['popups']"><script type="text/javascript" src="$vboptions[bburl]/clientscript/vbulletin_menu.js"></script></if>