Changeset 8
- Timestamp:
- 07/08/08 03:43:58 (5 months ago)
- Files:
-
- mods/Arcade v3.0.2/contrib/Arcade_Games2.0RC1/html/modules/Arcade_Games/index.php (modified) (1 diff)
- mods/Arcade v3.0.2/contrib/Arcade_TweaksRC2/html/modules/Arcade_Tweaks/index.php (modified) (1 diff)
- mods/Arcade v3.0.2/contrib/Dynamic_page_titles/html/modules/Forums/nukebb.php (modified) (1 diff)
- mods/ForumNews Advance v3.1/html/modules/ForumNews/print.php (modified) (1 diff)
- mods/ImageShack Image Uploader/html/modules/ImageShack/index.php (modified) (1 diff)
- modules/Enhanced Journal 2.0.1/html/modules/Journal/add.php (modified) (1 diff)
- modules/Shout Box Evo 8.6.5/html/modules/Shout_Box/admin/case.php (modified) (1 diff)
- modules/Shout Box Evo 8.6.5/html/modules/Shout_Box/admin/index.php (modified) (8 diffs)
- modules/Shout Box Evo 8.6.5/html/modules/Shout_Box/admin/links.php (modified) (1 diff)
- modules/Shout Box Evo 8.6.5/html/modules/Shout_Box/index.php (modified) (4 diffs)
- modules/Shout Box Evo 8.6.5/html/modules/Shout_Box/shout.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
mods/Arcade v3.0.2/contrib/Arcade_Games2.0RC1/html/modules/Arcade_Games/index.php
r7 r8 97 97 } 98 98 99 define('NUKE_BASE_MODULES', preg_replace('/modules/ i', '', dirname(dirname(__FILE__))));99 define('NUKE_BASE_MODULES', preg_replace('/modules/', '', dirname(dirname(__FILE__)))); 100 100 101 101 require_once(NUKE_BASE_MODULES.'mainfile.php'); mods/Arcade v3.0.2/contrib/Arcade_TweaksRC2/html/modules/Arcade_Tweaks/index.php
r7 r8 58 58 } 59 59 60 define('NUKE_BASE_MODULES', preg_replace('/modules/ i', '', dirname(dirname(__FILE__))));60 define('NUKE_BASE_MODULES', preg_replace('/modules/', '', dirname(dirname(__FILE__)))); 61 61 62 62 require_once(NUKE_BASE_MODULES.'mainfile.php'); mods/Arcade v3.0.2/contrib/Dynamic_page_titles/html/modules/Forums/nukebb.php
r7 r8 57 57 global $db, $prefix, $phpbb_root_path, $nuke_root_path, $nuke_file_path, $phpbb_root_dir, $module_name, $name, $file; 58 58 59 define('NUKE_BASE_MODULES', preg_replace('/modules/ i', '', dirname(dirname(__FILE__))));59 define('NUKE_BASE_MODULES', preg_replace('/modules/', '', dirname(dirname(__FILE__)))); 60 60 61 61 require_once(NUKE_BASE_MODULES.'mainfile.php'); mods/ForumNews Advance v3.1/html/modules/ForumNews/print.php
r7 r8 25 25 } 26 26 27 define('NUKE_BASE_MODULES', preg_replace('/modules/ i', '', dirname(dirname(__FILE__))));27 define('NUKE_BASE_MODULES', preg_replace('/modules/', '', dirname(dirname(__FILE__)))); 28 28 29 29 require_once(NUKE_BASE_MODULES.'mainfile.php'); mods/ImageShack Image Uploader/html/modules/ImageShack/index.php
r7 r8 13 13 } 14 14 15 define('NUKE_BASE_MODULES', preg_replace('/modules/ i', '', dirname(dirname(__FILE__))));15 define('NUKE_BASE_MODULES', preg_replace('/modules/', '', dirname(dirname(__FILE__)))); 16 16 17 17 require_once(NUKE_BASE_MODULES.'mainfile.php'); modules/Enhanced Journal 2.0.1/html/modules/Journal/add.php
r7 r8 49 49 } 50 50 51 define('NUKE_BASE_MODULES', preg_replace('/modules/ i', '', dirname(dirname(__FILE__))));51 define('NUKE_BASE_MODULES', preg_replace('/modules/', '', dirname(dirname(__FILE__)))); 52 52 53 53 require_once(NUKE_BASE_MODULES.'mainfile.php'); modules/Shout Box Evo 8.6.5/html/modules/Shout_Box/admin/case.php
r7 r8 22 22 23 23 if (!defined('ADMIN_FILE')) { 24 die (" Illegal File Access");24 die ("Kurald�sya Eri�imi Reddedildi"); 25 25 } 26 26 modules/Shout Box Evo 8.6.5/html/modules/Shout_Box/admin/index.php
r7 r8 27 27 28 28 if (!defined('ADMIN_FILE')) { 29 die (" Illegal File Access");29 die ("Kuraldışı Dosya Erişimi Reddedildi"); 30 30 } 31 31 … … 33 33 $module_name = basename(dirname(dirname(__FILE__))); 34 34 if (!is_mod_admin($module_name)) { 35 die("Eri �im Reddedildi");35 die("Erişim Reddedildi"); 36 36 } 37 37 … … 41 41 include_once(NUKE_MODULES_DIR.$module_name.'/lang-admin/lang-'.$currentlang.'.php'); 42 42 } else { 43 include_once(NUKE_MODULES_DIR.$module_name.'/lang-admin/lang- english.php');43 include_once(NUKE_MODULES_DIR.$module_name.'/lang-admin/lang-turkish.php'); 44 44 } 45 45 … … 239 239 240 240 // check to see if nickname is a user in the DB 241 $sql = "SELECT * FROM `"._USERS_TABLE."` WHERE `username`='".$shout['name']."'"; 241 // $sql = "SELECT * FROM `"._USERS_TABLE."` WHERE `username`='".$shout['name']."'"; 242 $sql = "SELECT * FROM ".$prefix."_users WHERE `username`='".$shout['name']."'"; 243 242 244 $nameresult2 = $db->sql_query($sql); 243 245 $row = $db->sql_fetchrow($nameresult2); … … 816 818 $filename = "modules/$module_name/index.php"; 817 819 if (file_exists($filename) != TRUE) { $SBhealthCount = 2; } 818 $filename = "modules/$module_name/language/lang- english.php";820 $filename = "modules/$module_name/language/lang-turkish.php"; 819 821 if (file_exists($filename) != TRUE) { $SBhealthCount = 2; } 820 822 $filename = "blocks/block-$module_name.php"; … … 917 919 $filename = "modules/$module_name/index.php"; 918 920 if (file_exists($filename) != TRUE) { echo "<p class=\"content\"><strong>Missing critical file:</strong> $filename <strong>Recommendation:</strong> This file contains the Shout Box shout history. Without it, half of the Shout Box features are unavailable for use by the people on your website. You can obtain this file from the Shout Box installation zip file.</p>"; } 919 $filename = "modules/$module_name/language/lang- english.php";920 if (file_exists($filename) != TRUE) { echo "<p class=\"content\"><strong>Missing critical file:</strong> $filename <strong>Recommendation:</strong> This file contains the Shout Box shout history english language definitions. Even if you are not using them at this time, in the future, you may go multi-lingual. You can obtain this file from the Shout Box installation zip file.</p>"; }921 $filename = "modules/$module_name/language/lang-turkish.php"; 922 if (file_exists($filename) != TRUE) { echo "<p class=\"content\"><strong>Missing critical file:</strong> $filename <strong>Recommendation:</strong> This file contains the Shout Box shout history turkish language definitions. Even if you are not using them at this time, in the future, you may go multi-lingual. You can obtain this file from the Shout Box installation zip file.</p>"; } 921 923 $filename = "blocks/block-$module_name.php"; 922 924 if (file_exists($filename) != TRUE) { echo "<p class=\"content\"><strong>Missing critical file:</strong> $filename <strong>Recommendation:</strong> This file is the core of the Shout Box. Without it, the users on your site will not be able to shout. You can obtain this file from the Shout Box installation zip file.</p>"; } … … 973 975 $numrowsCheck = $db->sql_numrows($resultCheck); 974 976 if ($numrowsCheck != 1) { 975 echo "<p class=\"content\"><strong>Shout Box module not added:</strong> $module_name.php <strong>Recommendation:</strong> You have not added the Shout Box module into PHP-Nuke. Upload the files into the modules directory. You can obtain the files from the Shout Box installation zip file. Once they are uploaded, Click the Modules icon in PHP-Nuke administration. In the Functions column and Shout Box row, choose 'Activate'. In the Functions column and Shout Box row, choose 'Edit'. In the following page, set 'Who can view this' as 'All Visitors', and click the 'De �klikleri Kaydet' button.</p>";977 echo "<p class=\"content\"><strong>Shout Box module not added:</strong> $module_name.php <strong>Recommendation:</strong> You have not added the Shout Box module into PHP-Nuke. Upload the files into the modules directory. You can obtain the files from the Shout Box installation zip file. Once they are uploaded, Click the Modules icon in PHP-Nuke administration. In the Functions column and Shout Box row, choose 'Activate'. In the Functions column and Shout Box row, choose 'Edit'. In the following page, set 'Who can view this' as 'All Visitors', and click the 'Değişiklikleri Kaydet' button.</p>"; 976 978 } 977 979 $rowCheck = $db->sql_fetchrow($resultCheck); … … 980 982 } 981 983 if (($rowCheck['view'] != 0) AND ($rowCheck['view'] != 1)) { 982 echo "<p class=\"content\"><strong>Shout Box module not publicly viewable:</strong> block-$module_name.php <strong>Recommendation:</strong> Click the Modules icon in PHP-Nuke administration. In the Functions column and Shout Box row, choose 'Edit'. In the following page, set 'Who can view this' as 'All Visitors', and click the 'De �klikleri Kaydet' button.</p>";984 echo "<p class=\"content\"><strong>Shout Box module not publicly viewable:</strong> block-$module_name.php <strong>Recommendation:</strong> Click the Modules icon in PHP-Nuke administration. In the Functions column and Shout Box row, choose 'Edit'. In the following page, set 'Who can view this' as 'All Visitors', and click the 'Değişiklikleri Kaydet' button.</p>"; 983 985 } 984 986 modules/Shout Box Evo 8.6.5/html/modules/Shout_Box/admin/links.php
r7 r8 22 22 23 23 if (!defined('ADMIN_FILE')) { 24 die (" Illegal File Access");24 die ("Kurald�sya Eri�imi Reddedildi"); 25 25 } 26 26 modules/Shout Box Evo 8.6.5/html/modules/Shout_Box/index.php
r7 r8 28 28 29 29 if (!defined('MODULE_FILE')) { 30 die (" You can't access this file directly...");30 die ("Bu dosyaya direkt olarak erişmeniz YASAKLANMIŞTIR..."); 31 31 } 32 32 … … 202 202 } 203 203 204 $sqlN = "SELECT `user_avatar`, `username` FROM `"._USERS_TABLE."` WHERE `username`='".$row['name']."'"; 204 // $sqlN = "SELECT `user_avatar`, `username` FROM `"._USERS_TABLE."` WHERE `username`='".$row['name']."'"; 205 $sqlN = "SELECT `user_avatar`, `username` FROM ".$prefix."_users WHERE `username`='".$row['name']."'"; 205 206 $nameresultN = $db->sql_query($sqlN); 206 207 $rowN = $db->sql_fetchrow($nameresultN); … … 669 670 // Find avatar path 670 671 // modules/Forums/images/avatars/gallery 671 $sql = "SELECT * FROM `".CONFIG_TABLE."` WHERE `config_name`='avatar_gallery_path'"; 672 // $sql = "SELECT * FROM `".CONFIG_TABLE."` WHERE `config_name`='avatar_gallery_path'"; 673 $sql = "SELECT * FROM ".$prefix."_bbconfig WHERE `config_name`='avatar_gallery_path'"; 672 674 $result = $db->sql_query($sql); 673 675 $avatar_gallery_path = $db->sql_fetchrow($result); 674 676 $db->sql_freeresult($result); 675 677 // modules/Forums/images/avatars 676 $sql = "SELECT * FROM ".CONFIG_TABLE." WHERE config_name='avatar_path'"; 678 // $sql = "SELECT * FROM ".CONFIG_TABLE." WHERE config_name='avatar_path'"; 679 $sql = "SELECT * FROM ".$prefix."_bbconfig WHERE `config_name`='avatar_path'"; 677 680 $result = $db->sql_query($sql); 678 681 $avatar_path = $db->sql_fetchrow($result); … … 768 771 } 769 772 770 $sqlN = "SELECT `user_avatar`, `username` FROM `"._USERS_TABLE."` WHERE username='$row[name]'"; 773 // $sqlN = "SELECT `user_avatar`, `username` FROM `"._USERS_TABLE."` WHERE username='$row[name]'"; 774 $sqlN = "SELECT `user_avatar`, `username` FROM ".$prefix."_users WHERE `username`='".$row['name']."'"; 771 775 $nameresultN = $db->sql_query($sqlN); 772 776 $rowN = $db->sql_fetchrow($nameresultN); modules/Shout Box Evo 8.6.5/html/modules/Shout_Box/shout.php
r7 r8 16 16 } 17 17 18 if ( empty($translate) && $board_config['default_lang'] != ' english' && is_array($lang['datetime']))18 if ( empty($translate) && $board_config['default_lang'] != 'turkish' && is_array($lang['datetime'])) 19 19 { 20 20 @reset($lang['datetime']); … … 120 120 include_once(NUKE_MODULES_DIR.'Shout_Box/lang-block/lang-'.$currentlang.'.php'); 121 121 } else { 122 include_once(NUKE_MODULES_DIR.'Shout_Box/lang-block/lang- english.php');122 include_once(NUKE_MODULES_DIR.'Shout_Box/lang-block/lang-turkish.php'); 123 123 } 124 124 … … 380 380 // check for anonymous users cloning/ghosting registered users' nicknames 381 381 if (!is_user() && !empty($username) && $username != "Anonymous") { 382 $sql = "SELECT `username` FROM `"._USERS_TABLE."` WHERE `username`='$username'"; 382 // $sql = "SELECT `username` FROM `"._USERS_TABLE."` WHERE `username`='$username'"; 383 $sql = "SELECT `username` FROM ".$prefix."_users WHERE `username`='$username'"; 383 384 $nameresult = $db->sql_query($sql); 384 385 if ($row = $db->sql_fetchrow($nameresult)) { … … 632 633 else { 633 634 // check to see if nickname is a user in the DB 634 $sqlN = "SELECT * FROM `"._USERS_TABLE."` WHERE `username`='".$row['name']."'"; 635 // $sqlN = "SELECT * FROM `"._USERS_TABLE."` WHERE `username`='".$row['name']."'"; 636 $sqlN = "SELECT * FROM ".$prefix."_users WHERE `username`='".$row['name']."'"; 635 637 $nameresultN = $db->sql_query($sqlN); 636 638 $rowN = $db->sql_fetchrow($nameresultN);