Stimmt was nicht...

Begonnen von Manu, 11 Januar 2003, 16:50:41

⏪ vorheriges - nächstes ⏩

0 Mitglieder und 2 Gäste betrachten dieses Thema.

Manu

Hi,

diese Meldung kommt auf der Startseite

Warning: Invalid argument supplied for foreach() in /www/user/web8258/html/portal/blocks/block-eBoard_Center.php on line 105

und es stimmt auch hier irgendwas nicht:

http://lesefreak.system4me.de/portal/modules.php?op=modload&name=eBoard&file=viewthread&tid=9

jubilee

Hallo manu !
Schau Dir bitte einmal diesen Thred durch :
Vielleicht hilft Dir das weiter :
 http://www.pragmamx.org/modules.php?name=eBoard&file=viewthread&tid=2993#pid16276
MfG
jubilee

tequila

Hm, überprüfe mal weches Theme unter "control panel -> Einstellungen" als Standard-Theme für das Forum eingestellt ist und ob das überhaupt noch existiert.

Versuche es dann mal mit dem "Default"-Theme beim eBoard aus (mußt das ggf. auch in Deinem eBoard-Profil ändern!) und guck, ob Du dann immer noch Probleme hast.

Wenn es mit dem Default-Theme laufen sollte veruche mal ein anderes Theme aus aber nicht das, was Du gerade benutzt. Sollte es dann immer noch gehen, such Deinen Fehler unter "control panel -> Themes" in dem Theme, das Du z.Zt. nutzt.

