Reporting "Bug"

This mod will make it posible to specify permissions to all "special pages, like MEMBERLIST, PROFILE VIEW and so on.
The permissions support USERGROUP, making this tool very powerfull

Moderator: Moderators

Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

Reporting "Bug"

Postby kuco on Sat 04. Oct, 2003 16:35

Hello Niels,

I just wanna report a little bug in the extra permissions hack - if its one, i'm not sure. Per definition: no, but your part_1.txt is in one line not correctly edited.

includes/functions_admin.php

#
#-----[ FIND ]------------------------------------------
#
$sql = "SELECT forum_id, forum_name
FROM " . FORUMS_TABLE . "

#
#-----[ IN-LINE FIND ]------------------------------------------
#
FROM " . FORUMS_TABLE . "

#
#-----[ IN-LINE AFTER ADD ]------------------------------------------
#
WHERE forum_id > 0

So I made this:
FROM " . FORUMS_TABLE . "WHERE forum_id > 0 (WRONG)
... and a Debug was the consequence when I tried to split a thread in 2 new themes in forum mod-status.
So it's right:
FROM " . FORUMS_TABLE . " WHERE forum_id > 0 (RIGHT)
There must be a gap between " and WHERE.

Lg
kuco
kuco
Poster
Poster
 
Posts: 9
Joined: Sat 23. Aug, 2003 00:57

Return to Extra permission [2.0.6/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron