Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > vBadvanced CMPS
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
I need some help with custom templates Details »»
I need some help with custom templates
Version: , by badblu badblu is offline
Developer Last Online: Jun 2015 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 09-10-2005 Last Update: Never Installs: 0
 
No support by the author.

I my dhtml menu that i have created to be on my VBA CMPS index page.

I just dont understand on what i should do.


You can see the box i made called test 1 on my home page at www.aus-scifi.com but its not loading the code i am using in this box is
Code:
<html>

<head>

<script type="text/javascript" language="JavaScript1.2" src="stm31.js"></script>
</head>

<body>
<script type="text/javascript" language="JavaScript1.2">
<!--
stm_bm(["menu4138",430,"","blank.gif",0,"","",0,0,250,0,1000,1,0,0,"","",0],this);
stm_bp("p0",[1,4,0,0,1,3,0,7,83,"",-2,"",-2,40,2,3,"#999999","transparent","",0,0,0,"#000000"]);
stm_ai("p0i0",[0,"Home","","",-1,-1,0,"http://www.aus-scifi.com/","_self","","","","",0,0,0,"","",0,0,0,0,1,"#3366CC",0,"#3366CC",0,"","",3,3,0,0,"#ffffff #ffffff #ffffff #ffffff","#ffffff #ffffff #ffffff #ffffff","#ffffff","#000000","8pt Arial","8pt Arial",0,0]);
stm_aix("p0i1","p0i0",[0,"Stargate","","",-1,-1,0,"#","_self","","","","",0,0,0,"arrow_r.gif","arrow_rb.gif",7,7,0,0,1,"#3366CC",0,"#3399ff"]);
stm_bpx("p1","p0",[1,2,0,-1,1,3,0,7,100,"progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.70)",-2,"progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.70)",-2,40,2,3,"#999999","#000000","",3]);
stm_aix("p1i0","p0i1",[0,"SG1"]);
stm_bpx("p2","p1",[1,2,0,-1,1,3,0,0]);
stm_aix("p2i0","p0i1",[0,"Season 1","","",-1,-1,0,"http://www.etaus.com.au/forum/articles.php?action=viewcat&catid=3","_self","","","","",0,0,0,"","",0,0]);
stm_aix("p2i1","p2i0",[0,"Season 2","","",-1,-1,0,"http://www.etaus.com.au/forum/articles.php?action=viewcat&catid=4"]);
stm_aix("p2i2","p2i0",[0,"Season 3","","",-1,-1,0,"http://www.etaus.com.au/forum/articles.php?action=viewcat&catid=5"]);
stm_aix("p2i3","p2i0",[0,"Season 4","","",-1,-1,0,"http://www.etaus.com.au/forum/articles.php?action=viewcat&catid=6"]);
stm_aix("p2i4","p2i0",[0,"Season 5","","",-1,-1,0,""]);
stm_aix("p2i5","p2i4",[0,"Season 6"]);
stm_aix("p2i6","p2i4",[0,"Season 7"]);
stm_aix("p2i7","p2i4",[0,"Season 8"]);
stm_aix("p2i8","p2i4",[0,"Season 9"]);
stm_ep();
stm_aix("p1i1","p0i1",[0,"SGA"]);
stm_bpx("p3","p2",[]);
stm_aix("p3i0","p2i4",[0,"Season 1"]);
stm_aix("p3i1","p2i4",[0,"Season 2"]);
stm_ep();
stm_ep();
stm_aix("p0i2","p0i1",[0,"BattleStar Galactica"]);
stm_bpx("p4","p2",[]);
stm_aix("p4i0","p2i4",[0,"Season  1"]);
stm_aix("p4i1","p2i4",[0,"Season  2"]);
stm_ep();
stm_aix("p0i3","p0i1",[0,"Star Trek"]);
stm_bpx("p5","p2",[]);
stm_aix("p5i0","p2i4",[0,"TOS"]);
stm_aix("p5i1","p2i4",[0,"TTNG"]);
stm_aix("p5i2","p2i4",[0,"DS9"]);
stm_aix("p5i3","p2i4",[0,"Voyager"]);
stm_aix("p5i4","p2i4",[0,"Enterprise"]);
stm_ep();
stm_aix("p0i4","p2i0",[1,"Aus Scifi Forum","","",-1,-1,0,"#"]);
stm_ep();
stm_em();
//-->
</script>
</body>

</html>
Ok i am guessing i have made the box wrong i created the box by doing the following
1.Add Module
2.[Template]
3.Template Content i copied the above code

I am guessing i have done it wrong or that there is an error in the head part.

When i load the test1 html file on my pc it works fine when its in the same dir as the js files.

So it has to be somthing very simple i am doing wrong.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:10 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05437 seconds
  • Memory Usage 2,203KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete