Abschalten der linken Blöcke

Begonnen von asder, 05 Juni 2005, 19:46:42

⏪ vorheriges - nächstes ⏩

0 Mitglieder und 1 Gast betrachten dieses Thema.

asder

Ich würde gern die linken Blöcke beim eBoard und bei der Coppermine-Gallery abschalten. Wo muß ich was ändern?

jogi24

hi

wenn man die Suche benutzt, findet man dieses klick mich
::) ::)

asder

Das habe ich doch alles schon gelesen, hilft mir aber nicht weiter.
Nirgends im Code auf der Site ist das hier zu finden:

<td class="blocksLeft" width="160" valign="top">
<!-- START blocks_left_loop -->
<!-- START block_left -->
hier irgendwelcher html-code
<!-- END block_left -->
<!-- END blocks_left_loop -->
</td>


meine theme.php sieht so aus
<?php

/************************************************************/
/* THEME NAME: MFJ_maxi_sub                                 */
/* THEME DEVELOPER: ffx69 (http://www.shareware-base.de     */
/* THEME Logos and Icons from phpbb2 SubSystem Theme        */
/************************************************************/
/* Modification - 19-07.2002 for vkp55_maxi                 */
/* jogi24 - ( http://nuke-theme.de    jogi24@nuke-theme.de   )                          */
/************************************************************/
/*                                                          */
/* Theme Colors Definition                                  */
/*                                                          */
/* Control the header for your site. You need to define the */
/* BODY tag and in some part of the code call the blocks    */
/* function for left side with: blocks(left);               */
/************************************************************/

$thename = "MFJ_maxi_sub";
$bgcolor1 = "#2B2B2B";
$bgcolor2 = "#2B2B2B";
$bgcolor3 = "#2B2B2B";
$bgcolor4 = "#2B2B2B";
$textcolor1 = "#959595";
$textcolor2 = "#FFFFFF";

function OpenTable() {
    global $bgcolor1, $bgcolor2;
    echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\"><tr><td>\n";
    echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}

function CloseTable() {
    echo "</td></tr></table></td></tr></table>\n";
}

function OpenTable2() {
    global $bgcolor1, $bgcolor2;
    echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\" align=\"center\"><tr><td>\n";
    echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}

function CloseTable2() {
    echo "</td></tr></table></td></tr></table>\n";
}

function OpenTableAl() {
    global $bgcolor1;
    echo "<table width=\"80%\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"ff0000\" align=\"center\"><tr><td>\n";
    echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}

function CloseTableAl() {
    echo "</td></tr></table>\n</td></tr></table>\n";
}

function FormatStory($thetext, $notes, $aid, $informant) {
    global $anonymous;
    if ($notes != "") {
$notes = "<br><b>"._NOTE."</b> <i>$notes</i>\n";
    } else {
$notes = "";
    }
    if ("$aid" == "$informant") {
echo "<font size=\"2\" color=\"#505050\">$thetext<br>$notes</font>\n";
    } else {
if($informant != "") {
    $boxstuff = "<a href=\"modules.php?name=Your_Account?op=userinfo&amp;uname=$informant\">$informant</a> ";
} else {
    $boxstuff = "$anonymous ";
}
$boxstuff .= ""._WRITES." \"$thetext\" $notes\n";
echo "<font size=\"2\" color=\"#505050\">$boxstuff</font>\n";
    }
}


/************************************************************/
/* Function themeheader()                                   */
/*                                                          */
/* Control the header for your site. You need to define the */
/* BODY tag and in some part of the code call the blocks    */
/* function for left side with: blocks(left);               */
/************************************************************/

function themeheader() {
   global $user, $banners, $sitename, $slogan, $cookie, $prefix, $admin, $dbi;

    cookiedecode($user);
    $username = $cookie[1];
    if ($username == "") {
        $username = "Anonymous";
    }
    echo "<body bgcolor=\"#1A1A1A\" topmargin=\"40\" text=\"#959595\" link=\"#363636\" vlink=\"#363636\" alink=\"#d5ae83\">\n";

        echo "\n"
."<table cellpadding=\"0\" cellspacing=\"0\" width=\"97%\" border=\"0\" align=\"center\" bgcolor=\"#ffffff\">\n"
."<tr>\n"
."<td bgcolor=\"#2B2B2B\" height=60 width=\"200\" align=\"left\" valign=\"middle\"><br><br>\n"
                  ."</td>\n"
."<td align=\"right\">\n"
."\n"
."\n"
."<td bgcolor=\"#2B2B2B\">\n"
        ."<br>\n"
        ."\n";
       echo "<center><a href=\"index.php\"><img src=\"themes/MFJ_maxi_sub/images/logo.gif\" alt=\"Willkommen auf $sitename\" border=\"0\">\n";
    echo "<br><td bgcolor=\"#2B2B2B\" >\n";
        echo "\n"
."<form action=\"modules.php?name=Search\" method=\"post\"><font class=\"orange\"><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"._SEARCH." <br></b>\n"
."<input type=\"text\" name=\"query\" size=\"14\"></font></form>\n"
."</font></form>\n"
."<bgcolor=\"#FFFFFF\" align=\"left\">\n"
        ."</select></font></form></td></tr></table></td>\n"
."<td bgcolor=\"#FFFFFF\" valign=\"top\">&nbsp;</td>\n"
."</tr></table>\n"
."<table cellpadding=\"0\" cellspacing=\"0\" width=\"97%\" border=\"0\" align=\"center\" bgcolor=\"#363636\">\n"
."<tr>\n"
."<td bgcolor=\"#c0c0c0\" colspan=\"4\"><IMG src=\"themes/MFJ_maxi_sub/images/pixel.gif\" width=\"1\" height=1 alt=\"\" border=\"0\" hspace=\"0\"></td>\n"
."</tr>\n"
."<tr valign=\"middle\" bgcolor=\"#FFFFFF\">\n"
."<td background=\"themes/MFJ_maxi_sub/images/oben_l.jpg\" height=24 width=\"15%\" nowrap><font size=\"2\"><b>\n";
   if ($username == "Anonymous")
{   
echo "<b>&nbsp;&nbsp; <font face=3 color=#ffffff> Willkommen Gast!   &nbsp;<a href=\"modules.php?name=Your_Account\"> Zur Anmeldung</a></font>\n";
    }
else
{
    $welcomedate = date("H");
    if($welcomedate < 11)    echo "&nbsp;&nbsp;Guten Morgen $username!";
    else if($welcomedate < 18)    echo "&nbsp;&nbsp;Guten Tag $username!";
    else
    echo "<b>&nbsp;&nbsp;Guten Abend $username!";
    }   
    echo "</b></font></td>\n"
."<td background=\"themes/MFJ_maxi_sub/images/oben_l.jpg\" align=\"center\" height=\"24\" width=\"71%\"><font size=\"2\">\n"
."<img src=\"themes/MFJ_maxi_sub/images/icon_mini_login.gif\" border=0 align=\"center\"> <A href=\"index.php\">Startseite</a>&nbsp;&nbsp \n"
        ."<img src=\"themes/MFJ_maxi_sub/images/icon_mini_search.gif\" border=0 align=\"center\"> <A href=\"modules.php?name=Downloads\">Downloads</a>&nbsp;&nbsp \n"
        ."<img src=\"themes/MFJ_maxi_sub/images/icon_mini_profile.gif\" border=0 align=\"center\"> <A href=\"modules.php?name=Your_Account\">Dein Account</a>&nbsp;&nbsp \n"
        ."<img src=\"themes/MFJ_maxi_sub/images/icon_mini_groups.gif\" border=0 align=\"center\"> <A href=\"modules.php?name=Submit_News\">Schreibe News</a>&nbsp;&nbsp \n"
        ."<img src=\"themes/MFJ_maxi_sub/images/icon_mini_message.gif\" border=0 align=\"center\"> <A href=\"modules.php?name=Top\">Top 30</a>&nbsp;&nbsp \n"
        ."<img src=\"themes/MFJ_maxi_sub/images/icon_mini_register.gif\" border=0 align=\"center\"> <A href=\"modules.php?name=Topics\">Topics</a>&nbsp;&nbsp \n"
        ."<img src=\"themes/MFJ_maxi_sub/images/icon_mini_members.gif\" border=0 align=\"center\"> <A href=\"modules.php?name=eBoard\">Forum</a>&nbsp;&nbsp \n"
        ."<img src=\"themes/MFJ_maxi_sub/images/icon_mini_faq.gif\" border=0 align=\"center\"> <A href=\"modules.php?name=FAQ\">FAQ</a>&nbsp;&nbsp \n"
        ."</B></font>\n"
        ."</td>\n"
        ."<td background=\"themes/MFJ_maxi_sub/images/oben_l.jpg\" height=24 align=\"right\" width=\"15%\"><font size=\"2\"><b>\n"
        ."\n\n"
        ."<!--   // Array ofmonth Names\n"
        ."var monthNames = new Array( \"Januar\",\"Februar\",\"März\",\"April\",\"Mai\",\"Juni\",\"Juli\",\"August\",\"September\",\"Oktober\",\"November\",\"Dezember\");\n"
        ."var now = new Date();\n"
        ."thisYear = now.getYear();\n"
        ."if(thisYear < 1900) {thisYear += 1900}; // corrections if Y2K display problem\n"
        ."document.write(now.getDate() + \". \" + monthNames[now.getMonth()] + \" \" + thisYear);\n"
        ."// -->\n\n"
        ."</b></font>&nbsp;</td>\n"
        ."\n"
        ."</tr>\n"
        ."<tr>\n"
        ."<td bgcolor=\"#c0c0c0\" colspan=\"4\"><IMG src=\"themes/MFJ_maxi_sub/images/pixel.gif\" width=\"1\" height=\"1\" alt=\"\" border=\"0\" hspace=\"0\"></td>\n"
        ."</tr>\n"
        ."</table>\n";
if (is_admin($admin)) {       
        echo "<center><td align=\"center\" bgcolor=\"#CACACA\" colspan=\"4\"><br><a href=\"admin.php\">Admin</a>\n";
 
  $res=sql_query("select * from $prefix"._queue."", $dbi);
  $num = sql_num_rows($res, $dbi);
  echo "&nbsp;|&nbsp;<a href=\"admin.php?op=submissions\">News: $num</a>\n";  
  $res=sql_query("select * from $prefix"._links_newlink."", $dbi);
  $num = sql_num_rows($res, $dbi);
  echo "&nbsp;|&nbsp;<a href=\"admin.php?op=Links\">Links: $num</a>\n";  
  $res=sql_query("select * from $prefix"._downloads_newdownload."", $dbi);
  $num = sql_num_rows($res, $dbi);
  echo "&nbsp;|&nbsp;<a href=\"admin.php?op=downloads\">Downloads: $num</a>\n";  
  $res=sql_query("select * from $prefix"._gallery_pictures_newpicture."", $dbi);
  $num = sql_num_rows($res, $dbi);
  echo "&nbsp;|&nbsp;<a href=\"admin.php?op=GallAdmin\">Bilder: $num</a>\n";  
  $res=sql_query("select * from $prefix"._events_queue."", $dbi);
  $num = sql_num_rows($res, $dbi);
  echo "&nbsp;|&nbsp;<a href=\"admin.php?op=CalendarAdmin\">Termine: $num</a>\n";  
  $res=sql_query("select * from $prefix"._nukebook_queue."", $dbi);
  $num = sql_num_rows($res, $dbi);
  echo "&nbsp;|&nbsp;<a href=\"admin.php?op=NukebookAdmin\">Gästebuch: $num</a>\n";
 
  echo "&nbsp;|&nbsp;<a href=\"admin.php?op=who\">Online</a>\n";
  echo "&nbsp;|&nbsp;<a href=\"admin.php?op=hreferer\">Referer</a>\n";
  echo "&nbsp;|&nbsp;<a href=\"admin.php?op=logout\">Logout</a>\n\n";
  echo "</font></td>";
} else {
echo "";
}

echo "<!-- FIN DEL TITULO -->\n"
."<table width=\"99%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" align=\"center\"><tr valign=\"top\">\n"
."<td><img src=\"themes/MFJ_maxi_sub/images/pixel.gif\" width=\"1\" height=\"5\" border=\"0\" alt=\"\"></td></tr></table>\n"
."<table width=\"99%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" align=\"center\"><tr valign=\"top\">\n"
."<td><img src=\"themes/MFJ_maxi_sub/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td>\n"
."<td width=\"148\" valign=\"top\">\n";
    blocks(left);
    echo "</td><td><img src=\"themes/MFJ_maxi_sub/images/pixel.gif\" width=\"15\" height=\"1\" border=\"0\" alt=\"\"></td><td width=\"100%\">\n";
include ("themes/MFJ_maxi_sub/cblock.php");

}

/************************************************************/
/* Function themefooter()                                   */
/*                                                          */
/* Control the footer for your site. You don't need to      */
/* close BODY and HTML tags at the end. In some part call   */
/* the function for right blocks with: blocks(right);       */
/* Also, $index variable need to be global and is used to   */
/* determine if the page your're viewing is the Homepage or */
/* and internal one.                                        */
/************************************************************/

function themefooter() {
    global $index;
    if ($index == 1) {
echo "</td><td><img src=\"themes/MFJ_maxi_sub/images/pixel.gif\" width=\"15\" height=\"1\" border=\"0\" alt=\"\"></td><td valign=\"top\" width=\"155\">\n";
blocks(right);
    }
    echo "</td><td><img src=\"themes/MFJ_maxi_sub/images/pixel.gif\" width=10 height=1 border=0 alt=\"\">\n"
."</td></tr></table>\n"
        ."<table width=\"99%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" align=\"center\"><tr valign=\"top\">\n"
        ."<td height=\"17\">&nbsp;</td>\n"
        ."</tr></table>\n"
        ."<br>"
        ."<table width=\"97%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" ><tr valign=\"top\">\n"
        ."</tr><tr align=\"center\">\n"
        ."<td  width=\"100%\" colspan=\"3\">\n";
global $prefix, $bannersfsz, $index;
if ($bannersfsz) { include("bannersfsz.php");
    }         
    footmsg();
    echo "</td>\n"
        ."</tr>\n"
        ."</table>\n"
        ."</tr></table><center></center>\n";
}

/************************************************************/
/* Function themeindex ()                                   */
/*                                                          */
/* Control the header for your site. You need to define the */
/* BODY tag and in some part of the code call the blocks    */
/* function for left side with: blocks(left);               */
/************************************************************/

function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
    global $anonymous, $tipath;
    echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#1A1A1A\" width=\"100%\"><tr><td>\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"1\" bgcolor=\"#808080\" width=\"100%\"><tr><td>\n"
."<table background=\"themes/MFJ_maxi_sub/images/oben_l.jpg\" height=\"24\"  border=\"0\" cellpadding=\"3\" cellspacing=\"2\" bgcolor=\"#EEEEEE\" width=\"100%\"><tr><td align=\"left\">\n"
."<font class=\"content\" color=\"#363636\"><b>&nbsp;&nbsp;$title</b></font>\n"
."</td></tr></table></td></tr></table>(<a href=\"modules.php?name=News&amp;new_topic=$topic\" title=\"$topictext\">$topictext</a>)\n";

    FormatStory($thetext, $notes, $aid, $informant);
    echo "</td></tr></table>\n"
."<table border=\"0\" cellpadding=\"1\" cellspacing=\"0\" width=\"100%\"><tr><td>\n"
."<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" width=\"100%\"><tr><td bgcolor=\"#2B2B2B\" align=\"center\">\n"
."<font color=\"#c0c0c0\" size=\"1\">"._POSTEDBY." ";
    formatAidHeader($aid);
    echo " "._ON." $time $timezone ($counter "._READS.")<br></font>\n"
."<font class=\"content\">$morelink</font>\n"
."</td></tr></table></td></tr></table>\n"
."<br>\n\n\n";
}

/************************************************************/
/* Function themeartikel-gross()                            */
/*                                                          */
/* Control the header for your site. You need to define the */
/* BODY tag and in some part of the code call the blocks    */
/* function for left side with: blocks(left);               */
/************************************************************/

function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) {
    global $admin, $sid, $tipath;
    echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#1A1A1A\" width=\"100%\"><tr><td>\n"
        ."<table border=\"0\" cellpadding=\"1\" cellspacing=\"1\" bgcolor=\"#808080\" width=\"100%\"><tr><td>\n"
        ."<table background=\"themes/MFJ_maxi_sub/images/oben_1.jpg\" border=\"0\" cellpadding=\"3\" cellspacing=\"2\" bgcolor=\"#EFEFEF\" width=\"100%\"><tr><td align=\"left\">\n"
        ."<font class=\"option\" size=\"1\"><b><img src=\"themes/MFJ_maxi_sub/images/icon.gif\" width=15 height=14 align=\"center\">&nbsp;&nbsp;$title</b></font><br>\n"
        ."</td></tr></table>\n"   
        ."<font size=\"1\">"._POSTEDON." $datetime "._BY." ";
    $posted .= formatAidHeader($aid); echo "$posted";
    if (is_admin($admin)) {
echo "<br>[ <a href=\"admin.php?op=EditStory&amp;sid=$sid\">"._EDIT."</a> | <a href=\"admin.php?op=RemoveStory&amp;sid=$sid\">"._DELETE."</a> ]\n";
    }
    echo "</td></tr></table><br>";
    echo "<a href=\"modules.php?name=News&amp;new_topic=$topic\"><img src=\"$tipath$topicimage\" border=\"0\" Alt=\"$topictext\" align=\"right\" hspace=\"3\" vspace=\"0\" bgcolor=\"#EFEFEF\"></a>\n";
    FormatStory($thetext, $notes="", $aid, $informant);
    echo "</td></tr></table><br>\n\n\n";
}

/************************************************************/
/* Function themebox()                                   */
/*                                                          */
/* Control the header for your site. You need to define the */
/* BODY tag and in some part of the code call the blocks    */
/* function for left side with: blocks(left);               */
/************************************************************/

function themesidebox($title, $content) {
    echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"1\" bgcolor=\"#c0c0c0\" width=\"148\"><tr><td>\n"
        ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"148\">\n"
    ."</table>\n"
    ."<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" bgcolor=\"#c0c0c0\" width=\"100%\">\n"
."<tr><td background=\"themes/MFJ_maxi_sub/images/block.jpg\">\n"
."<font class=\"titel\" size=\"1\"><b>$title</b></font>\n"
."</td></tr>\n"
."<tr>\n"
."<td background=\"themes/MFJ_maxi_sub/images/block1.jpg\">&nbsp;\n"
."</tr>\n"
."<tr>\n"
."<td bgcolor=\"#2B2B2B\"><font size=\"1\">$content</td>\n"
."</tr>\n"
."</table></td></tr></table>\n"
."<br>\n\n\n";
}
function thememiddlebox ($title, $content) {
global $Default_Theme, $dbi;
    echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"1\" bgcolor=\"#c0c0c0\" width=\"100%\"><tr><td>\n"
        ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\n"
    ."</table>\n"
    ."<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" bgcolor=\"#c0c0c0\" width=\"100%\">\n"
."<tr><td background=\"themes/MFJ_maxi_sub/images/block_bg.gif\" width=\"100%\">\n"
."<font class=\"titel\" size=\"1\"><b>$title</b></font>\n"
."</td></tr>\n"
."<tr>\n"
."<td background=\"themes/MFJ_maxi_sub/images/block1.jpg\">&nbsp;\n"
."</tr>\n"
."<tr>\n"
."<td bgcolor=\"#2B2B2B\"><font size=\"1\">$content</td>\n"
."</tr>\n"
."</table></td></tr></table>\n"
."<br>\n\n\n";

}

?>


Ich benutze die neueste Version des VKP und die neueste Version der Coppermine, sowie die neueste Version des eBoards samt allen Updates und Fixes.

Will NUR bei eBoard und Coppermine das linke weg haben .. 

:(


jogi24

 ;D ;D

suche nach blocks(left);

und ersetze durch

if ($_REQUEST['name']!='Gallery' && $_REQUEST['name']!='eBoard') {   
blocks(left);
}

eventuell die modul-namen ersetzen   ;) ;) ;)

asder

*kreisch* *freu*
Cool!

Funktioniert absolut gigantissimo....  Klasse... so ist es genial...


*yiepieeehhhh*

*mich auf den Boden werf und Dir meine Hochachtung zoll*

jogi24

 :)

da muste dich nicht bei mir bedanken, sondern beim team hier.  ::) ::)

asder

edit:

meine Hochachtung gilt dem gesamten Team....   :thumbup: