|
|
Rooonga |
| December 17, 2005, 11:20am |
|
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! |
|
|
|
|
|
Craig |
| December 17, 2005, 11:43am |
|
|
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. |
|
|
|
|
|
Rooonga |
| December 17, 2005, 11:47am |
|
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> <b>› $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?? |
|
|
|
|
|
Craig |
| December 17, 2005, 12:02pm |
|
|
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> <b>› $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. |
|
|
|
|
|
Rooonga |
| December 17, 2005, 12:10pm |
|
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! |
|
|
|
|
|
|