View Single Post
Old March 5th, 2004, 02:55 PM   #5 (permalink)
bitg
Registered User
 
Join Date: Dec 2003
Posts: 53
OK, I got the error message worked out as well. Interdit from this sytem chatted with me for awhile and it turned out the that problem was in my "headerinclude" template. The lines that normally read:
Quote:
<script type="text/javascript" src="clientscript/vbulletin_global.js"></script>
<if condition="$vboptions['usepopups']"><script type="text/javascript" src="clientscript/vbulletin_menu.js"></script></if>
Have to have a "/" in front of it. Since my forum is on the root directory, the / tells it to look for the client script directory starting from the root. The same will apply to any forum that is in any directory.

The correct way would be as follows:
Quote:
<script type="text/javascript" src="/clientscript/vbulletin_global.js"></script>
<if condition="$vboptions['usepopups']"><script type="text/javascript" src="/clientscript/vbulletin_menu.js"></script></if>
I think this was mentioned ealier, but I think they referring to making it an absolute url like
Quote:
<script type="text/javascript" src="http://www.yourdomain.com/forum/clientscript/vbulletin_global.js"></script>
<if condition="$vboptions['usepopups']"><script type="text/javascript" src="http://www.yourdomain.com/forum//clientscript/vbulletin_menu.js"></script></if>
This would work too. Thank you to everybody for trying to make this work for me. Especially Interdit for helping me solve this.
bitg is offline   Reply With Quote