Project Snow

Started by Matthew K., January 10, 2010, 03:23:07 AM

Previous topic - Next topic

Matthew K.


winter1966

Thanks Labradoodle. 

I see what was happening, that lines 372-449 were repeated again on lines 451-528.  I have uploaded that modified file and now I no longer get the error message when I click on "Features and Options".

The forum now has snow, however I still don't have any way of being able to control it, which was the reason why I uninstalled it in the first place...........lol.

Here is a screenshot of what I see when I go into "Features and Options".  I was expecting to see something in there where I could adjust the snow settings.

Thanks for your help with the modsettings.php file.


Matthew K.


winter1966

Lemme check, as I really don't know what UTF8 is.

Ah, yep, it would appear so.  Under Server Settings Language --> English-Utf8

Is that good or bad?   ???

Matthew K.

It's not really either.

Go ahead and attach: ./Themes/default/languages/Modifications-UTF8.english.php

winter1966

Man, I feel really bad you spending all this time on this.

I found the file you mentioned.  It hasn't been altered since Sept 25, 2007.  The modifications.english.php seems to be the file that was modified today.  I'll attach both just in case.  Also, two other files in that same folder called Help.english and project-snow.english were modified today.


Matthew K.

Ah that's right. My bad. I now put my labels in Modifications so I don't have to Load the custom language file every time the label is called.

Try duplicatiing Project-Snow.english.php and renaming the copy Project-Snow.english-utf8.php

winter1966

Wow!!!

Downloading the file  Project-Snow.english.php and renaming it to Project-Snow.english-utf8.php and re-uploading it worked perfectly.

Project Snow now shows up in the Features and Options.

Thanks so much for your help and patience.  :) 

:thumbup

Matthew K.

Not a problem. Glad you got it going alright :)

Best Regards!

So you know; there is a known bug in the PS 1.1 version for SMF 1.1 series. And this most likely will not be fixed because we are planning on dropping 1.1. series support for all of our mods because 2.0 is close to hitting final.

SMF Modders; Co-Founder & Core Developer,
Labradoodle-360

winter1966

Well, I'll look forward to upgrading to 2.0 soon thereafter provided it is a fairly simple process to upgrade rather than a 'redo from start'.

Thanks again for your help.

Abavagada

Installed this mod on SMF 1.1.12 and it works great! Thanks!

I was wondering if there is a way to have it load on pages that call SSI.PHP, so for those that have their SMF forum integrated with a site, it would snow on the site pages as well.  Is it possible to do this without major rewriting? Like, could a call be made to the function in load from the SSI?

Thanks again

Matthew K.

You could try to add the code from Load.php to the BOTTOM of SSI.php and see if that works. Very good idea though, I think I may include that in the next bugfix.

Although in the next version SMF 1.1. support will be dropped.

Baekcity

Works fine, nice mod for these day's  ;)

Thx

Abavagada

Quote from: Labradoodle-360 on December 14, 2010, 05:26:09 PM
You could try to add the code from Load.php to the BOTTOM of SSI.php and see if that works. Very good idea though, I think I may include that in the next bugfix.

Although in the next version SMF 1.1. support will be dropped.

It worked. Thanks. You just need to make sure the $context['html_headers'] gets printed in the header of the normal site pages.


Matthew K.

I have talked with Scotty a little bit, and we will most likely shoot out a quick update before Christmas, with at least bugfixes and an SSI.php function.

A function being the better way to go about it rather than using $context['html_headers'].

Thanks for the input and great suggestion!

Not a problem. Glad you like it! :)
Quote from: Baekcity on December 15, 2010, 05:23:14 AM
Works fine, nice mod for these day's  ;)

Thx

lord alibaski

Hi m8 wonder if you can help me with a little problem I have since using this mod.

I have uninstalled it not because I wanted to a few of my forum members were moaning about it, don't know why think there all just scrooges.

Anyway since I uninstalled it I kept getting the same error

Warning: require(/mounted-storage/home85b/sub009/sc44649-OJOJ/forumurl/cache/data_45aca52f907fabf38ab851b028ab80bd-SMF-modSettings.php) [function.require]: failed to open stream: No such file or directory in /mounted-storage/home85b/sub009/sc44649-OJOJ/forumurl/Sources/Load.php on line 2918

Fatal error: require() [function.require]: Failed opening required '/mounted-storage/home85b/sub009/sc44649-OJOJ/forumurl/cache/data_45aca52f907fabf38ab851b028ab80bd-SMF-modSettings.php' (include_path='.:/usr/share/php5/') in /mounted-storage/home85b/sub009/sc44649-OJOJ/forumurl/Sources/Load.php on line 2918



I have actually requested help for this in here, but had no help at all with it.
http://www.simplemachines.org/community/index.php?topic=413265.0

Theres 2 php files in there which I have modified myself I removed a few lines and I haven't had that error anymore upto now anyway...but I still get the Unable to load the 'Project-Snow.english' language file when I have error loggin turned on, but I have turned if off for now because I was getting the same error over and over.

Can you have a look at those 2 php files I have uploaded please see if there ok, I don't know if you need any other file but if you do please say so.

Thanks for any help Lord Alibaski.

Matthew K.

Download the latest Project Snow Package, extract it's contents, and upload Project-Snow.english.php to ./Themes/default/languages of your forum. See if that works.

lord alibaski

Yes but doing this m8 is putting the Project-Snow.english.php back in there which is something I don't want to do I want it all removed.

Why is the error pointing to this when the package has been removed!!

Matthew K.

Did you try clearing your error log and seeing if they still show up?

lord alibaski

Quote from: Labradoodle-360 on December 15, 2010, 01:59:09 PM
Did you try clearing your error log and seeing if they still show up?

Yeah m8 this is the main problem.

I clear the log and 2mins after there is about another 50 errors all the same pointing back to the missing project snow language file, so I turn it off. Though soon as I turn it back on it reappears again coming back with the same error.

I have also ran repair_settings.php and it brings up no errors.

My friend told me it might have to be cleared via mysql manually but now I removed line 2918 which was the major issue, this project snow language file problem is nothing so I might just leave error logs turned off and hopefully things will be fine.

Advertisement: