Smart system is a free infusion for content management system PHP-Fusion which allows you to install themes, infusions, panels directly on your own site.
Version 3.0 for PHP-Fusion All, 16 September 2012
View Thread
 Print Thread
Snow Storm - Error?
mdc
Hi

This is not working '' and now I always get an error and he would also no longer be removed?
-
through the administrator Panel and then Infusion Management remains the icons online, but would also no longer be removed. Also not via database

Versie - v7.02.07

How can I delete them?


Snow Storm
Type Type: Infusion
Compatible Compatible: 7.02.xx
Author Author: Falcon
Date Date: 13.12.2011
snow_storm.jpg This plugin will allow you to make the perfect snow storm on your website.

Installation:
1. Unpack downloaded archieve.
2. Put folder(s) into Ā«infusionsĀ» directory of your website.
Download (17.88kB)

-

administration/infusions.php
include(../infusions/snow_storm_panel/infusion.php): failed to open stream: No such file or directory Regel: 188 19 september 2014 22:57:01

Download source  Code
opentable($locale['404']);
179        echo "<table cellpadding='0' cellspacing='1' width='500' class='tbl-border center'>\n<tr>\n";
180        echo "<td class='tbl2'><strong>".$locale['405']."</strong></td>\n";
181        echo "<td align='center' width='1%' class='tbl2' style='white-space:nowrap'><strong>".$locale['406']."</strong></td>\n";
182        echo "<td align='center' width='1%' class='tbl2' style='white-space:nowrap'><strong>".$locale['407']."</strong></td>\n";
183        echo "<td align='center' width='1%' class='tbl2' style='white-space:nowrap'><strong>".$locale['408']."</strong></td>\n";
184        echo "<td align='center' width='1%' class='tbl2'> </td>\n";
185        echo "</tr>\n";
186        while ($data = dbarray($result)) {
187            $row_color = ($i % 2 == 0 ? "tbl1" : "tbl2");
188            if (@include INFUSIONS.$data['inf_folder']."/infusion.php") {
189                echo "<tr>\n";
190                echo "<td class='".$row_color."'><span title='".$inf_description."' style='cursor:hand;'>".$data['inf_title']."</span></td>\n";
191                echo "<td align='center' width='1%' class='".$row_color."' style='white-space:nowrap'>".$data['inf_version']."</td>\n";
192                echo "<td align='center' width='1%' class='".$row_color."' style='white-space:nowrap'>".$inf_developer."</td>\n";
193                echo "<td align='center' width='1%' class='".$row_color."' style='white-space:nowrap'><a href='mailto:".$inf_email."'>".$locale['409']."</a> /
                <a href='".$inf_weburl."' target='_blank' rel='nofollow'>".$locale['410']."</a></td>\n";
194                echo "<td align='center' width='1%' class='".$row_color."' style='white-space:nowrap'><a
                href='".FUSION_SELF.$aidlink."&amp;defuse=".$data['inf_id']."' onclick='return Defuse();'>".$locale['411']."</a></td>\n";
195                echo "</tr>\n";
196                $i++;
197            }




snow_storm/infusion.php
Undefined index: snow-001 Regel: 59 19 september 2014 22:57:01

Download source  Code
$inf_insertdbrow[10] = DB_SETTINGS_INF." (settings_name, settings_value, settings_inf) VALUES ('snow_snowColor', 'ffffff', '".$inf_folder."')";
50    $inf_insertdbrow[11] = DB_SETTINGS_INF." (settings_name, settings_value, settings_inf) VALUES ('snow_snowCharacter', '&bull;',
    '".$inf_folder."')";
51    $inf_insertdbrow[12] = DB_SETTINGS_INF." (settings_name, settings_value, settings_inf) VALUES ('snow_snowStick', 'true', '".$inf_folder."')";
52    $inf_insertdbrow[13] = DB_SETTINGS_INF." (settings_name, settings_value, settings_inf) VALUES ('snow_useMeltEffect', 'true', '".$inf_folder."')";
53    $inf_insertdbrow[14] = DB_SETTINGS_INF." (settings_name, settings_value, settings_inf) VALUES ('snow_useTwinkleEffect', 'false',
    '".$inf_folder."')";
54    $inf_insertdbrow[15] = DB_SETTINGS_INF." (settings_name, settings_value, settings_inf) VALUES ('snow_usePositionFixed', 'false',
    '".$inf_folder."')";
55    $inf_insertdbrow[16] = DB_PANELS." (panel_name, panel_filename, panel_content, panel_side, panel_order, panel_type, panel_access, panel_display,
    panel_status) VALUES ('".$locale['snow-001']."', '".$inf_folder."', '', '4', '3', 'file', '0', '0', '1')";
56   
57    // Snow Storm DB Admin Panel.
58    $inf_adminpanel[1] = array(
59        "title" => $locale['snow-001'],
60        "image" => "../../infusions/".$inf_folder."/images/ss.gif",
61        "panel" => "snow_storm_admin.php",
62        "rights" => "SSP"
63    );
64   
65    // When defused the snow storm db settings will be deleted.
66    $inf_deldbrow[1] = DB_SETTINGS_INF." WHERE settings_inf='".$inf_folder."'";
67    $inf_deldbrow[2] = DB_PANELS." WHERE panel_filename='".$inf_folder."'";




snow_storm/infusion.php
Undefined index: snow-001 Regel: 55 19 september 2014 22:57:01

Download source  Code
$inf_insertdbrow[6] = DB_SETTINGS_INF." (settings_name, settings_value, settings_inf) VALUES ('snow_flakesMax', '128', '".$inf_folder."')";
46    $inf_insertdbrow[7] = DB_SETTINGS_INF." (settings_name, settings_value, settings_inf) VALUES ('snow_flakesMaxActive', '64', '".$inf_folder."')";
47    $inf_insertdbrow[8] = DB_SETTINGS_INF." (settings_name, settings_value, settings_inf) VALUES ('snow_followMouse', 'true', '".$inf_folder."')";
48    $inf_insertdbrow[9] = DB_SETTINGS_INF." (settings_name, settings_value, settings_inf) VALUES ('snow_freezeOnBlur', 'true', '".$inf_folder."')";
49    $inf_insertdbrow[10] = DB_SETTINGS_INF." (settings_name, settings_value, settings_inf) VALUES ('snow_snowColor', 'ffffff', '".$inf_folder."')";
50    $inf_insertdbrow[11] = DB_SETTINGS_INF." (settings_name, settings_value, settings_inf) VALUES ('snow_snowCharacter', '&bull;',
    '".$inf_folder."')";
51    $inf_insertdbrow[12] = DB_SETTINGS_INF." (settings_name, settings_value, settings_inf) VALUES ('snow_snowStick', 'true', '".$inf_folder."')";
52    $inf_insertdbrow[13] = DB_SETTINGS_INF." (settings_name, settings_value, settings_inf) VALUES ('snow_useMeltEffect', 'true', '".$inf_folder."')";
53    $inf_insertdbrow[14] = DB_SETTINGS_INF." (settings_name, settings_value, settings_inf) VALUES ('snow_useTwinkleEffect', 'false',
    '".$inf_folder."')";
54    $inf_insertdbrow[15] = DB_SETTINGS_INF." (settings_name, settings_value, settings_inf) VALUES ('snow_usePositionFixed', 'false',
    '".$inf_folder."')";
55    $inf_insertdbrow[16] = DB_PANELS." (panel_name, panel_filename, panel_content, panel_side, panel_order, panel_type, panel_access, panel_display,
    panel_status) VALUES ('".$locale['snow-001']."', '".$inf_folder."', '', '4', '3', 'file', '0', '0', '1')";
