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, 37 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - this new beta 2.0.5 [ ]
 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
Netrioter
Nuke Soldier
Nuke Soldier


Joined: Jun 06, 2003
Posts: 13


PostPosted: Sat Jun 21, 2003 8:45 pm Reply with quoteBack to top

this codes blocks me now in pagestart.php :

Code:

/*if ($HTTP_GET_VARS['sid'] != $userdata['session_id'])
{
   $url = str_replace(preg_replace('#^\/?(.*?)\/?$#', '\1', trim($board_config['server_name'])), '', $HTTP_SERVER_VARS['REQUEST_URI']);
   $url = str_replace(preg_replace('#^\/?(.*?)\/?$#', '\1', trim($board_config['script_path'])), '', $url);
   $url = str_replace('//', '/', $url);
   $url = preg_replace('/sid=([^&]*)(&?)/i', '', $url);
   $url = preg_replace('/\?$/', '', $url);
   $url .= ((strpos($url, '?')) ? '&' : '?') . 'sid=' . $userdata['session_id'];
        redirect($url);
}*/


After the redirect i get You are not authorised to administer this board.

Ive comment this new code out, and upps it works
Find all posts by NetrioterView user's profileSend private messageVisit poster's website
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Sat Jun 21, 2003 9:27 pm Reply with quoteBack to top

You are correct, you can remove that part altogether.

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
Netrioter
Nuke Soldier
Nuke Soldier


Joined: Jun 06, 2003
Posts: 13


PostPosted: Sat Jun 21, 2003 9:43 pm Reply with quoteBack to top

viewtopic.php parse error line 762 :

so its good
Code:

$sql = "SELECT vote_id
                        FROM " . VOTE_USERS_TABLE . "
                        WHERE vote_id = $vote_id
                                AND vote_user_id = " . $userdata['user_id'] . "
                                AND vote_user_id = " . intval($userdata['user_id']);


so its not good Wink
Code:

$sql = "SELECT vote_id
                        FROM " . VOTE_USERS_TABLE . "
                        WHERE vote_id = $vote_id
                                AND vote_user_id = " . $userdata['user_id'];
                                AND vote_user_id = " . intval($userdata['user_id']);


i think so u think it
Code:

$sql = "SELECT vote_id
                        FROM " . VOTE_USERS_TABLE . "
                        WHERE vote_id = $vote_id                               
                                AND vote_user_id = " . intval($userdata['user_id']);


hrhr (but why 2 times ? where vote_user_id)[/code]
Find all posts by NetrioterView user's profileSend private messageVisit poster's website
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Sat Jun 21, 2003 10:04 pm Reply with quoteBack to top

Yep, remove line 761 (the first repeat) i updated the zip already.

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
Netrioter
Nuke Soldier
Nuke Soldier


Joined: Jun 06, 2003
Posts: 13


PostPosted: Sat Jun 21, 2003 10:13 pm Reply with quoteBack to top

in the administration, u can define group access to each forum. you can switch there to advance method, but it dont show this advance options to switch, all table fields are empty. where the vars assigned into template, all vars are empty. my solution at the moment is, because i need this advance levels, i define the values directly in the my sql tables. btw in the user access level it dont work too.

but is this normal ? or nobody use it ?
Find all posts by NetrioterView user's profileSend private messageVisit poster's website
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Sat Jun 21, 2003 10:19 pm Reply with quoteBack to top

I'll check on that one, maybe i missed one of subSilver's admin files, anyway tomorrow i will go over each file to check for similar errors and update the zip if i find any.

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Sat Jun 21, 2003 10:25 pm Reply with quoteBack to top

If by empty fields you mean the ones in group permissions:

Forum View Read Post Reply Edit Delete Sticky Announce Vote Poll create Moderator status

They are like that in 6.5 too (at least in the ones i checked) worth looking into.

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
Netrioter
Nuke Soldier
Nuke Soldier


Joined: Jun 06, 2003
Posts: 13


PostPosted: Sat Jun 21, 2003 10:41 pm Reply with quoteBack to top

hmm, i use nuke since 6.0, and i have only empty table fields in group advance permission, and in user advance permission. in alle group and user permission and ican only use option is moderator or not, but the settings for view read and so, will not shown. this options only show in forum advance permission.
Find all posts by NetrioterView user's profileSend private messageVisit poster's website
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.228 Seconds - 193 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::