You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 56 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 [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
wonton
Sergeant
Sergeant


Joined: Jul 09, 2003
Posts: 99


PostPosted: Sun Aug 17, 2003 12:09 am Reply with quoteBack to top

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
Find all posts by wontonView user's profileSend private message
manunkind
Sergeant
Sergeant


Joined: Aug 16, 2003
Posts: 75


PostPosted: Sun Aug 17, 2003 12:20 am Reply with quoteBack to top

This forum is for fixes, not for questions. Wink
Find all posts by manunkindView user's profileSend private message
VinDSL
Site Admin
Site Admin


Joined: Jul 08, 2003
Posts: 1193

Location: Arizona (USA) Site Admin: Lenon.com Admin: Disipal Designs

PostPosted: Sun Aug 17, 2003 12:29 am Reply with quoteBack to top

snake13 wrote:
This forum is for fixes, not for questions. Wink


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 ::.
Find all posts by VinDSLView user's profileSend private messageVisit poster's websiteICQ Number
wonton
Sergeant
Sergeant


Joined: Jul 09, 2003
Posts: 99


PostPosted: Sun Aug 17, 2003 6:03 pm Reply with quoteBack to top

Thank you very much!

Wonton
Find all posts by wontonView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.377 Seconds - 278 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::