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    Modification Archive  ›  Snow Fall on Board Index for 9.5 / 9.6 Moderators: 10 Series Support Team
Users Browsing Forum
No Members and 1 Guests

Snow Fall on Board Index for 9.5 / 9.6  This thread currently has 1,285 views. Print
1 Pages 1 Recommend Thread
Craig
December 9, 2005, 1:52am 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
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
Logged Offline
Site Site Private Message Private message ICQ ICQ
forum_amnesiac
December 9, 2005, 2:46am Report to Moderator Report to Moderator

E-Blah Member
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?
Logged Offline
Private Message Private message Reply: 1 - 6
Craig
December 9, 2005, 4:06am 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
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> &nbsp;<b>&#155; &nbsp;$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.
Logged Offline
Site Site Private Message Private message ICQ ICQ Reply: 2 - 6
Martin
December 9, 2005, 4:18am Report to Moderator Report to Moderator

I love E-Blah
10 Series Support Team
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
Logged Offline
Site Site Private Message Private message Reply: 3 - 6
Craig
December 9, 2005, 4:21am 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
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.
Logged Offline
Site Site Private Message Private message ICQ ICQ Reply: 4 - 6
forum_amnesiac
December 9, 2005, 4:26am Report to Moderator Report to Moderator

E-Blah Member
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 **********
Logged Offline
Private Message Private message Reply: 5 - 6
forum_amnesiac
December 9, 2005, 4:30am Report to Moderator Report to Moderator

E-Blah Member
Posts: 65
Posts Per Day: 0.04
Time Online: 1 days 3 hours 50 minutes
Sorted

Thanks
Logged Offline
Private Message Private message Reply: 6 - 6
1 Pages 1 Recommend Thread
Print

E-Blah Community    Modifications    Modification Archive  ›  Snow Fall on Board Index for 9.5 / 9.6