MyBB Community Forums

Full Version: CSS HELP ***PLEASE READ!!!*
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
I want to put this script on my forums, using myBB 1.4.13.... I don't know where to put it. Can someone help? I tried to putt it in the CSS and it wont work.
<!-- required snowstorm JS, default behaviour -->
<script type="text/javascript" src="snowstorm.js"></script>

<!-- now, we'll customize the snowStorm object -->
<script type="text/javascript">
snowStorm.snowColor = '#99ccff'; // blue-ish snow!?
snowStorm.flakesMaxActive = 96;  // show more snow on screen at once
snowStorm.useTwinkleEffect = true; // let the snow flicker in and out of view
</script>
It doesn't go in the CSS, because it isn't CSS. It a script code that needs to go in a HTML template.....
I understood that part o_O Wheres the HTML template?
In templates tab, and then you need to insert it into the area that you want it to appear in. Header, footer etc.
Actually I think that code should be in the headerinclude if I can remember correctly
I was a bit 50/50 about whether it was or not.
What is headerinclude under? (EG Forum Display)
I think it's called "ungrouped" at the bottom of the set list.
Is there a specific place I need to put it in the html? Cause it wont work.
<link rel="alternate" type="application/rss+xml" title="{$lang->latest_threads} (RSS 2.0)" href="{$mybb->settings['bburl']}/syndication.php" />
<link rel="alternate" type="application/atom+xml" title="{$lang->latest_threads} (Atom 1.0)" href="{$mybb->settings['bburl']}/syndication.php?type=atom1.0" />
<meta http-equiv="Content-Type" content="text/html; charset={$charset}" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/prototype.js?ver=1400"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/general.js?ver=1400"></script>
<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/popup_menu.js?ver=1400"></script>
<!--[if lt IE 7.]>
<script defer type="text/javascript" src="jscripts/pngfix.js"></script>
<![endif]-->
{$stylesheets}
<script type="text/javascript">
<!--
	var cookieDomain = "{$mybb->settings['cookiedomain']}";
	var cookiePath = "{$mybb->settings['cookiepath']}";
	var cookiePrefix = "{$mybb->settings['cookieprefix']}";
	var deleteevent_confirm = "{$lang->deleteevent_confirm}";
	var removeattach_confirm = "{$lang->removeattach_confirm}";
	var loading_text = '{$lang->ajax_loading}';
	var saving_changes = '{$lang->saving_changes}';
	var use_xmlhttprequest = "{$mybb->settings['use_xmlhttprequest']}";
	var my_post_key = "{$mybb->post_code}";
	var imagepath = "{$theme['imgdir']}";
// -->
</script>
{$newpmmsg}<script language="javascript" type="text/javascript" charset="UTF-8" src="{$mybb->settings['bburl']}/jscripts/myplaza_global.js"></script>
<script language="javascript" type="text/javascript">var plaza_ajax_err_msg = "{$lang->plaza_error_ajax}";</script>
Heres my code ^^^^^ Where should I put it?
as its java it needs to be inserted in the head of the template
between <head>and</head>
Pages: 1 2 3 4