[solved] question about changes to admin_forumauth.php

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 !

[solved] question about changes to admin_forumauth.php

Postby viksapar on Sun 26. Oct, 2003 11:04

the installation instruction says to replace

$forum_rows = $db->sql_fetchrowset($result);

with

$forum_rows = array_merge($forum_rows,$db->sql_fetchrowset($result));


my problem is there are two occurences of that line in admin_forumauth.php. should i replace both?

why two? (this could be another issue.) i've noticed that after the line

// no id was specified or just the requsted if it
// was

there's already a line that reads

$sql = "SELECT f.*
FROM " . FORUMS_TABLE . " f, " . CATEGORIES_TABLE . " c
WHERE c.cat_id = f.cat_id...

the install instruction does not say this should be replaced. that's how it ended up having two occurences of

$forum_rows = $db->sql_fetchrowset($result);
Last edited by viksapar on Sun 26. Oct, 2003 14:34, edited 1 time in total.
viksapar
Poster
Poster
 
Posts: 10
Joined: Sun 26. Oct, 2003 10:53

Postby viksapar on Sun 26. Oct, 2003 14:33

problem solved. i used EM to install it.
viksapar
Poster
Poster
 
Posts: 10
Joined: Sun 26. Oct, 2003 10:53


Return to Extra permission [2.0.6/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron