and did you set the right permission for each categorie and download
and if your user is in more than one group pls change it so that the user is only in one group - because this causes problems with the permissions.
Webmaster of Power-Dreams.com

// $Id: index.php,v 1.3 2005/10/19 17:20:32 phppp Exp $
// ------------------------------------------------------------------------ //
// XOOPS - PHP Content Management System //
// Copyright (c) 2000 XOOPS.org //
// <https://xoops.org/> //
// ------------------------------------------------------------------------ //
// This program is free software; you can redistribute it and/or modify //
// it under the terms of the GNU General Public License as published by //
// the Free Software Foundation; either version 2 of the License, or //
// (at your option) any later version. //
// //
// You may not change or alter any portion of this comment or credits //
// of supporting developers from this source code or any supporting //
// source code which is considered copyrighted (c) material of the //
// original comment or credit authors. //
// //
// This program is distributed in the hope that it will be useful, //
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
// GNU General Public License for more details. //
// //
// You should have received a copy of the GNU General Public License //
// along with this program; if not, write to the Free Software //
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA //
// ------------------------------------------------------------------------ //
// Author: Kazumi Ono (AKA onokazu) //
// URL: http://www.myweb.ne.jp/, https://xoops.org/, http://www.xoopscube.jp/ //
// Project: The XOOPS Project //
// ------------------------------------------------------------------------- //
include('admin_header.php');
foreach (array('approved', 'topic_id', 'post_id') as $getint) {
${$getint} = isset($_POST[$getint]) ? intval($_POST[$getint]) : 0;
}
foreach (array('approved', 'topic_id', 'post_id') as $getint) {
${$getint} = (${$getint})?${$getint}:(isset($_GET[$getint]) ? intval($_GET[$getint]) : 0);
}
function newbb_admin_getPathStatus($path)
{
if(empty($path)) return false;
if(@is_writable($path)){
$path_status = _AM_NEWBB_AVAILABLE;
}elseif(!@is_dir($path)){
$path_status = _AM_NEWBB_NOTAVAILABLE." "._AM_NEWBB_CREATETHEDIR.'';
}else{
$path_status = _AM_NEWBB_NOTWRITABLE." "._AM_NEWBB_SETMPERM.'';
}
return $path_status;
}
function newbb_admin_mkdir($target, $mode=0777)
{
// http://www.php.net/manual/en/function.mkdir.php
return is_dir($target) or ( newbb_admin_mkdir(dirname($target), $mode) and mkdir($target, $mode) );
}
function newbb_admin_chmod($target, $mode = 0777)
{
return @chmod($target, $mode);
}
function newbb_getImageLibs()
{
global $xoopsModuleConfig;
$imageLibs= array();
unset($output, $status);
if ( $xoopsModuleConfig['image_lib'] == 1 or $xoopsModuleConfig['image_lib'] == 0 ){
$path = empty($xoopsModuleConfig['path_magick'])?"":$xoopsModuleConfig['path_magick']."/";
@exec($path.'convert -version', $output, $status);
if(empty($status)&&!empty($output)){
if(preg_match("/imagemagick[ \t]+([0-9\.]+)/i",$output[0],$matches))
$imageLibs['imagemagick'] = $matches[0];
}
unset($output, $status);
}
if ( $xoopsModuleConfig['image_lib'] == 2 or $xoopsModuleConfig['image_lib'] == 0 ){
$path = empty($xoopsModuleConfig['path_netpbm'])?"":$xoopsModuleConfig['path_netpbm']."/";
@exec($path.'jpegtopnm -version 2>&1', $output, $status);
if(empty($status)&&!empty($output)){
if(preg_match("/netpbm[ \t]+([0-9\.]+)/i",$output[0],$matches))
$imageLibs['netpbm'] = $matches[0];
}
unset($output, $status);
}
$GDfuncList = get_extension_funcs('gd');
ob_start();
@phpinfo(INFO_MODULES);
$output=ob_get_contents();
ob_end_clean();
$matches[1]='';
if(preg_match("/GD Version[ \t]*(<[^>]+>[ \t]*)+([^<>]+)/s",$output,$matches)){
$gdversion = $matches[2];
}
if( $GDfuncList ){
if( in_array('imagegd2',$GDfuncList) )
$imageLibs['gd2'] = $gdversion;
else
$imageLibs['gd1'] = $gdversion;
}
return $imageLibs;
}
$op = (isset($_GET['op']))? $_GET['op'] : "";
switch ($op) {
case "del":
$post_handler = &xoops_getmodulehandler('post', 'newbb');
if (!empty($ok)) {
if (!empty($post_id)) {
$post = &$post_handler->get($post_id);
if ($ok == 2 && isset($post)) {
$post_handler->delete($post, true);
}
sync($post->getVar('forum_id'), "forum");
sync($post->getVar('topic_id'), "topic");
}
if ($post->istopic()) {
redirect_header("index.php", 2, _AM_NEWBB_POSTSDELETED);
exit();
} else {
redirect_header("index.php", 2, _AM_NEWBB_POSTSDELETED);
exit();
}
} else {
xoops_cp_header();
xoops_confirm(array('post_id' => $post_id, 'op' => 'del', 'ok' => 2), 'index.php', _AM_NEWBB_DEL_ONE);
xoops_cp_footer();
}
exit();
break;
case "approve":
if (isset($post_id) && $post_id > 0) {
$post_handler = &xoops_getmodulehandler('post', 'newbb');
if ($post_handler->approve($post_id)) {
redirect_header("index.php", 1, _AM_NEWBB_POSTAPPROVED);
} else {
redirect_header("index.php", 1, _AM_NEWBB_POSTNOTAPPROVED);
}
} elseif (isset($topic_id) && $topic_id > 0) {
$topic_handler = &xoops_getmodulehandler('topic', 'newbb');
if ($topic_handler->approve($topic_id)) {
redirect_header("index.php", 1, _AM_NEWBB_TOPICAPPROVED);
} else {
redirect_header("index.php", 1, _AM_NEWBB_TOPICNOTAPPROVED);
}
}
exit();
break;
/* removed */
case "mod":
if (empty($post_id)) {
redirect_header("index.php", 2, _MD_ERRORPOST);
exit();
} else {
xoops_cp_header();
loadModuleAdminMenu(0, "");
echo "
";
$post_handler = &xoops_getmodulehandler('post', 'newbb');
$forumpost = &$post_handler->get($post_id);
$forum_handler =& xoops_getmodulehandler('forum', 'newbb');
$forum = $forum_handler->get($forumpost->getVar('forum_id'));
$pid = $forumpost->getVar('pid');
$dohtml = $forumpost->getVar('dohtml');
$dosmiley = $forumpost->getVar('dosmiley');
$doxcode = $forumpost->getVar('doxcode');
$icon = $forumpost->getVar('icon');
$attachsig = $forumpost->getVar('attachsig');
$topic_id=$forumpost->getVar('topic_id');
$istopic = ( $forumpost->istopic() )?1:0;
$isedit =1;
$subject_pre="";
$subject=$forumpost->getVar('subject', "E");
$message=$forumpost->getVar('post_text', "E");
$poster_name=$forumpost->getVar('poster_name', "E");
$attachments=$forumpost->getAttachment();
$post_karma=$forumpost->getVar('post_karma');
$require_reply=$forumpost->getVar('require_reply');
$hidden = "";
$admin_form_action = "admin_post.php";
include '../include/forumform.inc.php';
xoops_cp_footer();
}
exit();
break;
/* */
case "createdir":
if (isset($_GET['path'])) $path = $_GET['path'];
$res = newbb_admin_mkdir($path);
$msg = ($res)?_AM_NEWBB_DIRCREATED:_AM_NEWBB_DIRNOTCREATED;
redirect_header('index.php', 2, $msg . ': ' . $path);
exit();
break;
case "setperm":
if (isset($_GET['path'])) $path = $_GET['path'];
$res = newbb_admin_chmod($path, 0777);
$msg = ($res)?_AM_NEWBB_PERMSET:_AM_NEWBB_PERMNOTSET;
redirect_header('index.php', 2, $msg . ': ' . $path);
exit();
break;
case "senddigest":
$digest_handler = &xoops_getmodulehandler('digest', 'newbb');
$res = $digest_handler->process(true);
$msg = ($res)?_AM_NEWBB_DIGEST_FAILED:_AM_NEWBB_DIGEST_SENT;
redirect_header('index.php', 2, $msg);
exit();
break;
case "default":
default:
xoops_cp_header();
loadModuleAdminMenu(0, "Index");
$imageLibs = newbb_getImageLibs();
echo "
";
echo "
";
$report_handler = &xoops_getmodulehandler('report', 'newbb');
echo "
";
if ($xoopsModuleConfig['email_digest'] > 0) {
$digest_handler = &xoops_getmodulehandler('digest', 'newbb');
echo "
";
}
echo "";
$sql = "SELECT t.* FROM " . $xoopsDB->prefix("bb_topics") . " t LEFT JOIN " . $xoopsDB->prefix("bb_posts") . " p ON p.topic_id=t.topic_id WHERE p.pid = 0 AND p.approved = 1 AND t.approved = 0";
$result = $xoopsDB->query($sql);
$numrows = $xoopsDB->getRowsNum($result);
if ($numrows > 0) {
echo "";
}
echo "
";
/* A trick to clear garbage for suspension management
* Not good but works
*/
if (!empty($xoopsModuleConfig['enable_usermoderate'])){
$moderate_handler =& xoops_getmodulehandler('moderate', 'newbb');
$moderate_handler->clearGarbage();
}
xoops_cp_footer();
break;
}
?>
- so i added it to my theme but google analytics cant find the code on my website.
so i mailed google and they told me that i should add it in the
part of my theme and after each but google analyticcs dont find it 
so maybe someone have a solution for that.
Here you can find more information about google analytics