| Author |
Message |
Netrioter
Nuke Soldier


Joined: Jun 06, 2003
Posts: 13
|
Posted:
Sat Jun 21, 2003 8:45 pm |
  |
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 |
|
|
    |
 |
chatserv
General


Joined: Jan 12, 2003
Posts: 3128
Location: Puerto Rico
|
Posted:
Sat Jun 21, 2003 9:27 pm |
  |
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 |
|
    |
 |
Netrioter
Nuke Soldier


Joined: Jun 06, 2003
Posts: 13
|
Posted:
Sat Jun 21, 2003 9:43 pm |
  |
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
| 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] |
|
|
    |
 |
chatserv
General


Joined: Jan 12, 2003
Posts: 3128
Location: Puerto Rico
|
Posted:
Sat Jun 21, 2003 10:04 pm |
  |
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 |
|
    |
 |
Netrioter
Nuke Soldier


Joined: Jun 06, 2003
Posts: 13
|
Posted:
Sat Jun 21, 2003 10:13 pm |
  |
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 ? |
|
|
    |
 |
chatserv
General


Joined: Jan 12, 2003
Posts: 3128
Location: Puerto Rico
|
Posted:
Sat Jun 21, 2003 10:19 pm |
  |
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 |
|
    |
 |
chatserv
General


Joined: Jan 12, 2003
Posts: 3128
Location: Puerto Rico
|
Posted:
Sat Jun 21, 2003 10:25 pm |
  |
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 |
|
    |
 |
Netrioter
Nuke Soldier


Joined: Jun 06, 2003
Posts: 13
|
Posted:
Sat Jun 21, 2003 10:41 pm |
  |
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. |
|
|
    |
 |
|
|