- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 51 guest(s) and 0 member(s) that are online. You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Connot rate resource in NUke 6.8 [ ]
Author
Message
wonton
Sergeant
Joined: Jul 09, 2003
Posts: 99
Posted:
Sun Aug 17, 2003 12:09 am
Neither the downloads or the weblinks can you rate a resource it gives you a "You cant access this file directly" error when users try to vote for them. Any Suggestions??
Wonton
manunkind
Sergeant
Joined: Aug 16, 2003
Posts: 75
Posted:
Sun Aug 17, 2003 12:20 am
This forum is for fixes , not for questions.
VinDSL
Site Admin
Joined: Jul 08, 2003
Posts: 1193
Location: Arizona (USA) Site Admin: Lenon.com Admin: Disipal Designs
Posted:
Sun Aug 17, 2003 12:29 am
snake13 wrote:
This forum is for fixes , not for questions.
Okay, here's the fix.
http://nukecops.com/modules.php?name=News&file=article&sid=488&mode=&order=0&thold=0
Quote:
BBtoNuke 2.0.5 only:
1-Open modules/Members_List/index.php and find (two instances in the case joined section):
$order_by = "user_regdate
replace with:
$order_by = "user_id
2-Open includes/functions.php
find:
$orig_word[] = '#(' . str_replace('\*', '\w*?', phpbb_preg_quote($row['word'], '#')) . ')#i';
change to:
$orig_word[] = '#\b(' . str_replace('\*', '\w*?', phpbb_preg_quote($row['word'], '#')) . ')\b#i';
-------------------------------------------------------------------------------------------------------
PHP-Nuke 6.5, 6.6, 6.7 and 6.8:
Check the fixlist.txt file to find out what versions of Nuke need each fix.
1-Open mainfile.php and in the function headlines find:
$otime = $row[otime];
replace with:
$otime = $row[time];
2-Open modules/Search/index.php and find:
get_lang($module_name);
replace with:
get_lang($module_name);
if(isset($type) || isset($author) || isset($topic) || isset($category) || isset($days)){
if(!isset($query) || $query == ""){
$query = " ";
}
}
3-Open modules/Reviews/index.php and find:
<input type=\"submit\" name=\"rop\" value=\""._YES."\">
replace with:
<input type=\"submit\" value=\""._YES."\">
find:
case ""._YES."":
replace with:
case "send_review":
4-Open modules/Forums/admin/admin_styles.php
find:
$phpbb_root_path = "./../";
Below it add:
require($phpbb_root_path . 'extension.inc');
5-Open modules/Reviews/index.php
find
if($languageslist[$i]==$currentlang) echo "selected";
change to
if($languageslist[$i]==strtolower($currentlang)) echo "selected";
6-Open modules/Web_Links/voteinclude.php
find:
if (!eregi("index.php", $_SERVER["PHP_SELF"])) {
die("You can't access this file directly...");
}
change to:
if (!eregi("modules.php", $_SERVER["PHP_SELF"])) {
die("You can't access this file directly...");
}
7-Open modules/Downloads/voteinclude.php
find:
if (!eregi("index.php", $_SERVER["PHP_SELF"])) {
die("You can't access this file directly...");
}
change to:
if (!eregi("modules.php", $_SERVER["PHP_SELF"])) {
die("You can't access this file directly...");
}
8-Open modules/News/language/lang-chinese.php
find:
define("_REFRESH","«·s¾ã²z");a
change to:
define("_REFRESH","«·s¾ã²z");
9-Open modules/Your_Account/index.php
find:
.""._ORTYPEURL."<br><br>"
change to:
."<br>"._ORTYPEURL."<br><br>"
10-Open admin.php
find:
$sql = "INSERT INTO ".$user_prefix."_users (user_id, username, user_email, user_website, user_avatar, user_regdate, user_password, theme, commentmax, user_lang, user_dateformat) VALUES (NULL,'$name','$email','$url','$user_avatar','$user_regdate','$pwd','$Default_Theme','$commentlimit','english','D M d, Y g:i a')";
change to:
$sql = "INSERT INTO ".$user_prefix."_users (user_id, username, user_email, user_website, user_avatar, user_regdate, user_password, theme, commentmax, user_level, user_lang, user_dateformat) VALUES (NULL,'$name','$email','$url','$user_avatar','$user_regdate','$pwd','$Default_Theme','$commentlimit', '2', 'english','D M d, Y g:i a')";
_________________ .:: "The further in you go, the bigger it gets!" ::.
.:: VinDSL's Lenon.com | The Disipal Site ::.
wonton
Sergeant
Joined: Jul 09, 2003
Posts: 99
Posted:
Sun Aug 17, 2003 6:03 pm
Thank you very much!
Wonton
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum