MyBB Community Forums

Full Version: Smashable Christmas Lights
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6
so grateful. 1000 thanks. For some reason not working.
http://www.australian-hayabusa-club.com/MyBB/index.php
Everything is on, folders/files in right places. No error when switching plugin on.
I disabled all other plugins but still does not show..
Hey,

in your theme header template are a lot of older christmas lights plugin script parts ... please remove them and ensure that the folder "smash_christmas_lights" is in plugin folder.
on the case

I removed this but it has effected the text on the forum making text centred..

<div id="container"><div id="lights" {$scl_smashtatus}></div>
<link rel="stylesheet" media="screen" href="http://xserverx.com/forums/inc/lights/christmaslights.css" />
<script type="text/javascript" src="http://xserverx.com/forums/inc/lights/soundmanager2-nodebug-jsmin.js"></script>
<script type="text/javascript" src="http://yui.yahooapis.com/combo?2.6.0/build/yahoo-dom-event/yahoo-dom-event.js&2.6.0/build/animation/animation-min.js"></script>
<script type="text/javascript" src="http://xserverx.com/forums/inc/lights/christmaslights.js.php?bburl={$mybb->settings['bburl']}"></script>
<script type="text/javascript">
var urlBase = './';
soundManager.url = './';
</script>
<div id="lights" class="lightsActive" onclick="makeInact()"></div>
<link rel="stylesheet" media="screen" href="http://xserverx.com/forums/inc/lights/christmaslights.css" />
<script type="text/javascript" src="http://xserverx.com/forums/inc/lights/soundmanager2-nodebug-jsmin.js"></script>
<script type="text/javascript" src="http://yui.yahooapis.com/combo?2.6.0/build/yahoo-dom-event/yahoo-dom-event.js&2.6.0/build/animation/animation-min.js"></script>
<script type="text/javascript" src="http://xserverx.com/forums/inc/lights/christmaslights.js.php?bburl={$mybb->settings['bburl']}"></script>
<script type="text/javascript">
var urlBase = './';
soundManager.url = './';
</script>
<div id="lights" class="lightsActive" onclick="makeInact()"></div>

i am using this in header now..

<div id="container"><div id="lights" {$scl_smashtatus}></div>
<link rel="stylesheet" media="screen" href="http://xserverx.com/forums/inc/lights/christmaslights.css" />
<script type="text/javascript" src="http://xserverx.com/forums/inc/lights/soundmanager2-nodebug-jsmin.js"></script>
<script type="text/javascript" src="http://yui.yahooapis.com/combo?2.6.0/build/yahoo-dom-event/yahoo-dom-event.js&2.6.0/build/animation/animation-min.js"></script>
<script type="text/javascript" src="http://xserverx.com/forums/inc/lights/christmaslights.js.php?bburl={$mybb->settings['bburl']}"></script>
<script type="text/javascript">
var urlBase = './';
soundManager.url = './';
</script>

should I adjust the addresses to point to my server?
Please uninstall my plugin in ACP and after that remove this from header template.

<link rel="stylesheet" media="screen" href="http://xserverx.com/forums/inc/lights/christmaslights.css" />
<script type="text/javascript" src="http://xserverx.com/forums/inc/lights/soundmanager2-nodebug-jsmin.js"></script>
<script type="text/javascript" src="http://yui.yahooapis.com/combo?2.6.0/build/yahoo-dom-event/yahoo-dom-event.js&2.6.0/build/animation/animation-min.js"></script>
<script type="text/javascript" src="http://xserverx.com/forums/inc/lights/christmaslights.js.php?bburl=http://www.australian-hayabusa-club.com/MyBB"></script>
<script type="text/javascript">
var urlBase = './';
soundManager.url = './';
</script>
<div id="lights" class="lightsActive"  onclick="makeInact()"></div>

Then install & activate my plugin again.
changed it to this still no go
<div id="container"><div id="lights" {$scl_smashtatus}></div>
<link rel="stylesheet" media="screen" href="http://www.australian-hayabusa-club.com/MyBB/inc/smash_christmas_lights/christmaslights.css" />
<script type="text/javascript" src="http://www.australian-hayabusa-club.com/MyBB/inc/smash_christmas_lights/soundmanager2-nodebug-jsmin.js"></script>
<script type="text/javascript" src="http://www.australian-hayabusa-club.com/MyBB/inc/smash_christmas_lights/animation/animation-min.js"></script>
<script type="text/javascript" src="http://www.australian-hayabusa-club.com/MyBB/inc/smash_christmas_lights/christmaslights.js.php?bburl={$mybb->settings['bburl']}"></script>
<script type="text/javascript">
var urlBase = './';
soundManager.url = './';
</script>
Remove this:
<link rel="stylesheet" media="screen" href="http://www.australian-hayabusa-club.com/MyBB/inc/smash_christmas_lights/christmaslights.css" />
<script type="text/javascript" src="http://www.australian-hayabusa-club.com/MyBB/inc/smash_christmas_lights/soundmanager2-nodebug-jsmin.js"></script>
<script type="text/javascript" src="http://www.australian-hayabusa-club.com/MyBB/inc/smash_christmas_lights/animation/animation-min.js"></script>
<script type="text/javascript" src="http://www.australian-hayabusa-club.com/MyBB/inc/smash_christmas_lights/christmaslights.js.php?bburl={$mybb->settings['bburl']}"></script>
<script type="text/javascript">
var urlBase = './';
soundManager.url = './';
</script>

The right code is already in headerinclude template...

Please ensure that the folder "smash_christmas_lights" from my release in also in /inc/plugins directory.
ok did that and this is what is in top of header but still no go..

<div id="container"><div id="lights" {$scl_smashtatus}></div>
<a name="top" id="top"></a>
<div id="header">
<div id="logo">
<div class="wrapper">
<a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>
<ul class="menu top_links">
Quote:Please ensure that the folder "smash_christmas_lights" from my release in also in /inc/plugins directory.
[attachment=35637]

I've tested it on my devboard and it works fine:
[attachment=35638]
that was it!
Sorry for the trouble!
Whohooooooooooooooooooooooooooooooooooooooooooooo

So thankful SvePu

I had the folder in root as that was how it used to work.
Thanks again, our members will be very happy and some annoyed lol.
You should add this to the Plugins area also as it's a great fun plugin. Thanks for your effort.
:-)
Pages: 1 2 3 4 5 6