Maax VKP und Themes

Begonnen von Oddy, 11 Dezember 2002, 17:02:13

⏪ vorheriges - nächstes ⏩

0 Mitglieder und 1 Gast betrachten dieses Thema.

Oddy

Halli Hallo Liebe Maaxer

Habe da mal eine frage. Gibt es auch irgentwelche Themes die mit eurem VKP zusammenarbeiten ?? Ich habe nun einige ausgetestet aber keins will so recht. Jedesmal wenn ich dies installiere und mich als admin einlogge bekomme ich den fehlker hinweis das ein fehler in includes/config.php in line 19 habe. daraufhin bekomme ich keine Admin buttons mehr angezeigt. Oder direkt den fehler das das mOdul fehler hat. Ich habe das theme IceCold getestet und einige andere auch. Kann mir da jemand helfen.

Danke schon mal im voraus.

Euer Oddy

DarkBoy

unbedingt die DOKU lesen wegen dem Zusatzeinbau: http://docs.pragmamx.org/SP1/index.php?op=DAT_C2_1.php&SP1SID=b47de53ea6bebf29846f1f5be0b545c8

config.php line 19  was steht denn bei dir da? und in welchen Modulen kommen Fehler vor?

Oddy

Halli Hallo darkboy

Also wenn ich das Theme installiere und dann speichere komme ich ja wieder in den Adminbereich. Und dort fehlen alle Menüpunkte und darunter der hinweis -> Siehe oben.
Ist das nur die themes.php die ich modiefizieren muss ?? Könnte es schon daran liegen ??

Wenn ich dann zurück will kommen andere fehler und mir bleibt nix anderes mehr über als das alles runter und neu zu installieren.

Gruss Oddy

Oddy

Hier ich nochmal
Hir die theme.php von dem icecold
Wo muss ich da was eintragen ??
<?php

/************************************************************/
/* IMPORTANT NOTE FOR THEMES DEVELOPERS!                    */
/*                                                          */
/* When you start coding your theme, if you want to         */
/* distribute it, please double check it to fit the HTML    */
/* 4.01 Transitional Standard. You can use the W3 validator */
/* located at http://validator.w3.org                       */
/* If you don't know where to start with your theme, just   */
/* start modifying this theme, it's validate and is cool ;) */
/************************************************************/

/************************************************************/
/* Theme Colors Definition                                  */
/*                                                          */
/* Define colors for your web site. $bgcolor2 is generaly   */
/* used for the tables border as you can see on OpenTable() */
/* function, $bgcolor1 is for the table background and the  */
/* other two bgcolor variables follows the same criteria.   */
/* $texcolor1 and 2 are for tables internal texts           */
/************************************************************/

$bgcolor1 = "";
$bgcolor2 = "";
$bgcolor3 = "";
$bgcolor4 = "";
$textcolor1 = "#ffffff";
$textcolor2 = "#ffffff";

include("themes/IceCold/tables.php");

/************************************************************/
/* 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, $dbi;
    cookiedecode($user);
    $username = $cookie[1];
    if ($username == "") {
        $username = "Anonymous";
    }
    echo "<body background=\"themes/IceCold/images/bg.jpg\"bgproperties=\"fixed\"topmargin=\"10\"leftmargin=\"0\"marginwidth=\"0\"marginheight=\"0\" text=\"#ffffff\" link=\"#ffffff\" vlink=\"#ffffff\" alink=\"#ffffff\">";
    if ($banners == 1) {
   include("banners.php");
    }
    $topics_list = "<select name=\"new_topic\" onChange='submit()'>\n";
    $topics_list .= "<option value=\"\">All Topics</option>\n";
    $toplist = sql_query("select topicid, topictext from ".$prefix."_topics order by topictext", $dbi);
    while(list($topicid, $topics) = sql_fetch_row($toplist, $dbi)) {
    if ($topicid==$topic) { $sel = "selected "; }
   $topics_list .= "<option $sel value=\"$topicid\">$topics</option>\n";
   $sel = "";
    }
    if ($username == "Anonymous") {
   $theuser = "  <a href=\"modules.php?name=Your_Account&op=new_user\">Create an account";
    } else {
   $theuser = "  Welcome $username!";
    }
    $tmpl_file = "themes/IceCold/header.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
    blocks(left);
    $tmpl_file = "themes/IceCold/left_center.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
}

/************************************************************/
/* 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, $foot1, $foot2, $foot3, $foot4;
    if ($index == 1) {
   $tmpl_file = "themes/IceCold/center_right.html";
   $thefile = implode("", file($tmpl_file));
   $thefile = addslashes($thefile);
   $thefile = "\$r_file=\"".$thefile."\";";
   eval($thefile);
   print $r_file;
   blocks(right);
    }
    $footer_message = "$foot1<br>$foot2<br>$foot3<br>$foot4";
    $tmpl_file = "themes/IceCold/footer.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
}

/************************************************************/
/* Function themeindex()                                    */
/*                                                          */
/* This function format the stories on the Homepage         */
/************************************************************/

function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
    global $anonymous, $tipath;
    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";
    }
    $posted = ""._POSTEDBY." ";
    $posted .= get_author($aid);
    $posted .= " "._ON." $time $timezone ($counter "._READS.")";
    $tmpl_file = "themes/IceCold/story_home.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
}

/************************************************************/
/* Function themearticle()                                  */
/*                                                          */
/* This function format the stories on the story page, when */
/* you click on that "Read More..." link in the home        */
/************************************************************/

function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) {
    global $admin, $sid, $tipath;
    $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";
    }
    $tmpl_file = "themes/IceCold/story_page.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
}

/************************************************************/
/* Function themesidebox()                                  */
/*                                                          */
/* Control look of your blocks. Just simple.                */
/************************************************************/

function themesidebox($title, $content) {
    $tmpl_file = "themes/IceCold/blocks.html";
    $thefile = implode("", file($tmpl_file));
    $thefile = addslashes($thefile);
    $thefile = "\$r_file=\"".$thefile."\";";
    eval($thefile);
    print $r_file;
}

?>

DarkBoy

HM,
ich übergebe das mal an jogi24, der macht die themes und weiss da besser bescheid.
Und  schwupps.... abgeklatscht:)

jogi24

hi
@

es ist erstens nicht in der themes.php zu ändern sondern in der

tables.php

dort soltest du folgendes ergänzen.

function OpenTableAl() {
    global $bgcolor1, $bgcolor2, $bgcolor5, $bg_logo;
    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";
}

es sind  aber mit sicherheit noch weitere änderungen nötig, da es sich um eine alte html themes handelt, solltest du noch probs haben schicke mir doch bitte die gesamte themes, und ich werde sehen was da zu machen ist .

 :thumbup:  :quest  :thumbup:


Oddy

Ho-ho-ho Ihr alle miteinander

Hallo Jogi
Sorry wenn ich mich so spät melde. Ich wollte das Kiowa_UT theme nehmen und das Von der erscheinung her anpassen. Sprich von den bildern und so. Ich habe das schon mehrfach versucht aber es will bei eurem Packet nicht so recht. Soll ichs denn noch zusenden oder hast du es eventuell schon gefunden ?? Sag bescheit .

Gruss Oddy

Oddy

Halli Hallo

Habe da ein passendes theme gefunden, jedoch ist es aus postnuke.ist es möglich dieses theme irgendwie in euer Nuke system reinzubekommen. Dann habe ich 18 fliegen mit 16 klappen schlagen können.  :(   :o  Geht das oder geht es nicht ?? oder was kann ich sonst tun

Gruss Euer Oddy

jogi24

hi
@Oddy

für welche postnuke version ist den das themes ??

Oddy

Hy @jogi24

Halli hallo
Das ist für postnuke 0.72 oder 0.71 so wie ich das gesehen habe(laut Quellcode). Ausserdem soll es scheinbar gehen das man die phpbb themes angleichen kann oder so. Also ich habe das Theme hier wenn du magst schick ich dir das zu oder so. :quest

Gruss Oddy

jogi24

hi

du kanst sie mir gerne zuschicken, ich werde dann mal einen blick reinwerfen, eine garantie ob es klappt, kann ich jedoch nicht übernehmen



[Editiert am 24/12/2002 von jogi24]