pragmaMx Support Forum

Archive => veraltete bzw. unsupportete Systeme und Module => Alt Archive => PHPNuke 5.2-6.0 & VKP 5.5 => Thema gestartet von: Gobi am 25 Juni 2002, 15:47:23

Titel: Weg mit dem "xxx schreibt.."im News Modul
Beitrag von: Gobi am 25 Juni 2002, 15:47:23
Hi,

folgendes Problem. Wenn jemand (außer mir) News einliefert und ich diese dann auch bestätige, steht im Newsbeitrag z.B. Ramona schreibt"......."
Und mein Name steht als Ersteller im Header des Beitrags.

Wie kann ich das so ändern, daß der, der die News eingeliefert hat auch im Beitragsheader erscheint und dieses "xxx schreibt" nicht mehr da steht?

Das sieht nämlich voll doof aus. Es reicht mir aber nicht das "xxx schreibt" zu entfernen, da der Rest der Community schon wissen soll, von wem der Beitrag stammt. Und dafür ist ja eigentlich der Beitragsheader gedacht.

Gruß

Gobi
Titel: Re: Weg mit dem "xxx schreibt.."im News Modul
Beitrag von: MoniK am 25 Juni 2002, 16:45:44
Man hat doch alle Informationen: $aid und $informant mit übergeben in den Funktionen themeindex und themearticle in der theme.php

Ich habe also den Teil entfernt, der "Username schreibt..." dovorsetzt und den Teil einfach der Variable $postet zugeordnet.
z.B. Odysse Theme - Funktion themeindex:

aus:
if ("$aid" == "$informant") {
$content = "$thetext$notes\n";
} else {
if($informant != "") {
$content = "<a href=\"modules.php?name=Your_Account&op=userinfo&uname=$informant\">$informant</a> ";
} else {
$content = "$anonymous ";
}
$content .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
}
$posted = ""._POSTEDBY." ";
$posted .= get_author($aid);
$posted .= " "._ON." $time $timezone ($counter "._READS.")";

wurde dann bei mir:
$posted = ""._POSTEDBY." ";
if ("$aid" == "$informant") {
$content = "$thetext$notes\n";
$posted.= get_author($aid);
} else {
if($informant != "") {
$content .= "$thetext$notes\n";
$posted .= "<a href=\"modules.php?name=Your_Account&op=userinfo&uname=$informant\">$informant</a>";
} else {
$posted .= $anonymous;
$content .= "$thetext$notes\n";
}
}
$posted .= " "._ON." $time $counter "._READS.")";

z.B. Odysse Theme - Funktion themearticle:
aus:

$posted = ""._POSTEDON." $datetime "._BY." ";
$posted .= get_author($aid);
if ($notes != "") {
$notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>\n";
} else {
$notes = "";
}
if ("$aid" == "$informant") {
$content = "$thetext$notes\n";
} else {
if($informant != "") {
$content = "<a href=\"modules.php?name=Your_Account&op=userinfo&uname=$informant\">$informant</a> ";
} else {
$content = "$anonymous ";
}
$content .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
}

wurde:
$posted = ""._POSTEDBY." ";
if ("$aid" == "$informant") {
$content = "$thetext$notes\n";
$posted.= get_author($aid);
} else {
if($informant != "") {
$content .= "$thetext$notes\n";
$posted .= "<a href=\"modules.php?name=Your_Account&op=userinfo&uname=$informant\">$informant</a>";
} else {
$posted .= $anonymous;
$content .= "$thetext$notes\n";
}
}
$posted .= " "._ON." $datetime ";

Bei mir klappt das so...

Monika
Titel: Re: Weg mit dem "xxx schreibt.."im News Modul
Beitrag von: Gobi am 25 Juni 2002, 19:35:16
Äh....sooo einfach ist das? Ich verstehe gaaar nix....

