i dont'have those lines in my core/bulletin.php file
on line 296 i have the end of a query:
[code:1]
$query = 'SELECT a.*'
. ', DATE_FORMAT( ' . $_CB_database->NameQuote( 'date_bul' ) . ', ' . $_CB_database->Quote( $gjConfig ) . ' ) AS date_bul'
. ', ' . $name . ' AS author_name'
. "\n FROM " . $_CB_database->NameQuote( '#__gj_bul' ) . " AS a"
. "\n INNER JOIN " . $_CB_database->NameQuote( '#__gj_groups' ) . " AS b"
. ' ON a.' . $_CB_database->NameQuote( 'group_id' ) . ' = b.' . $_CB_database->NameQuote( 'id' )
. "\n INNER JOIN " . $_CB_database->NameQuote( '#__gj_grcategory' ) . " AS c"
. ' ON b.' . $_CB_database->NameQuote( 'category' ) . ' = c.' . $_CB_database->NameQuote( 'id' )
. "\n INNER JOIN " . $_CB_database->NameQuote( '#__users' ) . " AS d"
. ' ON a.' . $_CB_database->NameQuote( 'author_id' ) . ' = d.' . $_CB_database->NameQuote( 'id' )
. "\n WHERE a." . $_CB_database->NameQuote( 'group_id' ) . " = " . (int) $gid
. "\n AND c." . $_CB_database->NameQuote( 'access' ) . " <= " . (int) $_CB_framework->myCmsGid()
. "\n AND c." . $_CB_database->NameQuote( 'published' ) . " = 1"
. "\n ORDER BY a." . $_CB_database->NameQuote( 'id' ) . " DESC"
. "\n LIMIT " . (int) $gjConfig;
[/code:1]
i found a little bit above, this part..maybe the check should be done here?
[code:1]
if ( ! ismoder( (int) $bul->group_id, $myId ) && ! $admin && ( $myId != (int) $bul->author_id )) {
HTML_wg::errorpage( GJ_NOT_MODER, null, (int) $bul->group_id, 'error' );
return;
}
[/code:1]
thanks for the answer i'll look forward for next releae of gj2.0 if it's possible, meanwhile, to solve this problem for my large community.. they love to use gj and were not very happy with me, for this bug..
thank you again!!