Recent Topics

1 Mar 13, 2005 14:26    

hello, I'm trying 8| to configure diferent user groups for different blogs but I have the problem that selecting from the post panel:

blogs>select blog>permissions

you can see all the users of other blogs and also can change other user permits, even the admin's permits.

Thank you very much

2 Mar 14, 2005 21:37

This question

I want to know too.

who can help?

3 Mar 14, 2005 22:10

eve wrote:

I'm trying 8| to configure diferent user groups for different blogs but I have the problem that selecting from the post panel:

blogs>select blog>permissions

you can see all the users of other blogs and also can change other user permits, even the admin's permits.

Have you worked with setting group permissions? I have one admin and all the other users are classified as bloggers. I have it set so that the group "bloggers" is set to No Access on User/Group Management.

4 Mar 14, 2005 23:09

I had the same problem and I've solved it with this hack in admin/_menutop.php

Find the following code, arround line 210

if( $admin_tab == 'cats' )
echo '<li class="current">';
else
echo '<li>';
echo '<a href="b2categories.php?blog=', $blog, '" >', T_('Categories'), '</a></li>';

if( $admin_tab == 'blogs' )
echo '<li class="current">';
else
echo '<li>';
echo '<a href="b2blogs.php" >', T_('Blogs'), '</a></li>';

if( $current_User->check_perm( 'stats', 'view' ) )
{
if( $admin_tab == 'stats' )
echo '<li class="current">';
else
echo '<li>';
echo '<a href="b2stats.php" >', T_('Stats'), '</a></li>';
}

and add the red bits

if( $admin_tab == 'cats' )
echo '<li class="current">';
else
echo '<li>';
echo '<a href="b2categories.php?blog=', $blog, '" >', T_('Categories'), '</a></li>';

//hack to hide Blogs tab for everybody but admin
if($current_User->get( 'ID' ) == 1 )
{ // if is admin


if( $admin_tab == 'blogs' )
echo '<li class="current">';
else
echo '<li>';
echo '<a href="b2blogs.php" >', T_('Blogs'), '</a></li>';

}
//end of hide Blog tab hack


if( $current_User->check_perm( 'stats', 'view' ) )
{
if( $admin_tab == 'stats' )
echo '<li class="current">';
else
echo '<li>';
echo '<a href="b2stats.php" >', T_('Stats'), '</a></li>';
}

That's all
Fernando


Form is loading...