Ich benutze also die VKP angepassten Themes, die man hier downloaden kann. Und da finde ich den von Dir angegebenen String nicht. Wohl einen der ähnlich ist.....
Aber ich bin recht neu in der PHP Szene und bekomme noch nicht allzuviel auf die Reihe.
Für eine detailierte Beschreibung, die zu den von mir verwendeten Themes passt wäre ich escht wahnsinnig dankbar.
Aber trotzdem vielen dank für den Lösungsansatz....
Titel: Re: Weg mit dem "xxx schreibt.."im News Modul
Beitrag von: Gobi am 25 Juni 2002, 23:40:46
Weiß denn wirklich keiner einen Rat????  :cry   :cry   :cry
Titel: Re: Weg mit dem "xxx schreibt.."im News Modul
Beitrag von: jogi24 am 26 Juni 2002, 00:03:16
hi
nur nicht drängeln !!!

welche themes benutzt du denn

dann kann ich dir auch helfen ??

 :P  :P  :P
Titel: Re: Weg mit dem "xxx schreibt.."im News Modul
Beitrag von: DarkBoy am 26 Juni 2002, 03:01:47
muss ich JOGI  recht geben :  auch iwir  können mit aller HILFE nicht  BUG frei lifern :) und wenn sich da mal nen themen  nen Fehler  einschleicht :  SORRY :)
 Jogi und ich kömnnen auch nicht alles sehen :)

 abe sei dir   recht bsicher  das alle thmen hier   die  code angabe  beinhalten :D   frisch getestet :)

 sage welches themen und  wir hlefen dir  und am besten ein LINK dazu :)
Titel: Re: Weg mit dem "xxx schreibt.."im News Modul
Beitrag von: Gobi am 26 Juni 2002, 17:12:10
Eigentlich alle aus der MP_VKP55 Reihe......ich habe noch mal nachgeschaut. Ich kann den Code, wie ihn Monika angegeben hat nicht finden. Die einzelenen Strings wohl, aber aufgrund meines noch recht mangelhaften Wissens kann ich das alles nicht ordentlich interpretiern und dementsprechend in den Themes umsetzen....

 
Zitat<?php

/************************************************************/
/* THEME NAME: MF_vkp55_CE-Design-OrBlue                             */
/* THEME DEVELOPER: Somara Sem (http://www.somara.com)      */
/* THEME MODIFIED: CE-Design (http://www.netbat.org)        */
/************************************************************/

/************************************************************/
/*                                                          */
/* 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 = "MF_vkp55_CE-Design-OrBlue";
$bgcolor1 = "#ffcc66";
$bgcolor2 = "#ff9900";
$bgcolor3 = "#ffffcc";
$bgcolor4 = "#ffffcc";
$bgcolor5 = "#ffcc66";
$textcolor1 = "#000000";
$textcolor2 = "#000000";

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 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&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, $admin, $fszcounter, $prefix, $dbi;
    cookiedecode($user);
    $username = $cookie[1];
    if ($username == "") {
        $username = "Anonymous";
    }
    echo "<body bgcolor=\"#ffffff\" text=\"#000000\" link=\"#363636\" vlink=\"#363636\" alink=\"#d5ae83\">\n"
   ."<br>\n";
    echo "<table cellpadding=\"0\" cellspacing=\"1\" width=\"97%\" border=\"0\" align=\"center\" bgcolor=\"#000000\">\n"
    ."<tr>\n"
    ."<td background=\"themes/MF_vkp55_CE-Design-OrBlue/images/titleBar.gif\">  \n"
    ."</td>\n"
    ."</tr>\n"
    ."</table>\n"
    ."<table cellpadding=\"0\" cellspacing=\"0\" width=\"97%\" border=\"0\" align=\"center\" bgcolor=\"#eeeeef\">\n"
   ."<tr>\n"
   ."<td bgcolor=\"#ffcc66\" width=\"200\" align=\"left\" valign=\"middle\">\n"  //<--- das ; muss entfernt werden um gif/jpg zu nutzen- the ;  must be away if you use gif/jepg
   ###### START Logobereich für GIF  Logosection for GiF----- Need this for use Gif and NO FLASH########
   ."<a href=\"index.php\"><img src=\"themes/MF_vkp55_CE-Design-OrBlue/images/logo.gif\" align=\"left\" alt=\""._WELCOMETO." $sitename\" border=\"0\"></a></td>\n"
        ###### STOP Logobereich für GIF  Logosection for GiF----- Need this for use Gif and NO FLASH########
       
        ###### START Logobereich für FLASH Logosection-------- Need this for use FLASH and NO GIF#######
      #    echo ("<!-- beginn link --><OBJECT classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" ID=\"Menu\" WIDTH=\"250\" HEIGHT=\"50\"><PARAM NAME=\"movie\" VALUE=\"themes/MF_vkp55_CE-Design-OrBlue/images/flash/MFBanner1.swf\"> <PARAM NAME=\"quality\" VALUE=\"high\"><PARAM NAME=\"bgcolor\" VALUE=\"#eeeeee\"><param Name=\"menu\" value=\"false\"><EMBED src=\"themes/MF_vkp55_CE-Design-OrBlue/images/flash/MFBanner1.swf\" quality=\"high\" bgcolor=\"#eeeeee\" WIDTH=\"250\" HEIGHT=\"50\" TYPE=\"application/x-shockwave-flash\" PLUGINSPAGE=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\"></EMBED></OBJECT><!-- end link -->");
      #  echo "</td>\n"
        ###### START Logobereich für FLASH Logosection-------- Need this for use FLASH and NO GIF#######
   ."<td bgcolor=\"#ffcc66\" width=\"320\" align=\"right\">\n"
   ."$fszcounter"
   ."<td>\n"

   ."<td bgcolor=\"#ffcc66\" align=\"right\">\n"
   ."<table>\n"
   ."<tr>\n"
   ."<td>\n"

   ."<form action=\"modules.php?name=Search\" method=\"post\"><font size=\"2\" color=\"#000000\"><b>"._SEARCH." </b>\n"
   ."<input type=\"text\" name=\"query\" size=\"14\"></font></form></td>\n"
   ."<td bgcolor=\"#ffcc66\" align=\"right\">\n"
   ."<form action=\"modules.php?name=Search\" method=\"post\"><font size=\"2\"><b>"._TOPICS." </b>\n";
    $toplist = sql_query("select topicid, topictext from $prefix"._topics." order by topictext", $dbi);
    echo "<select name=\"topic\"onChange='submit()'>\n"
   ."<option value=\"\">"._ALLTOPICS."</option>\n";
    while(list($topicid, $topics) = sql_fetch_row($toplist, $dbi)) {
    if ($topicid==$topic) { $sel = "selected "; }
   echo "<option $sel value=\"$topicid\">$topics</option>\n";
   $sel = "";
    }
    echo "</select></font></form></td></tr></table></td>\n"
   ."<td bgcolor=\"#ffcc66\" valign=\"top\"> </td>\n"
   ."</tr></table>\n"
   ."<table cellpadding=\"0\" cellspacing=\"0\" width=\"97%\" border=\"0\" align=\"center\" bgcolor=\"#fefefe\">\n"
   ."<tr>\n"
   ."<td bgcolor=\"#000000\" colspan=\"4\"><IMG src=\"themes/MF_vkp55_CE-Design-OrBlue/images/pixel.gif\" width=\"1\" height=1 alt=\"\" border=\"0\" hspace=\"0\"></td>\n"
   ."</tr>\n"
   ."<tr valign=\"middle\" bgcolor=\"#ff9900\">\n"
   ."<td width=\"15%\" nowrap><font size=\"2\" color=\"#363636\"><b>\n";
    if ($username == "Anonymous") {
   echo "  <b><font size=2><b>"._HELLO." </b> [ <a href=\"modules.php?name=Your_Account\">"._NEWUSER."</a> ]</font>\n";
    } else {
   echo "  <font size=2><b>"._HELLO." <a href=\"modules.php?name=Your_Account\">$cookie[1]</a> [ <a href=\"modules.php?name=Your_Account&op=logout\">"._LOGOUT."</a> ]</b></font>";
    }
    echo "</b></font></td>\n"
   ."<td align=\"center\" height=\"20\" width=\"71%\"><font size=\"2\"><B>\n"
."<img src=\"themes/MF_vkp55_CE-Design-OrBlue/images/arrow.gif\" border=0> <A href=\"/\">Home</a>\n"
        ."<img src=\"themes/MF_vkp55_CE-Design-OrBlue/images/arrow.gif\" border=0> <A href=\"modules.php?name=Your_Account\">Dein Account</a>\n"
        ."<img src=\"themes/MF_vkp55_CE-Design-OrBlue/images/arrow.gif\" border=0> <a href=\"modules.php?op=modload&name=Guestbook&file=index\">"._GUESTBOOK."</a>\n"
        ."<img src=\"themes/MF_vkp55_CE-Design-OrBlue/images/arrow.gif\" border=0> <A href=\"modules.php?name=wbboard\">Forum</a>\n"
        ."<img src=\"themes/MF_vkp55_CE-Design-OrBlue/images/arrow.gif\" border=0> <A href=\"modules.php?name=WebChat\">Chat</a>\n"
        ."<img src=\"themes/MF_vkp55_CE-Design-OrBlue/images/arrow.gif\" border=0> <A href=\"modules.php?name=Downloads\">Downloads</a>\n"
        ."</td>\n"
        ."<td align=\"right\" width=\"15%\"><font size=\"2\"><b>\n"
        ."<script type=\"text/javascript\">\n\n"
        ."<!--   // Array ofmonth Names\n"
        ."var monthNames = new Array( \""._JANUARY."\",\""._FEBRUARY."\",\""._MARCH."\",\""._APRIL."\",\""._MAY."\",\""._JUNE."\",\""._JULY."\",\""._AUGUST."\",\""._SEPTEMBER."\",\""._OCTOBER."\",\""._NOVEMBER."\",\""._DECEMBER."\");\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"
        ."</script></b></font></td>\n"
        ."<td> </td>\n"
        ."</tr>\n"
        ."<tr>\n";
   if (is_admin($admin)) {        
        echo "<td align=\"center\" bgcolor=\"#ffffcc\" 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 " | <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 " | <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 " | <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 " | <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 " | <a href=\"admin.php?op=CalendarAdmin\">Termine: $num</a>\n";           
           $res=sql_query("select * from $prefix"._reviews_add."", $dbi);
           $num = sql_num_rows($res, $dbi);
           echo " | <a href=\"admin.php?op=reviews\">Tests: $num</a>\n";           
           
           $res=sql_query("select * from $prefix"._nukebook_queue."", $dbi);
           $num = sql_num_rows($res, $dbi);
           echo " | <a href=\"admin.php?op=NukebookAdmin\">Gästebuch: $num</a>\n";
           
           echo " | <a href=\"admin.php?op=who\">Online</a>\n";
           echo " | <a href=\"admin.php?op=hreferer\">Referer</a>\n";
           echo " | <a href=\"admin.php?op=logout\">Logout</a>\n\n";
           echo "</font></td>";
       } else {
       echo "";
    }

   echo "<tr>\n"
        ."<td bgcolor=\"#000000\" colspan=\"4\"><IMG src=\"themes/MF_vkp55_CE-Design-OrBlue/images/pixel.gif\" width=\"1\" height=\"1\" alt=\"\" border=\"0\" hspace=\"0\"></td>\n"
        ."</tr>\n"
        ."</table>\n"
   ."<!-- FIN DEL TITULO -->\n"
   ."<table width=\"99%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" align=\"center\"><tr valign=\"top\">\n"
   ."<td><img src=\"themes/MF_vkp55_CE-Design-OrBlue/images/pixel.gif\" width=\"1\" height=\"20\" 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/MF_vkp55_CE-Design-OrBlue/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td>\n"
   ."<td width=\"150\" valign=\"top\">\n";
    blocks(left);
    echo "</td><td><img src=\"themes/MF_vkp55_CE-Design-OrBlue/images/pixel.gif\" width=\"15\" height=\"1\" border=\"0\" alt=\"\"></td><td width=\"100%\">\n";
         include ("themes/MF_vkp55_CE-Design-OrBlue/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/MF_vkp55_CE-Design-OrBlue/images/pixel.gif\" width=\"15\" height=\"1\" border=\"0\" alt=\"\"></td><td valign=\"top\" width=\"150\">\n";
   blocks(right);
    }
    echo "</td><td><img src=\"themes/MF_vkp55_CE-Design-OrBlue/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\"> </td>\n"
        ."</tr></table>\n"
        ."<br>"
        ."<table width=\"99%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" bgcolor=\"#ffffcc\" align=\"center\"><tr valign=\"top\">\n"
        ."</tr><tr align=\"center\">\n"
        ."<td width=\"100%\" colspan=\"3\">\n"
         ."<table cellpadding=\"0\" cellspacing=\"1\" width=\"99%\" border=\"0\" align=\"center\" bgcolor=\"#000000\">\n"
    ."<tr>\n"
    ."<td background=\"themes/MF_vkp55_CE-Design-OrBlue/images/titleBar.gif\">  \n"
    ."</td>\n"
    ."</tr>\n"
    ."</table>\n";
global $prefix, $bannersfsz, $index;
   if ($bannersfsz) {
   include("bannersfsz.php");
    }
         include ("themes/MF_vkp55_CE-Design-OrBlue/disc.php");
    footmsg();
    echo "</td>\n"
        ."</tr>\n"
        ."</table>\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 themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
    global $anonymous, $tipath;
    echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"1\" width=\"100%\" bgcolor=\"#000000\">\n"
    ."<tr>\n"
    ."<td background=\"themes/MF_vkp55_CE-Design-OrBlue/images/titleBar.gif\">  \n"
    ."</td>\n"
    ."</tr>\n"
    ."</table>\n"
    ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\n"
    ."<tr>\n"
    ."<td>\n"
   ."<table border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#000000\" width=\"100%\"><tr>\n"
   ."<td bgcolor=\"#ff9900\" align=\"left\">\n"
   ."<font size=\"3\" color=\"#363636\"><b>$title</b></font>\n"
   ."<br><font color=\"#999999\" size=\"1\">"._POSTEDBY." ";
    formatAidHeader($aid);
    echo " "._ON." $time $timezone ($counter "._READS.")</font>\n"
    ."<br><b>"._TOPIC."</b> <a href=\"modules.php?name=News&new_topic=$topic\">$topictext</a>\n"
   ."</td></tr>\n"
   ."<tr><td bgcolor=\"#ffffcc\">\n"
   ."<font color=\"#999999\"><b><a href=\"modules.php?name=News&new_topic=$topic\"><img src=\"$tipath$topicimage\" border=\"0\" Alt=\"$topictext\" align=\"right\" hspace=\"10\" vspace=\"10\"></a></B></font>\n";
    FormatStory($thetext, $notes, $aid, $informant);
    echo "</td></tr>\n"
    ."<tr><td bgcolor=\"#ffcc66\" align=\"right\">\n"
   ."<font size=\"2\">$morelink</font>\n"
   ."</td></tr></table></td></tr></table>\n"
   ."<br>\n\n\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 themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) {
    global $admin, $sid, $tipath;
    echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"5\" bgcolor=\"#ffffcc\" width=\"100%\"><tr><td>\n"
        ."<table border=\"0\" cellpadding=\"1\" cellspacing=\"0\" bgcolor=\"#000000\" width=\"100%\"><tr><td>\n"
        ."<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" bgcolor=\"#ffffcc\" width=\"100%\"><tr><td align=\"left\">\n"
        ."<font size=\"3\" color=\"#363636\"><b>$title</b></font><br>\n"
        .""._POSTEDON." $datetime "._BY." ";
    formatAidHeader($aid);
    if (is_admin($admin)) {
   echo "<br>[ <a href=\"admin.php?op=EditStory&sid=$sid\">"._EDIT."</a> | <a href=\"admin.php?op=RemoveStory&sid=$sid\">"._DELETE."</a> ]\n";
    }
    echo "</td></tr></table></td></tr></table><br>";
    echo "<a href=\"modules.php?name=News&new_topic=$topic\"><img src=\"$tipath$topicimage\" border=\"0\" Alt=\"$topictext\" align=\"right\" hspace=\"10\" vspace=\"10\"></a>\n";
    FormatStory($thetext, $notes="", $aid, $informant);
    echo "</td></tr></table><br>\n\n\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 themesidebox($title, $content) {
    echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#eeeeee\" width=\"150\"><tr><td>\n"
    ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"150\">\n"
    ."<tr>\n"
    ."<td><img src=\"themes/MF_vkp55_CE-Design-OrBlue/images/sideBoxTop.gif\"></td>\n"
    ."</tr>\n"
    ."</table>\n"

   ."<table border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#000000\" width=\"100%\">\n"
   ."<tr><td bgcolor=\"#ff9900\" align=\"center\">\n"
   ."<font size=\"2\" color=\"#363636\"><b>$title</b></font>\n"
   ."</td></tr>\n"
   ."<tr>\n"
   ."<td bgcolor=\"#ffffcc\">$content</td>\n"
   ."</tr>\n"
   ."</table></td></tr></table>\n"
   ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"150\">\n"
   ."<tr>\n"
   ."<td><img src=\"themes/MF_vkp55_CE-Design-OrBlue/images/sideBoxBottom.gif\"></td>\n"
   ."</tr>\n"
    ."</table>\n"
   ."<br>\n\n\n";
}

?>
 

Habe den Code der theme.php von MP_VKP55_CE-Disign_OrBlue mal beigelegt....aber ihr kennt ihn sicherlich, oder?

[Editiert am 26/6/2002 von Gobi]
Titel: Re: Weg mit dem "xxx schreibt.."im News Modul
Beitrag von: Gobi am 27 Juni 2002, 15:53:34
Ich will ja wirklich nicht drängeln....aber es eilt wirklich ziemlich dolle.....bite, bitte, bitte...
Titel: Re: Weg mit dem "xxx schreibt.."im News Modul
Beitrag von: jogi24 am 27 Juni 2002, 17:38:40
hi
da es sich bei deinem prob um eine persönliches schönheitveränderung handelt,
und nicht um ein bug in der themes, musst du dich schon gedulden.
wichtigere sachen haben vor solchen probs vorrang.

und drängeln hilft da auch nicht, jedenfalls nicht bei mir.

 :P  :P  :P
Titel: Re: Weg mit dem "xxx schreibt.."im News Modul
Beitrag von: Gobi am 27 Juni 2002, 20:31:38
'Tschuldigung......bin ja schon wieder brav...... :redhead:
Titel: Re: Weg mit dem "xxx schreibt.."im News Modul
Beitrag von: DarkBoy am 27 Juni 2002, 23:19:13
Hi
alles kein problem :) aber sofort gehen  viele sachen leider nicht und  auf unserer ToDo Liste stehen momentan leider  wichtigere Dinge :)
 Und Jogi24  wird das schon machen :) aber auch seine ToDo liste  ist zur Zeit  recht gross denke ich :D
Titel: Re: Weg mit dem "xxx schreibt.."im News Modul
Beitrag von: Gobi am 09 Juli 2002, 16:20:06
 :cry  sooo lang die Todo Liste???  :cry

Bitte, bitte.....Hilfe....
Titel: Re: Weg mit dem "xxx schreibt.."im News Modul
Beitrag von: jogi24 am 09 Juli 2002, 18:10:48
hi

die Todo Liste ist wirklich sehr lang,
und da es sich bei dir um eine persöhnliche schönheits änderung
handelt, musst du halt warten,
die themes für das neue vkp haben nun halt mal vorrang,
sowie andere probleme mit den themes.
persöhnliche schönheits änderungen, kommen bei mir immer
ganz zum schluss.

 :thumbup:  :quest  :thumbup:

sprech doch mal Monik an, vieleicht hat sie mehr zeit als ich !!!!!

[Editiert am 9/7/2002 von jogi24]
Titel: Re: Weg mit dem "xxx schreibt.."im News Modul
Beitrag von: Gobi am 10 Juli 2002, 17:14:36
Mooooniiiik........hiiiilfeeee.... :kiss
Titel: Re: Weg mit dem "xxx schreibt.."im News Modul
Beitrag von: -h-e-l-m-i- am 10 Juli 2002, 19:02:18


Hi DarkBoy..

..also mich störrt dieser Sachverhalt auch..
..wollte aber net auch noch damit kommen, nachdem ich schon nen Sack voll Änderungswünsche hier eingebracht habe..  ;)

IMHO ist es KEIN Schönheitsfehler, aber andererseits würde es mir reichen, wenns in der neuen Release geändert würde.. (@ Gobi: kann sich ja nur noch um Jahre handeln. oder so!  :D )

By(e):




Titel: Re: Weg mit dem "xxx schreibt.."im News Modul
Beitrag von: MoniK am 11 Juli 2002, 08:21:14
ZitatMooooniiiik........hiiiilfeeee.... :kiss  

Ja ?? Ich habe das hier im Auge behalten, aber ich habe auch nicht die Zeit, das in jedes Theme einzubauen, das Du nutzt. Wenn es sich nur um ein Theme handeln würde, könnte ich vielleicht am Wochenende was machen, aber so ?
Wieviel Themes hast Du denn ?

Monika
Titel: Re: Weg mit dem "xxx schreibt.."im News Modul
Beitrag von: Gobi am 11 Juli 2002, 16:26:27
Es würde mir schon reichen, wenn Du mir die Codeänderung für die "MF_vkp55_CE-Design-OrBlue" hier posten würdest. Danach komme ich dann (glaube ich  ;)  ) schon klar. Wäre Super lieb von Dir, wenn Du das am WE schaffen würdest...

Bekommst auch ein  :kiss  extra..... ;)

[Editiert am 11/7/2002 von Gobi]
Titel: Re: Weg mit dem "xxx schreibt.."im News Modul
Beitrag von: MoniK am 11 Juli 2002, 16:39:20
Dann maile mir mal den kompltten Themeordner des MF_vkp55_CE-Design-OrBlue Themes zu, man muß hier ja nicht das Forum mit riesen Postings zuballern
So kann ich es vernigtsens vernünftig testen.

mailaddy: kriesmann@akcreatives.de

Monika
Titel: Re: Weg mit dem "xxx schreibt.."im News Modul
Beitrag von: Gobi am 11 Juli 2002, 21:39:28
Super...danke, daß Du Dich drum kümmern willst. mail ist bereits abgeschickt....
Titel: Re: Weg mit dem "xxx schreibt.."im News Modul
Beitrag von: MoniK am 11 Juli 2002, 21:49:43
Ich schau am WE rein, dann kriegst Du es zurück

Monika