Welcome to the E-Blah Community!
We would like to welcome you to our community and invite you to register an account or login.
Being a registered member is important, as it gives you several advantages over the normal Guest status. After registering you will be able to download files and images, post messages, and access member-only portions of the forum - just to name a few. Registration is quick and simple, and only takes about a minute of your time.

E-Blah Community    Modifications    Mod Requests and Support  ›  Installed the snow mod, but it doesn't work Moderators: 10 Series Support Team
Users Browsing Forum
No Members and 1 Guests

Installed the snow mod, but it doesn't work  This thread currently has 821 views. Print
1 Pages 1 Recommend Thread
Rooonga
December 17, 2005, 11:20am Report to Moderator Report to Moderator
E-Blah Member
Posts: 21
Posts Per Day: 0.02
Time Online: 6 hours 2 minutes
Hi everyone.

I just installed the snow mod, and I can see it in the mod Center, however when I do a test install i get the message --» Code not found in source ...

It shows fine in the mod Center so I am sure the files went over correctly. It's only when I do a test install I get the message.

I also edited the file to show the correct path, so I know this isn't the problem too.

Any help would be great.

Many thanks, and a very Happy Christmas!
Logged Offline
Private Message Private message
Craig
December 17, 2005, 11:43am Report to Moderator Report to Moderator

SQL Support Team
Posts: 3,619
Gender: Male
Posts Per Day: 2.13
Reputation: 97.73%
Reputation Score: +215 / -5
Time Online: 14 days 15 hours 11 minutes
Location: Germany
Age: 38
Do you have any other mods installed?  If yes, then which are they.

-Craig


Don't just ask a question.
Instead ask a question, give us a screen shot and post a link to your forum.
Help us help you make your forum better!


If I helped...increase my Reputation by clicking here.
Logged Offline
Site Site Private Message Private message ICQ ICQ Reply: 1 - 4
Rooonga
December 17, 2005, 11:47am Report to Moderator Report to Moderator
E-Blah Member
Posts: 21
Posts Per Day: 0.02
Time Online: 6 hours 2 minutes
No, this is my 1st one.

I have a few themes installed, and they all work fine.

This is the screen I get when I try a test intall:

Source Code:
sub LoadIndex {
    if($URL{'a'} eq 'tog') { Tog(); }
    my($moderate,$postsandtops);
    $gdisable = 1;
    $title = $mbname;
    header();
    foreach (@catbase) {
        ($nme,$id) = split(/\|/,$_);
        if($id eq $URL{'c'}) { $catid = $id; $catname = $nme; last; }
    }
    if($URL{'c'} ne '') { $dirlist = qq~<a href="$surl">$mbname</a> &nbsp;<b>&#155; &nbsp;$catname</b>~; }
        else { $dirlist = "<b>$mbname</b>"; }

    $ebout .= <<"EOT";

After:
<script type="text/javascript" language="javascript1.2"><!--
var imgSrc = 'http://badbmx.com/forum/blahdocs/template/snow.gif';
var PicX = 20;
var PicY = 20;
var NumSnow = 15;
var fallRate = 0.010;
var driftRate = 8;
//--></script>
<script src="http://badbmx.com/forum/blahdocs/template/snowfall.js" type="text/javascript" language="javascript1.2"></script>

--» Code not found in source ...

Any ideas??
Logged Offline
Private Message Private message Reply: 2 - 4
Craig
December 17, 2005, 12:02pm Report to Moderator Report to Moderator

SQL Support Team
Posts: 3,619
Gender: Male
Posts Per Day: 2.13
Reputation: 97.73%
Reputation Score: +215 / -5
Time Online: 14 days 15 hours 11 minutes
Location: Germany
Age: 38
Yup.  You are running 9.2, and the code has changed  Just do this to make it work for you on your 9.2 board.  Edit SnowBoardIndex.v2 and replace everything in the file with this:
Code
<author="Craig">
<modname="Snow on Board Index">
<version="1">
<boardversion="9.2">
<site="http://www.blahdocs.com">
<desc="This will make snow fall on your Board Index Page only. Image can be changed to anything you like.">

<openfile="Code/BoardIndex.pl" writes="1">
<mod search="1">
sub LoadIndex {
if($URL{'a'} eq 'tog') { &Tog; }
my($moderate,$postsandtops);
$gdisable = 1;
$title = $mbname;
&header;
foreach (@catbase) {
($nme,$id) = split(/\|/,$_);
if($id eq $URL{'c'}) { $catid = $id; $catname = $nme; last; }
}
if($URL{'c'} ne '') { $dirlist = qq~<a href="$surl">$gtxt{'44'}</a> &nbsp;<b>&#155; &nbsp;$catname~; }
else { $dirlist = qq~<b>$gtxt{'44'}~; }

$ebout .= <<"EOT";
</mod end>
<mod write="1" action="1">
<script type="text/javascript" language="javascript1.2"><!--
var imgSrc = '/blahdocs/template/snow.gif';
var PicX = 20;
var PicY = 20;
var NumSnow = 15;
var fallRate = 0.010;
var driftRate = 8;
//--></script>
<script src="/blahdocs/template/snowfall.js" type="text/javascript" language="javascript1.2"></script>
</mod end>


Of course you will have to change your paths again, but that should run for you....or you could upgrade to P9.5


Don't just ask a question.
Instead ask a question, give us a screen shot and post a link to your forum.
Help us help you make your forum better!


If I helped...increase my Reputation by clicking here.
Logged Offline
Site Site Private Message Private message ICQ ICQ Reply: 3 - 4
Rooonga
December 17, 2005, 12:10pm Report to Moderator Report to Moderator
E-Blah Member
Posts: 21
Posts Per Day: 0.02
Time Online: 6 hours 2 minutes
Thank you so much!

Ahh, looks lovely!!

I hope everyone here has a fabulous Christmas!
Logged Offline
Private Message Private message Reply: 4 - 4
1 Pages 1 Recommend Thread
Print

E-Blah Community    Modifications    Mod Requests and Support  ›  Installed the snow mod, but it doesn't work