Sollte es bei Dir irgendwelche PHP-Probleme auf der site geben kannst Du für die Fehlermeldung beim Center-Block einfach die Zeilen 110-124 ändern von (in der Datei "blocks/block-eBoard_Center.php):


if ( $XFtheme != "default" )
 {
    $query = mysql_query("SELECT * FROM $table_themes WHERE name='$XFtheme'");
    foreach(mysql_fetch_object($query) as $key => $val) # alaplace de array
{  
if( ($key != "name") && ($key != "header") && ($key != "headertext") ) { $$key = $val; }
elseif($key == "header") { $bgcolheader = $val; }
elseif($key == "headertext") { $bgcolheadertext = $val; }
}
// $borderwidth = "0";
 }
else  // Theme is default here
 {
include "modules/$ModName/defaulttheme.php";
}


in:


if ( $XFtheme != "default" )
 {
/*
    $query = mysql_query("SELECT * FROM $table_themes WHERE name='$XFtheme'");
    foreach(mysql_fetch_object($query) as $key => $val) # alaplace de array
{  
if( ($key != "name") && ($key != "header") && ($key != "headertext") ) { $$key = $val; }
elseif($key == "header") { $bgcolheader = $val; }
elseif($key == "headertext") { $bgcolheadertext = $val; }
}
*/
// $borderwidth = "0";
include "modules/$ModName/defaulttheme.php";
 }
else  // Theme is default here
 {
include "modules/$ModName/defaulttheme.php";
}


Dann wird der Center-Block immer in den Farben des Nuke-Themes dargestellt, das Du als Default für die Seite eingestellt bzw. der User sich für sein Profil gewählt hat und nicht mehr in den Farben des eBoard-Default-Themes.

Aber bei Dir sieht das ganze Forum irgendwie sehr merkwürdig aus. Hast Du an den ganzen Dateien rumgeschraubt?

Manu

Ja, den ich hatte das Thema blue, und wollte default, gabs aber nicht. da löschte ich alle themen, dann sah man gar-nix. Jetzt hab ich eboard neu runtergeladen, und upgelouded, die Themen gibts nicht, kann nix einstellen, keine Ahnung.

tequila

Nö, wenn Du kein Theme in der Datenbank hast kannst Du auch nichts einstellen, wie auch.

Mußt Du das hier per phpMyAdmin einfügen in Deine DB:


Den Quellcode löschte ich, zerprügelte den ganzen Thread


Dann solltest Du auch wieder etwas einstellen können UND:
Du darfst jedes Theme löschen, ABER NICHT DAS DEFAULT-Theme!

[Editiert am 18/1/2003 von SiteAdmin Tequila]

Manu

THX, den Fehler nun endlich behoben....  Das Theme hab ich mir selber gebastelt.  Also THX!

tequila

Hm, merkwürdig.

Also das

 
</font>


das da auch noch steht darf nicht mit eingefügt werden, sonst geht es nicht.

Manu

Hi,

Das Problem ist, es gibt kein Default-thema, ich hab ja jetzt gar keine Themen, wenn ich auf Theme einstellen gehe, nur weiß. Hab keine Ahnung.

WO steht dieses

<?

</font>

?>


I'm sorry, ich kenn mich gar nimmer aus, kann ich das nicht einfach neuinstallieren, keine Chance?

Manu

Ach ja, das default Thema, konnte ich und kann ich nicht löschen weil es nicht vorhanden ist :mad:  Also wenn eine neuinstallation geht würde ich sie lieber machen :redhead:  Aber wieso ist das so, alles was ich gemacht habe  sine, weil ich default wollte und nicht da war, alle anderen Themen gelöscht. Irgendwie isses sowieso komisch, denn ich habe 6 registrierte Benutzer, und 3 stehen im eboard drinne, wie gibts das?

jubilee

Hallo Manu !
Die im Portal eingetragenen User werden nicht automatisch im eBoard eingetragen. Das passiert erst dann, wenn der User zum ersten Mal ins eBoard geht. Das heisst in Deinem Fall haben von den 6 angemeldeten Besuchern erst 3 das eBoard betreten.
MfG
jubilee

Manu


tequila

Du nimmst Dir einen phpMyAdmin und fügst den ewig langen Quellcode, den ich Dir da oben gepostet habe in die Tabelle "_eBoard_themes" ein, aber bitte nimm bei diesem Quellcode dieses komische /font weg, das sich da ab der zweiten Reihe eingeschlichen hat (warum auch immer).

Wenn Du das in die Tabelle _eBoard_themes eingefügt hast, dann solltest Du wieder alle Themes haben inklusive dem Default-Theme

Manu

OK, mach ich gleich. Was meintest du mit dem Font?Ist dir bei mir die Blaue Zeile auggefallen, das da was nicht passt? Ach ja, blau passt nicht zu  Orange, kann man das nicht ändern ?

Manu

!!Ich will nicht nervern, nein ich bewundere deine ausdauer, studium, und trotzdem hier helfen!  Aber wenn ich das nun einfügen will kommt das :

Fehler

SQL-Befehl :  

SELECT *
FROM `nuke_eBoard_themes`
WHERE 1 * ?
INSERT INTO nuke_eBoard_themes
VALUES (

'moderngray', '#ffffff', '#f0f0f0', '#fbfbfb', '#6633cc', '#2a2f79', '#2a2f79', '#ffffff', '#f0f0f0', '#dededf', '#000000', '#000000', '1', '97%', '4', 'Arial', '12px', 'Verdana', '10px', 'reply.gif', 'newtopic.gif', '', '2col', 'red', 'blue'
)

MySQL meldet:


You have an error in your SQL syntax near '?

INSERT INTO nuke_eBoard_themes VALUES ('moderngray', '#ffffff', '#f0f0f0', ' at line 3


Also, wennste willst kriegste zugangsdaten!

tequila

Zugangsdaten und Pfad zu phpMyAdmin per PM oder Email zu mir.

Mir scheint es, das dürfte die Sache erheblich beschleunigen.

Manu

wie siehts mirt der email addi aus :D  :D  :)

tequila


Manu

THX funzt nun!  Nur das mit dem Block, hab einfach ein Original rauf, jetzt ist es Zeile 113... Soll ich dann das gleiche machen?

tequila

Du modifizierst einfach die Code-Passage, die da oben steht so um wie beschrieben.

Ob die jetzt in Zeile 110 oder 113 anfängt, egal bzw. die Zeile, die den Fehler verursacht ist in Zeile 113, auch wenn der gesamte Codeblock schon in Zeile 110 anfängt.

Also einfach so abändern und es sollte keinen Streß geben.

Übrigens: deine "komische" Darstellung vom Forum schiebe ich mal auf Dein Nuke-Theme. Hast Du mal ein anderes ausprobiert und sieht es da genau so aus?

Manu

AAAAAAAAA, S*che*iß Ding, jetzt schmeiß ich's raus :D    Funzt nämlich immer noch net, obwohl ich es so gemacht hab. Aber die Darstellung passt.  

Der neue Code:

<?php                                                       
// eBoard module, file last modified for version 1.0.7 - 15.11.2002 - mgl                                                      
/************************************************************************/                                                      
/* rewrite and modified by:                                             */                                                      
/* http://www.fsz-design.de and http://www.maax-design.de                */                                                   
/*                                                      */
/* Original source-code made by the XMB-team                      */                                 
/* (XMB-Forum, http://www.xmbforum.com), modified for nukestyle-systems */                                                      
/* by Trollix (XForum, http://www.trollix.com).                     */                                 
/*                                                      */
/* Original-sourcecode is published under the GPL, all eBoard additions */                                                      
/* and modifications ARE NOT published under the GPL.               */                                       
/* They are copyright by fsz- and maax-design.                     */                                 
/************************************************************************/                                                      
                                                      
/************************************************************************/                                                      
/* Original from PHP-NUKE: Advanced Content Management System           */                                                      
/* ============================================                         */                                                      
/*                                                                      */                                                      
/* Copyright (c) 2002 by Francisco Burzi (fbc@mandrakesoft.com)         */                                                      
/* http://phpnuke.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.       */                                                      
/************************************************************************/                                                      
if (eregi("block-eBoard_Center.php",$PHP_SELF)) {                                                      
    Header("Location: index.php");                                                      
    die();                                                      
}                                                      
                                                      
// here you have to set you Module-Name                                                      
$ModName = "eBoard";                                                      
                                                      
// Here you can specify the name of a forum not been showed in the center-block                                                      
// e.g. "Testforum" or something else. Leave blank if you don´t want to use it.                                                      
$dontshowthisforum = "";                                                      
                                                      
// Should the "Who is online" been shown also into the center-block?                                                      
// Set this value to true or false                                                      
$showonlinestatus = true;                                                      
                                                      
// how many new-posts should be shown in this block?                                                      
$posts = 5;                                                      
                                                      
// to increase speed, we stop the search for private postings                                                      
// after: $posts * $multiplyer (default 5 * 10 = 50). So if you have more than                                                      
// $multiplyer-times private postings than normal once, you                                                      
// have to increase this value (you will notice that because there are                                                      
// not $posts shown in your block)                                                      
$multiplyer = 10;                                                      
                                                      
global $prefix, $dbi, $sitename, $anonymous, $username, $currentlang, $user, $admin, $BaseSec, $eb_langincluded;                                                      
                                                      
// Load the $ModName-settings                                                      
if( $BaseSec == "" ){                                                      
$ModNameSave = $ModName;                                                      
require "modules/$ModName/initvar.php";                                                      
$ModName = $ModNameSave;                                                      
}                                                      
include "modules/$ModName/settings.php";                                                      
                                                      
                                                      
// Here the language is set for the center-block                                                      
// If a lang-file of the current language is available, we use it.                                                      
// If we have no lang-file, we use english as default lang ....                                                      
if(file_exists("modules/$ModName/lang/$currentlang.lang.php")){                                                      
$langfileblock = $currentlang;                                                      
}else{                                                      
$langfileblock = "english";                                                      
}                                                      
                                                      
// load the eBoard language-file                                                       
if($eb_langincluded != "yes"){                                                      
require "modules/$ModName/lang/$langfileblock.lang.php";                                                      
}                                                      
                                                      
// if the user wants to hide private forums we also don´t show new                                                      
// postings in private forums                                                      
if($hideprivate == "on"){                                                      
                                                      
// We set here our limit for the private-postings-search                                                      
$stop = $posts * $multiplyer;                                                      
                                                      
// Here we have a look how many "private"-postings are in the last $posts-postings.                                                      
// If we found a "private"-posting in the last $posts, we increase $posts by one.                                                      
$postsquery = mysql_query("SELECT fid FROM $table_threads ORDER BY lastpost Desc LIMIT 0, $stop") or die(mysql_error());                                                      
                                                      
// counter is needed to count "non-private" postings until we reach $posts                                                      
$counter = 0;                                                      
                                                      
// here we store our original desired posts-number                                                      
$postsnumber = $posts;                                                      
                                                      
while(list($fid) = mysql_fetch_row($postsquery))                                                      
{                                                      
$queryforum = mysql_query("SELECT private, userlist, name FROM $table_forums WHERE fid='$fid'");                                                      
$private = mysql_fetch_row($queryforum);                                                      
// if we found a "private"-posting, increase $posts                                                      
if(($private[0] || $private[1] || $private[2] == $dontshowthisforum) && $counter < $postsnumber)                                                      
        {$posts++;}                                                      
// otherwise we have one more of our desired $posts-postings to show                                                      
else                                                      
        {$counter++;}                                                      
}                                                      
} // end if($hideprivate)                                                      
                                                      
                                                      
//// theme-stuff                                                      
<?                                                      
                                                      
if ( $XFtheme != "default" )                                                      
                                                      
 {                                                      
                                                      
    $query = mysql_query("SELECT * FROM $table_themes WHERE  ;name='$XFtheme'");                                                      
                                                      
    foreach(mysql_fetch_object($query) as $key => $val) # alaplace de array                                                      
                                                      
     {                                                        
                                                      
        if( ($key != "name") && ($key != "header") && ($key != "headertext") ) { $$key = $val; }                                                       
                                                      
        elseif($key == "header")    { $bgcolheader = $val; }                                                      
                                                      
                                                      
$font1 = $fontsize-1;                                                      
$font2 = $fontsize+1;                                                      
$font3 = $fontsize+3;                                                      
                                                      
$newpostnum = 0;                                                      
                                                      
if(is_user($user) || is_admin($admin))                                                      
{                                                      
                                                      
if(is_admin($admin))                                                      
{                                                      
  $userAdmin = base64_decode($admin);                                                      
  $admincookie = explode(":", $userAdmin);                                                      
  $thisuser = $admincookie[0];                                                        
}else{                                                      
  $userarray = getusrinfo($user);                                                          
  $thisuser = $userarray['uname'];                                                        
}                                                      
  $memberquery = mysql_query("SELECT lastvisit, lastvisitdate, lastvisitstore, keeplastvisit, ppp FROM $table_members WHERE username='$thisuser'");                                                      
  if($member = mysql_fetch_object($memberquery))                                                      
  {                                                      
                                                      
     if($member->lastvisitstore < (time() - (3600 * $member->keeplastvisit))){                                                   
       // für den Fall das wir in das Forum kommen und "date" und "store" ungleich sind                                                   
      // wollen wir natürlich nicht, das das "date" auf time gesetzt wird. Daher Bed. if                                                
        if($member->lastvisit < (time() - 900)){                                                
         $lastvisitdate = $member->lastvisit;                                             
      // wenn wir im Forum rumkrauchen sollen die Umschläge ja auch                                                
      // irgendwann verschwinden, daher also diese Bedingung                                                
        }else{                                                
         $lastvisitdate = time();                                             
        }                                                
     }else{                                                   
     $lastvisitdate = $member->lastvisitdate;                                                   
     }                                                   
                                                        
     $querythreads = mysql_query("SELECT COUNT(tid) as posts FROM $table_threads WHERE dateline >= '$lastvisitdate'");                                                   
     $threadcounter = mysql_fetch_object($querythreads);                                                   
       $queryposts = mysql_query("SELECT COUNT(pid) as replies FROM $table_posts WHERE dateline >= '$lastvisitdate'");                                                   
     $postcounter = mysql_fetch_object($queryposts);                                                   
                                                        
     $newpostnum = $threadcounter->posts + $postcounter->replies;                                                   
     $ppp = $member->ppp;                                                   
  }                                                        
}else{                                                      
$ppp = $postperpage;                                                      
}                                                      
                                                      
                                                      
$query = mysql_query("SELECT COUNT(tid) as nbsites, SUM(views) as totalus FROM $table_threads");                                                      
$row = mysql_fetch_object($query);                                                      
$topicspop = $row->nbsites;                                                      
$threadsall = $row->totalus;                                                      
$query = mysql_query("SELECT COUNT(pid) as nbposts FROM $table_posts");                                                      
$row = mysql_fetch_object($query);                                                      
$postpop = $row->nbposts;                                                      
$postpop = $postpop + $topicspop;                                                      
$query = mysql_query("SELECT COUNT(uid) as xusers FROM $table_members");                                                      
$row = mysql_fetch_object($query);                                                      
$member = $row->xusers;                                                      
                                                      
$show = "<br><center>"._TEXTTOPICS." <b>$topicspop</b> <b>|</b> "._TEXTPOSTS." <b>$postpop</b> <b>|</b> "._TEXTVIEWS." <b>$threadsall</b> <b>|</b> ";                                                      
                                                      
if($memliststatus == "on" && $memlistanonymousstatus == "on") {                                                       
$show .= "<a href=\"modules.php?name=$ModName&file=members.list\">";                                                      
}else{                                                      
$show .= "<a>";                                                      
}                                                      
                                                      
$show .=  _TEXTMEMBERS."</a> <b>$member</b></center>";                                                      
                                                      
$content = "<table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"100%\" align=\"center\">";                                                      
$content .= "<tr><td bgcolor=\"$bordercolor\">";                                                      
$content .= "<table cellspacing=\"$borderwidth\" cellpadding=\"$tablespace\" border=\"0\" width=\"100%\" align=\"center\">";                                                      
$query = mysql_query("SELECT tid, views, subject, lastpost, dateline, replies, author, icon, fid FROM $table_threads ORDER BY lastpost Desc LIMIT 0, $posts") or die(mysql_error());                                                      
$viewlast = "";                                                      
while(list($tid, $views, $subject, $lastpost,  $dateline, $replies, $author, $icon, $fid,) = mysql_fetch_row($query)) {                                                      
$queryforum = mysql_query("SELECT name, private, userlist FROM $table_forums WHERE fid='$fid'");                                                      
$private = mysql_fetch_row($queryforum);                                                      
                                                      
// this part checks for "private"-status.                                                      
// If it is a "non-private"-posting or "hideprivate-forums" is set off, we display it                                                      
if(($private[0] != $dontshowthisforum && !$private[1] && !$private[2]) || ($hideprivate == "off")) {                                                      
if ($icon == ""){                                                      
$icon="red_folder.gif";                                                      
    }                                                      
                                                      
if($dateline < $lastvisitdate && $replies != "0"){                                                      
                                                      
   $lasttpost = "";                                                   
   $searchquery = mysql_query("SELECT pid FROM $table_posts WHERE tid='$tid' AND dateline >= '$lastvisitdate' ORDER BY dateline LIMIT 0,1");                                                   
   $lasttpost = mysql_fetch_object($searchquery);                                                   
   if($lasttpost->pid == ""){                                                   
   $searchquery = mysql_query("SELECT pid FROM $table_posts WHERE tid='$tid' ORDER BY dateline DESC LIMIT 0,1");                                                   
   $lasttpost = mysql_fetch_object($searchquery);                                                   
   }                                                   
   $counter = 0;                                                   
   $replynumber = 0;                                                   
   $lastpostquery = mysql_query("SELECT pid FROM $table_posts WHERE tid='".$tid."' ORDER BY dateline");                                                   
   while($searchlastpost = mysql_fetch_object($lastpostquery)){                                                   
      $counter++;                                                
      if($searchlastpost->pid == $lasttpost->pid){                                                
         $replynumber = $counter;                                             
      }                                                
   }                                                   
      $viewthreadpage = "&page=".ceil(($replynumber+1)/$ppp)."#pid".$lasttpost->pid;                                                   
                                                      
}else{                                                      
   $viewthreadpage = "";                                                   
}                                                      
                                                      
$dateA = date('d/m/Y',substr($lastpost,0,strRpos($lastpost,'|')));                                                      
$lastauthor = substr(stristr($lastpost,'|'),1,strlen($lastpost));                                                      
if($lastauthor != _TEXTGUEST){                                                      
$lastauthor1 = "<a href=\"modules.php?name=$ModName&file=member&action=viewpro&member=$lastauthor\">$lastauthor</a>";                                                      
}else{                                                      
$lastauthor1 = "<a href=\"modules.php?name=Your_Account&op=new_user\">$lastauthor</a>";                                                      
}                                                      
if($author != _TEXTGUEST){                                                      
$author1 = "<a href=\"modules.php?name=$ModName&file=member&action=viewpro&member=$author\">$author</a>";                                                      
}else{                                                      
$author1 = "<a href=\"modules.php?name=Your_Account&op=new_user\">$author</a>";                                                      
}                                                      
                                                      
$forumname = $private[0];                                                      
                                                      
$subject = stripslashes($subject);                                                      
                                                      
$viewlast .= "<tr><td bgcolor=\"$altbg1\"><center><img src =\"modules/$ModName/images/$icon\"></center></td>"                                                      
            ."<td bgcolor=\"$altbg2\"><a href=\"modules.php?name=$ModName&file=viewthread&tid=$tid$viewthreadpage\"><b>$subject</b></a><br>"                                                      
         ."<a href=\"modules.php?name=$ModName&file=forumdisplay&fid=$fid\"><font size=\"0\">$forumname</font></a></td>"                                             
         ."<td bgcolor=\"$altbg1\"><div align=\"center\"><b>$author1</b></div></td>"                                             
         ."<td bgcolor=\"$altbg2\"><div align=\"center\"><b>$views</b></div></td>"                                             
         ."<td bgcolor=\"$altbg1\"><div align=\"center\"><b>$replies</b></div></td>"                                             
         ."<td  bgcolor=\"$altbg2\" align=\"center\"><b>$lastauthor1</b><br><font size=\"-2\"><i>($dateA)</i></font></td></tr>";                                             
}                                                      
}                                                      
                                                      
                                                      
    $content .= "<tr bgcolor=\"$bgcolheader\"><td colspan=\"2\" align=\"center\"><b><font color=\"$bgcolheadertext\">"._TEXTNEWTOPIC."</font></b></td>"                                                      
               ."<td align=\"center\"><b><font color=\"$bgcolheadertext\">"._TEXTAUTHOR."</font></b></td>"                                                   
               ."<td align=\"center\"><b><font color=\"$bgcolheadertext\">"._TEXTVIEWS."</font></b></td>"                                                   
            ."<td align=\"center\"><b><font color=\"$bgcolheadertext\">"._TEXTREPLIES."</font></b></td>"                                          
            ."<td align=\"center\"><b><font color=\"$bgcolheadertext\">"._LPOSTSTATS."</font></b></td></tr>";                                          
                                                      
    $content .= "$viewlast";                                                      
                                                      
   $content .= "</table></td></tr></table>";                                                   
   $content .= "$show";                                                   
                                                      
  if($whosonlinestatus == "on" && $showonlinestatus)                                                      
  {                                                      
        $time = time();                                                      
        $newtime = $time - 450;                                                      
                                                      
        mysql_query("DELETE FROM $table_whosonline WHERE time<'$newtime' AND username != 'onlinerecord'");                                                      
                                                      
        $query = mysql_query("SELECT COUNT(*) as nbsites FROM $table_whosonline WHERE         username='xguest123'") or die(mysql_error());                                                      
        $row = mysql_fetch_object($query);                                                      
        $guestcount = $row->nbsites;                                                      
                                                      
        $query = mysql_query("SELECT COUNT(*) as nbsites FROM $table_whosonline WHERE username != 'xguest123' AND username != 'onlinerecord'") or die(mysql_error());                                                      
        $row = mysql_fetch_object($query);                                                      
        $membercount = $row->nbsites;                                                      
                                                      
        $query = mysql_query("SELECT * FROM $table_whosonline WHERE username = 'onlinerecord'") or die(mysql_error());                                                      
        $record = mysql_fetch_object($query);                                                      
                                                      
        eval(_EVALWHOSONLINE);                                                      
        $memonmsg = "<span class=\"11px\">"._WHOSONLINE1." $guestcount "._WHOSONLINE2." $membercount "._WHOSONLINE3." "._WHOSONLINE4."</span>";                                                      
                                                      
        $queryonline = mysql_query("SELECT * FROM $table_whosonline WHERE username!='xguest123' AND username!='onlinerecord'") or die(mysql_error());                                                      
                                                      
        $memtally = "";                                                      
        $num = 1;                                                      
        while ($online = mysql_fetch_object($queryonline))                                                      
        {                                                      
          if($num < $membercount) { $memtally .= "<a href=\"modules.php?name=$ModName&file=member&action=viewpro&member=".rawurlencode($online->username)."\">$online->username</a>, "; }                                                      
          else { $memtally .= "<a href=\"modules.php?name=$ModName&file=member&action=viewpro&member=".rawurlencode($online->username)."\">$online->username</a>";  }                                                      
          $num++;                                                      
        }                                                      
                                                      
        if($memtally == "") { $memtally = " "; }                                                      
        $whoisonline = _WHOSONLINE;                                                      
      $content .= "<br><br><table cellspacing=\"0\" cellpadding=\"0\" border=\"0\" width=\"100%\" align=\"center\">";                                                
      $content .= "<tr><td bgcolor=\"$bordercolor\">";                                                
        $content .= "<table cellspacing=\"$borderwidth\" cellpadding=\"$tablespace\" border=\"0\" width=\"100%\" align=\"center\">";                                                      
        $content .= "<tr><td bgcolor=\"$bgcolheader\"><font color=\"$bgcolheadertext\">$whoisonline - $memonmsg</font></td></tr>";                                                      
        $content .= "<tr bgcolor=\"$altbg2\"><td>$memtally</td></tr>";                                                      
        $content .= "</table></td></tr></table>";                                                      
  }                                                      
                                                      
$content .= "<br><center>[ <a href=\"modules.php?name=$ModName\">"._TEXTINDEX."</a> ]      ";                                                      
                                                      
if($newpostnum != 0){                                                      
$content .= "[ <a href=\"modules.php?name=$ModName&file=messslv\"><font color=$color2><b>$newpostnum "._TEXTMESSSLV."</b></font></a> ]      ";                                                      
}                                                      
                                                      
if($statspage == "on") {                                                      
$content .= "[ <a href=\"modules.php?name=$ModName&file=stats\">"._TEXTSTATS."</a> ]      ";                                                      
}                                                      
                                                      
if($searchstatus == "on") {                                                       
$content .= "[ <a href=\"modules.php?name=$ModName&file=search\">"._TEXTSEARCH."</a> ]";                                                      
}                                                      
                                                      
                                                      
$content .= "</center>";                                                      
                                                      
?>                                                      
Und die neueste Fehlermeldung:

Parse error: parse error, unexpected '<' in /www/user/web8258/html/portal/blocks/block-eBoard_Center.php on line 110 :puzz

tequila

Mag ja sein, das ich blind bin, aber der Quellcode ist nicht nach meinen Angaben verändert.

Was immer Du da für ein Problem hast, dieses Theme wird es sein, geht ja schon fast nicht mehr anders.

Hast Du schonmal anderes Theme probiert und hast Du da die gleichen Probleme?

Manu

Tequila, du hast recht, ich hatte das Default Thema, und jetzt hab ich ein andres probier, und es geht, nur die Farben passen nicht. Wo bekomme ich ein original default- thema her?

tequila

Ich meinte mit dem Default-Theme eigentlich das Theme von Nuke, nicht das vom eBoard.

Das Default-Theme vom eBoard wird über die "defaulttheme.php" im eBoard-Ordner gesteuert, die tut nichts anderes als Einstellungen und Werte (Farben, breiten etc ...) vom aktiven Nuke-Theme zu übernehmen, d.h. wenn die Übernahme-Fehler vom Nuke-Theme hat, dann dürfte es u.U. am Nuke-Theme liegen!
Daher: ein Default-Theme vom eBoard gibt es sozusagen nicht ....

Du kannst aber bei jedem anderen eBoard-Theme die Farben unter "Control Panel -> Themes" einstellen damit sie passen falls Du den Fehler in Deinem Nuke-Theme nicht finden solltest und das organg weiter verwenden möchtest.
Die Farbwerte wirst Du aus der themes.php Deines Nuke-Themes bekommen.