vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Nothing I add to header will display AHHHHH! (https://vborg.vbsupport.ru/showthread.php?t=116507)

legion_diabolic 05-23-2006 10:55 PM

Nothing I add to header will display AHHHHH!
 
Will someone PLEASE tell me what the %&THETD%^EUJ!! you have to do to have html code you've added to the header template actually work???!!!

I'm trying to display 3 random banners below the title image, I have separate php document that handles the banner rotation, so I tried a simple php_include directly below the title image:
<? include("ban-inc-smo-1.php"); ?>
Nothing.

I tried pasting the javascript code directly into the header template:
<table width="650" height="136" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><div align="center">
<script type="text/javascript" src="ban1a.js"></script>
</div></td>
<td><div align="center">
<script type="text/javascript" src="ban1b.js"></script>
</div></td>
<td><div align="center">
<script type="text/javascript" src="ban1c.js"></script>
</div></td>
</tr>
</table>

NOTHING!

Nothing. I tried adding a simple stupid image link to the header template:
<p><img src="banners/120x60/temp/hosmd.gif" width="272" height="203" /></p>

NOTHING!!!

And for heavens sake, if ANYONE feels compelled to say "you need to have javascript turned on" will you PLEASE explain exactly, precisely, in detail what you mean by that and exactly where and how you "turn javascript on". Because it's not in the vbdocs, it's not found here by doing a search, and it's not in the admincp anywhere I have looked during the past 8 hours of pulling my hair out ove this stupid, idiotic, rediculous problem. HEEEEEEEEEEEELLLLLLLLLLLPPPPPP!

Guest210212002 05-23-2006 11:04 PM

Link to the website in question, and can you paste your entire header template?

amykhar 05-23-2006 11:05 PM

1. php won't work in the templates
2. are you sure you're editing the right style templates? I've made that mistake before.

Ntfu2 05-24-2006 12:52 AM

do you have the files created and on your server in the location they are pointing to?

legion_diabolic 05-25-2006 12:33 PM

Thanks for the help, I figured out a couple things and now everything is working fine. Still wouldn't mind knowing where and how javascript is turned on, or off, since I see people mentioning that quite frequently here. Seems like whoever is responsible for the users manual could gain some insight on where it could use some improvement by observing which problems and issues are the most commonly discussed in the help forums.

Guest210212002 05-25-2006 02:59 PM

It's always good form to post the fix, or at least nutshell it, in forum posts where you ask for help. That way if someone else finds this thread in a search, they don't have to bump it and ask you how you fixed it. ;)


All times are GMT. The time now is 10:05 AM.

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.01044 seconds
  • Memory Usage 1,714KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete