|
|
Craig |
|
|
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
|
As it is the festive season, and someone requested it, here is a Mod that makes snow fall on your Board Index only. View the ReadMe.txt file included in the .zip file for instructions on how to install.
-Craig.
 |
This post contains attachments; to download them you must login. |
|
|
| 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. |
|
| Revision History (1 edits) |
| scrappy - December 21, 2005, 3:34pm | | |
|
|
|
|
|
forum_amnesiac |
|
|
Posts: 65
Posts Per Day: 0.04
Time Online: 1 days 3 hours 50 minutes
|
Craig
I have followed the instructions in the readme file and when I use the modification center to install I get the message that this has installed successfully.
However, there was no snow on the board index and when going back to the mod center the top line still offered Install as an option, not Uninstall.
Have I done something wrong? |
|
|
|
|
|
Craig |
|
|
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
|
Hmmm...I would say that your Mods directory is not chmod'd to 777. That is more than likely why it doesn't say that it is installed. If you FTP into your site to your Mods directory, do you see a file called: SnowonBoardIndex.installed? If not, that is the problem. If it is there, look at your BoardIndex.pl file in the code directory. It should look like this after CoreLoad:
|
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"; <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> <table cellpadding="1" cellspacing="1" width="100%" class="border"> |
|
If it doesn't, that means you might need to chmod the Code directory to 777 as well. If all that is correct, then you might want to edit the SnowonBoardIndex.v2m file and change /blahdocs/template/ to http://yoursite.com/blahdocs/template. |
| 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. |
|
|
|
|
|
Martin |
|
|
Posts: 4,558
Gender:  Male
Posts Per Day: 3.16
Reputation: 98.60%
Reputation Score: +211 / -3
Time Online: 35 days 19 hours 17 minutes
Location: UK
Age: 50
|
Hey Craig
It wasn't chmod to 777 but it is now. However, the path's will need changing,
var imgSrc = '/blahdocs/template/snow.gif';
Needs to be:
var imgSrc = '/grannyforum/blahdocs/template/snow.gif';
and
script src="/blahdocs/template/snowfall.js
Needs to be:
script src="/grannyforum/blahdocs/template/snowfall.js
Just open the mod file in wordpad and make the changes, save and reupload in ASCII |
| Martin's Reputation: Increase |
|
|
|
|
|
Craig |
|
|
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
|
Yeah, short of adding a field in the admin center, there is no way other then editing the file to change that setting  |
| 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. |
|
|
|
|
|
forum_amnesiac |
|
|
Posts: 65
Posts Per Day: 0.04
Time Online: 1 days 3 hours 50 minutes
|
Craig
I checked as you said and the initial problem was that I had not FTP's the install file as Ascii.
After I corrected that I did the install and this time it seemed ok.
I looked at the boardindex.pl and it was mod'd as you said.
However there is still no snow effect on the board index.
**************** Just seen the post from Martin - will try that ********** |
|
|
|
|
|
forum_amnesiac |
|
|
Posts: 65
Posts Per Day: 0.04
Time Online: 1 days 3 hours 50 minutes
|
|
|
|
|
|
|