56   
57    // Snow Storm DB Admin Panel.
58    $inf_adminpanel[1] = array(
59        "title" => $locale['snow-001'],
60        "image" => "../../infusions/".$inf_folder."/images/ss.gif",
61        "panel" => "snow_storm_admin.php",
62        "rights" => "SSP"




snow_storm/infusion.php
Undefined index: snow-002 Regel: 36 19 september 2014 22:57:01

Download source  Code
26        // Load the infusion's default locale file.
27        include SNOW_STORM."locale/English.php";
28    }
29   
30    // Infusion Information.
31    $inf_title = $locale['snow-001'];
32    $inf_version = "1.0";
33    $inf_developer = "Falcon";
34    $inf_email = "falcon@agxthemes.com";
35    $inf_weburl = "http://www.agxthemes.com";
36    $inf_description = $locale['snow-002'];
37    $inf_folder = "snow_storm_panel"; // The folder in which the infusion resides.
38   
39    /// Snow Storm DB Settings.
40    $inf_insertdbrow[1] = DB_SETTINGS_INF." (settings_name, settings_value, settings_inf) VALUES ('snow_enable', '0', '".$inf_folder."')";
41    $inf_insertdbrow[2] = DB_SETTINGS_INF." (settings_name, settings_value, settings_inf) VALUES ('snow_enable_lights', '0', '".$inf_folder."')";
42    $inf_insertdbrow[3] = DB_SETTINGS_INF." (settings_name, settings_value, settings_inf) VALUES ('snow_excludeMobile', 'false', '".$inf_folder."')";
43    $inf_insertdbrow[4] = DB_SETTINGS_INF." (settings_name, settings_value, settings_inf) VALUES ('snow_autoStar', 'true', '".$inf_folder."')";
44    $inf_insertdbrow[5] = DB_SETTINGS_INF." (settings_name, settings_value, settings_inf) VALUES ('snow_animationInterval', '33',
    '".$inf_folder."')";
45    $inf_insertdbrow[6] = DB_SETTINGS_INF." (settings_name, settings_value, settings_inf) VALUES ('snow_flakesMax', '128', '".$inf_folder."')";
46   




snow_storm/infusion.php
Undefined index: snow-001 Regel: 31 19 september 2014 22:57:01

Download source  Code
17    +--------------------------------------------------------*/
18    if (!defined("IN_FUSION")) { die("Access Denied"); }
19    if (!defined("SNOW_STORM")) { define("SNOW_STORM", INFUSIONS."snow_storm_panel/"); }
20   
21    // Check if locale file is available matching the current site locale setting.
22    if (file_exists(SNOW_STORM."locale/".$settings['locale'].".php")) {
23        // Load the locale file matching the current site locale setting.
24        include SNOW_STORM."locale/".$settings['locale'].".php";
25    } else {
26        // Load the infusion's default locale file.
27        include SNOW_STORM."locale/English.php";
28    }
29   
30    // Infusion Information.
31    $inf_title = $locale['snow-001'];
32    $inf_version = "1.0";
33    $inf_developer = "Falcon";
34    $inf_email = "falcon@agxthemes.com";
35    $inf_weburl = "http://www.agxthemes.com";
36    $inf_description = $locale['snow-002'];
37   




snow_storm/infusion.php
include(../infusions/snow_storm_panel/locale/English.php): failed to open stream: No such file or directory Regel: 27

Download source  Code
17    +--------------------------------------------------------*/
18    if (!defined("IN_FUSION")) { die("Access Denied"); }
19    if (!defined("SNOW_STORM")) { define("SNOW_STORM", INFUSIONS."snow_storm_panel/"); }
20   
21    // Check if locale file is available matching the current site locale setting.
22    if (file_exists(SNOW_STORM."locale/".$settings['locale'].".php")) {
23        // Load the locale file matching the current site locale setting.
24        include SNOW_STORM."locale/".$settings['locale'].".php";
25    } else {
26        // Load the infusion's default locale file.
27        include SNOW_STORM."locale/English.php";
28    }
29   
30    // Infusion Information.
31    $inf_title = $locale['snow-001'];
32    $inf_version = "1.0";
33    $inf_developer = "Falcon";
34    $inf_email = "falcon@agxthemes.com";
35    $inf_weburl = "http://www.agxthemes.com";
36    $inf_description = $locale['snow-002'];
37   



Edited by mdc on 20-09-2014 00:34
 
Jump to Forum:
EnglishRussianGermanSwedishDanishFrenchItalianPolishSpanish
Partners from around the world

RusFusion

PHP-Fusion

PHP-Fusion U.S.A

PHP-Fusion Sverige