Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-23-2006, 10:55 PM
legion_diabolic legion_diabolic is offline
 
Join Date: May 2006
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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!
Reply With Quote
  #2  
Old 05-23-2006, 11:04 PM
Guest210212002
Guest
 
Posts: n/a
Default

Link to the website in question, and can you paste your entire header template?
Reply With Quote
  #3  
Old 05-23-2006, 11:05 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 05-24-2006, 12:52 AM
Ntfu2 Ntfu2 is offline
 
Join Date: Feb 2006
Posts: 1,247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

do you have the files created and on your server in the location they are pointing to?
Reply With Quote
  #5  
Old 05-25-2006, 12:33 PM
legion_diabolic legion_diabolic is offline
 
Join Date: May 2006
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 05-25-2006, 02:59 PM
Guest210212002
Guest
 
Posts: n/a
Default

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.
Reply With Quote
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 01:08 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.04937 seconds
  • Memory Usage 2,199KB
  • Queries Executed 13 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (4)postbit_onlinestatus
  • (6)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