. .
pragmaMx Support Forum 26 Mai 2012, 02:12:37 *
Willkommen Gast. Bitte einloggen oder registrieren.


Einloggen mit Benutzername und Passwort
News:
Brauchen Sie Hilfe? Bitte nutzen Sie unsere Suchfunktion bevor Sie Beiträge oder Fragen ins Board schreiben! Viele Fragen wurden bereits gestellt und beantwortet. Danke!
 
Übersicht Hilfe Forenregeln / Boardrules
 
Suche
Seiten: [1] 2 3   Nach unten
Drucken
Autor Thema: Kommentare direkt unter den News?  (Gelesen 4870 mal)
0 Mitglieder und 2 Gäste betrachten dieses Thema.
michael
öfter hier
**
Offline Offline

Beiträge: 25


« am: 29 März 2002, 11:39:11 »

Gibt es eine Möglichkeit den Kommentar zu einer News (...mehr oder Kommentar) _direkt_ unter die News zu setzen und nicht am Ende der rechten Module, so weit runter scrollt kaum jemand und schon sieht er gar nichts von den Kommentaren!?

thanx and sorry to franky (er weiß schon warum) ... michael

PS. das scrollen nervt total, ist aber wohl Ansichtssache. Im Theme sind ab und an einige Links nicht übersetzt (z.B. _guestbook).
Gespeichert
FrankySZ
Inventar
*******
Offline Offline

Geschlecht: Männlich
Beiträge: 1.462

FrankySZ


WWW
« Antworten #1 am: 29 März 2002, 15:16:51 »

Hi michael,

es gab fuer diesen Bereich, wenn ich mich recht entsinne, mal einen Tweak von Bob Marion fuer die aelteren nukeversionen, der schaltete die rechten ExtraBlocke in dem Newsbereich aus, wenn du die dort nicht brauchst, koennte man eventuell mal bei Bob anfragen ob er den Tweak auch noch fuer 5.5 umschreibt, wenn es nicht schon geschehen ist.

In welchem theme sind die links nicht uebersetzt?
Gespeichert

greets Franky
michael
öfter hier
**
Offline Offline

Beiträge: 25


« Antworten #2 am: 29 März 2002, 17:02:01 »

das ist es nicht, denn ich will ja z.B. die Bewertung behalten, also die rechten Blöcke sollen stehen bleiben und die Tabelle mit den Komentaren soll direkt unterhalb der News stehen.
Muß ich wohl selbst mal schauen, dachte jemand hat mir die Arbeit schon abgenommen :-)

Die fehlenden Übersetzungen sind in der englischen Language, da fehlt das Gästebuch, die Topics und noch einiges andere!´

schöne Eiertage ... michael
Gespeichert
dirt_bomber
weiss was
***
Offline Offline

Geschlecht: Männlich
Beiträge: 162


« Antworten #3 am: 29 März 2002, 19:54:54 »

Hey michael,
wenn du die Lösung gefunden hast, poste sie bitte hier. Das hat mich nämlich auch schon immer gestört. Ich nutze Nuke 5 VkP, hab allerdings von php und mysql jetzt nicht die Ahnung und kann dir somit leider nicht viel helfen.
Gespeichert
FrankySZ
Inventar
*******
Offline Offline

Geschlecht: Männlich
Beiträge: 1.462

FrankySZ


WWW
« Antworten #4 am: 29 März 2002, 20:01:10 »

Hi michael,
nope das hat noch keiner gebastelt...
wenn du es fertig hast, waere es nett wenn du den download bei uns in den downloads melden wuerdest Smiley falls du Probs beim Modifizieren hast, einfach hier schreiben.....
und die languagefiles sehen wir bei Gelegenheit alle mal durch, thx fuer die Info.
Gespeichert

greets Franky
michael
öfter hier
**
Offline Offline

Beiträge: 25


« Antworten #5 am: 29 März 2002, 20:58:09 »

hi Franky,
ist zu 80% fertig, aber irgendwo klemmt es nun bei mir - Gehirnblockade :-(
Wenn ich nachher nicht mehr schaffe schicke ich Dir mal die drei phps zu:
news.php, comments.php und theme.php müssen angepaßt werden.
Ich habe nun die Kommentare schon auf Höhe des Voteblocks aber die wollen einfach nicht die paar mm höher und gleich an die News andocken :-(
Irgendwo habe ich da noch einen dicken Bug drin und unter Netscape bricht alles zusammen.

ich bastle weiter ... michael[Bearbeitet am: 29/3/2002 von michael]
Gespeichert
FrankySZ
Inventar
*******
Offline Offline

Geschlecht: Männlich
Beiträge: 1.462

FrankySZ


WWW
« Antworten #6 am: 29 März 2002, 21:16:24 »

Hi michael,
sobald ich die dateien hier habe und etwas zeit finde schaue ich mal durch....
und zu netscape, das waren noch schoene zeiten als ihn AOL nicht aufgekauft hatte Wink
Gespeichert

greets Franky
lagerfeld
öfter hier
**
Offline Offline

Beiträge: 74


« Antworten #7 am: 12 April 2002, 16:32:09 »

Auch ich melde schon mal mein Interesse an ! Wenn ich nämlich eine sehr kurze News habe, dann steht der Kommentar doch ziemlich weit unten, bedingt durch die Blocks auf der rechten Seite und die kann ich ja nicht einfach weglassen, denn ansonsten entfallen die Hinweise auf verglöeichbare News und die Bewertung!
Gruss
Lagerfeld Wink
Gespeichert
Deepsky
weiss mehr
****
Offline Offline

Beiträge: 430


« Antworten #8 am: 12 April 2002, 16:41:45 »

Wenn Ihr das hinbekommt... dann kanst du (Dark) mir deine Kontoverbindung schicken... ich mache dann eine Spende!!!!
Das ist echt eine unschöne Darstellung, wenn die weg währe  cheesy cheesy cheesy die Freude wäre groß cheesy cheesy cheesy

Gruß Deepsky
Gespeichert
Kicks
weiss was
***
Offline Offline

Beiträge: 132


« Antworten #9 am: 12 April 2002, 16:42:28 »

hihi ihr seit so klasse .. echt ...

mich stört es nämlich auch immer zu scrollen.

wenns jemand hat, ich wäre sehr interessiert daran. vielleicht kann mir ja jemand die notwendigen Dateien schicken. kjs22@yahoo.de



Gruß Kicks
Gespeichert
Deepsky
weiss mehr
****
Offline Offline

Beiträge: 430


« Antworten #10 am: 12 April 2002, 16:44:35 »

Zitat
hihi ihr seit so klasse .. echt ...

mich stört es nämlich auch immer zu scrollen.

wenns jemand hat, ich wäre sehr interessiert daran. vielleicht kann mir ja jemand die notwendigen Dateien schicken. kjs22@yahoo.de



Gruß Kicks

und wenn jeder mal eine kleinen Euro spendet... das tut doch keinem weh oder???
Mir ist es 5 Euro wert  Wink
Gespeichert
Deepsky
weiss mehr
****
Offline Offline

Beiträge: 430


« Antworten #11 am: 14 April 2002, 14:22:23 »

*****HOCHSCHIEB******

musste diesen Tread nochmal nach vorn bringen, sind ja viele Anfragen  gekommen.

Gruß Deepsky
Gespeichert
PaRADoX
öfter hier
**
Offline Offline

Beiträge: 56


« Antworten #12 am: 14 April 2002, 14:54:59 »

Hier ich auch haben will Smiley
Gespeichert
DarkBoy
Inventar
*******
Offline Offline

Beiträge: 4.788


« Antworten #13 am: 15 April 2002, 04:16:29 »

Hi
 dann nun mal  für alle als LÖSUNG Smiley))  zu sehen auf diesen Seiten:)
Der Download wird noch kommen , aber für ganze eilige hier der Code für die
ARTICLE.PHP im Ordner : modules/News/article.php

Bitte die komplette Datei mit dem Code der folgt ersetzen und die Kommentare sind unter den News Smiley Und nun könnt ihr HIER mehr schreiben als  imemr nur  2 kommentare, da das scrollen wechfällt , also fleissig sein Smiley Smiley
 Wink cheesy
Zitat
<?php

/************************************************************************/
/* PHP-NUKE: Web Portal 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("modules.php", $PHP_SELF)) {
    die ("You can't access this file directly...");
}
require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
get_lang($module_name);

if (stristr($REQUEST_URI,"mainfile")) {
    Header("Location: modules.php?name=News&file=article&sid=$sid");
} elseif (!isset($sid) && !isset($tid)) {
    Header("Location: index.php");
}

if ($save AND is_user($user)) {
    cookiedecode($user);
    sql_query("update ".$user_prefix."_users set umode='$mode', uorder='$order', thold='$thold' where uid='$cookie[0]'", $dbi);
    getusrinfo($user);
    $info = base64_encode("$userinfo[uid]:$userinfo[uname]:$userinfo[pass]:$userinfo[storynum]:$userinfo[umode]:$userinfo[uorder]:$userinfo[thold]:$userinfo[noscore]");
    setcookie("user","$info",time()+$cookieusrtime);
}

if ($op == "Reply") {
    Header("Location: modules.php?name=News&file=comments&op=Reply&pid=0&sid=$sid&mode=$mode&order=$order&thold=$thold");
}

$result = sql_query("select catid, aid, time, title, hometext, bodytext, topic, informant, notes, acomm, haspoll, pollID, score, ratings FROM ".$prefix."_stories where sid=$sid", $dbi);
list($catid, $aid, $time, $title, $hometext, $bodytext, $topic, $informant, $notes, $acomm, $haspoll, $pollID, $score, $ratings) = sql_fetch_row($result, $dbi);

if ($aid == "") {
    Header("Location: modules.php?name=News");
}

sql_query("UPDATE ".$prefix."_stories SET counter=counter+1 where sid=$sid", $dbi);

$artpage = 1;
$pagetitle = "- $title";
require("header.php");
$artpage = 0;

formatTimestamp($time);
$title = stripslashes($title);
$hometext = stripslashes($hometext);
$bodytext = stripslashes($bodytext);
$notes = stripslashes($notes);

if ($notes != "") {
    $notes = "<b>"._NOTE."</b> <i>$notes</i>";
} else {
    $notes = "";
}

if($bodytext == "") {
    $bodytext = "$hometext$notes";
} else {
    $bodytext = "$hometext$bodytext$notes";
}

if($informant == "") {
    $informant = $anonymous;
}

getTopics($sid);

if ($catid != 0) {
    $resultx = sql_query("select title from ".$prefix."_stories_cat where catid='$catid'", $dbi);
    list($title1) = sql_fetch_row($resultx, $dbi);
    $title = "<a href=\"modules.php?name=News&file=categories&op=newindex&catid=$catid\"><font class=\"storycat\">$title1</font></a>: $title";
}

echo "<table width=\"100%\" border=\"0\"><tr><td valign=\"top\" width=\"100%\">\n";
themearticle($aid, $informant, $datetime, $title, $bodytext, $topic, $topicname, $topicimage, $topictext);
cookiedecode($user);
if ((($mode != "nocomments") OR ($acomm == 0)) AND ($articlecomm == 1)) {
    include("modules/News/comments.php");
}
echo "</td><td> </td><td valign=\"top\">\n";

if ($multilingual == 1) {
    $querylang = "AND (blanguage='$currentlang' OR blanguage='')";
} else {
    $querylang = "";
}

/* Determine if the article has attached a poll */
if ($haspoll == 1) {
    $url = sprintf("modules.php?name=Surveys&op=results&pollID=%d", $pollID);
    $boxContent = "<form action=\"modules.php?name=Surveys\" method=\"post\">";
    $boxContent .= "<input type=\"hidden\" name=\"pollID\" value=\"".$pollID."\">";
    $boxContent .= "<input type=\"hidden\" name=\"forwarder\" value=\"".$url."\">";
    $result = sql_query("SELECT pollTitle, voters FROM ".$prefix."_poll_desc WHERE pollID=$pollID", $dbi);
    list($pollTitle, $voters) = sql_fetch_row($result, $dbi);
    $boxTitle = _ARTICLEPOLL;
    $boxContent .= "<font class=\"content\"><b>$pollTitle</b></font>\n";
    $boxContent .= "<table border=\"0\" width=\"100%\">";
    for($i = 1; $i <= 12; $i++) {
   $result = sql_query("SELECT pollID, optionText, optionCount, voteID FROM ".$prefix."_poll_data WHERE (pollID=$pollID) AND (voteID=$i)", $dbi);
   $object = sql_fetch_object($result, $dbi);
   if(is_object($object)) {
       $optionText = $object->optionText;
       if($optionText != "") {
      $boxContent .= "<tr><td valign=\"top\"><input type=\"radio\" name=\"voteID\" value=\"".$i."\"></td><td width=\"100%\"><font class=\"content\">$optionText</font></td></tr>\n";
       }
   }
    }
    $boxContent .= "</table><center><font class=\"content\"><input type=\"submit\" value=\""._VOTE."\"></font>";
    if (is_user($user)) {
        cookiedecode($user);
    }
    for($i = 0; $i < 12; $i++) {
   $result = sql_query("SELECT optionCount FROM ".$prefix."_poll_data WHERE (pollID=$pollID) AND (voteID=$i)", $dbi);
   $object = sql_fetch_object($result, $dbi);
   $optionCount = $object->optionCount;
   $sum = (int)$sum+$optionCount;
    }
    $boxContent .= "<font class=\"content\">[ <a href=\"modules.php?name=Surveys&op=results&pollID=$pollID&mode=$cookie[4]&order=$cookie[5]&thold=$cookie[6]\"><b>"._RESULTS."</b></a> | <a href=\"modules.php?name=Surveys\"><b>"._POLLS."</b></a> ]";

    if ($pollcomm) {
   list($numcom) = sql_fetch_row(sql_query("select count(*) from ".$prefix."_pollcomments where pollID=$pollID", $dbi), $dbi);
   $boxContent .= ""._VOTES.": <b>$sum</b> | "._PCOMMENTS." <b>$numcom</b>\n\n";
    } else {
        $boxContent .= ""._VOTES." <b>$sum</b>\n\n";
    }
    $boxContent .= "</font></center></form>\n\n";
    themesidebox($boxTitle, $boxContent);
}

$result = sql_query("select title, content, active, position from ".$prefix."_blocks where blockfile='block-Login.php' $querylang", $dbi);
list($title, $content, $active, $position) = sql_fetch_row($result, $dbi);
if (($active == 1) AND ($position == "r") AND (!is_user($user))) {
    loginbox();
}

$boxtitle = ""._RELATED."";
$boxstuff = "<font class=\"content\">";

/* This is a list for automatic related links on article internal page */
/* For this I used a multi-dimensional array so we can show the links titles */
/* as we want, doesn't matter the case of the string in the article. You can */
/* add or remove links from this array as you wish to fit your needs */

$relatedarray = array ("gpl"       => array ("GPL"          => "http://www.gnu.org"),
                       "linux"       => array ("Linux.com"          => "http://www.linux.com"),
             "blender"   => array ("Blender"          => "http://www.blender.nl"),
             "gnu"      => array ("GNU Project"         => "http://www.gnu.org"),
             "gimp"      => array ("The GIMP"         => "http://www.gimp.org"),
             "cnn"      => array ("CNN.com"         => "http://www.cnn.com"),
             "news.com"   => array ("News.com"         => "http://www.news.com"),
             "ibm"      => array ("IBM"            => "http://www.ibm.com"),
             "php"      => array ("PHP HomePage"      => "http://www.php.net"),
             "mandrake"   => array ("MandrakeSoft"      => "http://www.mandrakesoft.com"),
             "redhat"      => array ("Red Hat"         => "http://www.redhat.com"),
             "red hat"   => array ("Red Hat"         => "http://www.redhat.com"),
             "Debian"      => array ("Debian GNU/Linux"      => "http://www.debian.org"),
             "Slackware"   => array ("Slackware"         => "http://www.slackware.com"),
             "freebsd"   => array ("FreeBSD"         => "http://www.freebsd.org"),
             "artist"      => array ("Linux Artist"      => "http://www.linuxartist.com"),
             "games"      => array ("Linux Games"         => "http://www.linuxgames.com"),
             "sourceforge"   => array ("SourceForge"         => "http://www.sourceforge.net"),
             "source forge"   => array ("SourceForge"         => "http://www.sourceforge.net"),
             "palm pilot"   => array ("Palm Pilot"         => "http://www.palm.com"),
             "windows"   => array ("Microsoft"         => "http://www.microsoft.com"),
             "microsoft"   => array ("Microsoft"         => "http://www.microsoft.com"),
             "kernel"      => array ("Linux Kernel Archives"   => "http://www.kernel.org"),
             "opensource"   => array ("OpenSource"         => "http://www.opensource.org"),
             "open source"   => array ("OpenSource"         => "http://www.opensource.org"),
             "nuke"      => array ("PHP-Nuke"         => "http://www.phpnuke.org"),
             "compaq"      => array ("Compaq"         => "http://www.compaq.com"),
             "intel"      => array ("Intel"         => "http://www.intel.com"),
             "mysql"      => array ("MySQL Database Server"   => "http://www.mysql.com"),
             "themes"      => array ("Themes.org"         => "http://www.themes.org"),
             "suse"      => array ("SuSE"         => "http://www.suse.com"),
             "script"      => array ("HotScripts"         => "http://www.hotscripts.com"),
             "transmeta"   => array ("Transmeta"         => "http://www.transmeta.com"),
             "apple"      => array ("Apple"         => "http://www.apple.com"),
             "apache"      => array ("Apache Web Server"      => "http://www.apache.org"),
             "nasa"      => array ("NASA"         => "http://www.nasa.gov"),
             "documentation"   => array ("Linux Manuals"      => "http://www.linuxdoc.org"),
             "manual"      => array ("Linux Manuals"      => "http://www.linuxdoc.org"),
             "howto"      => array ("Linux Manuals"      => "http://www.linuxdoc.org"),
             "rtfm"      => array ("Linux Manuals"      => "http://www.linuxdoc.org"),
             "dell"      => array ("Dell"         => "http://www.dell.com"),
             "google"      => array ("Google Search Engine"   => "http://www.google.com"),
             "translat"   => array ("Babelfish Translator"   => "http://babelfish.altavista.com"),
             "w3"      => array ("W3 Consortium"      => "http://www.w3.org"),
             "css"      => array ("CSS Standard"      => "http://www.w3.org/Style/CSS"),
             " html"      => array ("HTML Standard"      => "http://www.w3.org/MarkUp"),
             "xhmtl"      => array ("XHTML Standard"      => "http://www.w3.org/MarkUp"),
             "rpm"      => array ("RPM"            => "http://www.rpm.org"),
             "3com"      => array ("3Com"         => "http://www.3com.com"),
             "sun microsyste" => array ("Sun Microsystems"      => "http://www.sun.com"),
             "staroffice"    => array ("Star Office"         => "http://www.sun.com"),
             "star office"    => array ("Star Office"         => "http://www.sun.com"),
             "openoffice"    => array ("Open Office"         => "http://www.openoffice.org"),
             "open office"    => array ("Open Office"         => "http://www.openoffice.org"),
             "oracle"      => array ("Oracle"         => "http://www.oracle.com"),
             "informix"   => array ("Informix"         => "http://www.informix.com"),
             "postgre"   => array ("PostgreSQL"         => "http://www.postgresql.org"),
             "mp3"      => array ("MP3.com"         => "http://www.mp3.com"),
             "gnome"      => array ("GNOME"         => "http://www.gnome.org"),
             "kde"      => array ("KDE"            => "http://www.kde.org"),
             "mozilla"   => array ("Mozilla"         => "http://www.mozilla.org"),
             "netscape"   => array ("Netscape"         => "http://www.netscape.com"),
             "corel"      => array ("Corel"         => "http://www.corel.com"),
             " hp"      => array ("Hewlett Packard"      => "http://www.hp.com"),
             "hewlett packar" => array ("Hewlett Packard"      => "http://www.hp.com"),
             "caldera"   => array ("Caldera Systems"      => "http://www.caldera.com"),
             "freshmeat"   => array ("Freshmeat"         => "http://www.freshmeat.net"),
             "slashdot"   => array ("Slashdot"         => "http://www.slashdot.org"),
             "spam"      => array ("Spam Cop"         => "http://www.spamcop.net"),
             "aol"      => array ("America Online"      => "http://www.aol.com"),
             "america online"   => array ("America Online"      => "http://www.aol.com"),
             "pov-ray"   => array ("POV Ray"         => "http://www.povray.org"),
             "povray"      => array ("POV Ray"         => "http://www.povray.org"),
             "pov ray"   => array ("POV Ray"         => "http://www.povray.org"),
             "seti"      => array ("SETI Institute"      => "http://www.seti.org"),
             "cnet"      => array ("C|Net News"         => "http://www.cnet.com"),
             "zdnet"      => array ("ZDNet News"         => "http://www.zdnet.com"),
             "napster"   => array ("Napster"         => "http://www.napster.com"),
             "sony"      => array ("Sony HomePage"      => "http://www.sony.com"),
             "xfree"      => array ("X-Free86 Project"      => "http://www.xfree.org"),
             "x-free"      => array ("X-Free86 Project"      => "http://www.xfree.org"),
             "x free"      => array ("X-Free86 Project"      => "http://www.xfree.org"),
             "beos"      => array ("BeOS"         => "http://www.beos.com"),
             "borland"   => array ("Borland"         => "http://www.borland.com"),
             "kylix"      => array ("Kylix HomePage"      => "http://www.borland.com/kylix"),
             "amazon"      => array ("Amazon.com"         => "http://www.amazon.com")
             );

while (list ($key) = each ($relatedarray)) {
    $relarr = eregi($key, $bodytext);
    if ($relarr) {
        list($rep, $val) = each ($relatedarray[$key]);
        $boxstuff .= "<strong><big>ˇ</big></strong> <a href=\"$val\" target=\"new\">$rep</a>\n";
    }
}

/* Multi-dimensional array end here */

$result = sql_query("select name, url from ".$prefix."_related where tid=$topic", $dbi);
while(list($name, $url) = sql_fetch_row($result, $dbi)) {
    $boxstuff .= "<strong><big>ˇ</big></strong> <a href=\"$url\" target=\"new\">$name</a>\n";
}

$boxstuff .= "<strong><big>ˇ</big></strong> <a href=\"modules.php?name=Search&topic=$topic\">"._MOREABOUT." $topictext</a>\n";
$boxstuff .= "<strong><big>ˇ</big></strong> <a href=\"modules.php?name=Search&author=$aid\">"._NEWSBY." $aid</a>\n";

$boxstuff .= "</font><hr noshade width=\"95%\" size=\"1\"><center><font class=\"content\"><b>"._MOSTREAD." $topictext:</b>\n";

global $multilingual, $currentlang;
    if ($multilingual == 1) {
   $querylang = "AND (alanguage='$currentlang' OR alanguage='')"; /* the OR is needed to display stories who are posted to ALL languages */
    } else {
   $querylang = "";
    }
$result2 = sql_query("select sid, title from ".$prefix."_stories where topic=$topic $querylang order by counter desc limit 0,1", $dbi);
list($topstory, $ttitle) = sql_fetch_row($result2, $dbi);

$boxstuff .= "<a href=\"modules.php?name=News&file=article&sid=$topstory\">$ttitle</a></font></center>\n";
themesidebox($boxtitle, $boxstuff);

if ($ratings != 0) {
    $rate = substr($score / $ratings, 0, 4);
    $r_image = round($rate);
    $the_image = "<img src=\"images/articles/stars-$r_image.gif\" border=\"1\"></center>";
} else {
    $rate = 0;
    $the_image = "</center>";
}
$ratetitle = ""._RATEARTICLE."";
$ratecontent = "<center>"._AVERAGESCORE.": <b>$rate</b>"._VOTES.": <b>$ratings</b>$the_image";
$ratecontent .= "<form action=\"modules.php?name=News\" method=\"post\"><center>"._RATETHISARTICLE."</center>";
$ratecontent .= "<input type=\"hidden\" name=\"sid\" value=\"$sid\">";
$ratecontent .= "<input type=\"hidden\" name=\"op\" value=\"rate_article\">";
$ratecontent .= "<input type=\"radio\" name=\"score\" value=\"1\"> <img src=\"images/articles/stars-1.gif\" border=\"0\" alt=\""._BAD."\">";
$ratecontent .= "<input type=\"radio\" name=\"score\" value=\"2\"> <img src=\"images/articles/stars-2.gif\" border=\"0\" alt=\""._REGULAR."\">";
$ratecontent .= "<input type=\"radio\" name=\"score\" value=\"3\"> <img src=\"images/articles/stars-3.gif\" border=\"0\" alt=\""._GOOD."\">";
$ratecontent .= "<input type=\"radio\" name=\"score\" value=\"4\"> <img src=\"images/articles/stars-4.gif\" border=\"0\" alt=\""._VERYGOOD."\">";
$ratecontent .= "<input type=\"radio\" name=\"score\" value=\"5\"> <img src=\"images/articles/stars-5.gif\" border=\"0\" alt=\""._EXCELLENT."\">";
$ratecontent .= "<center><input type=\"submit\" value=\""._CASTMYVOTE."\"></center></form>";
themesidebox($ratetitle, $ratecontent);

$optiontitle = ""._OPTIONS."";
$optionbox .= "<img src=\"images/print.gif\" border=\"0\" Alt=\""._PRINTER."\" width=\"16\" height=\"11\">  <a href=\"modules.php?name=News&file=print&sid=$sid\">"._PRINTER."</a>";
$optionbox .= "<img src=\"images/friend.gif\" border=\"0\" Alt=\""._FRIEND."\" width=\"16\" height=\"11\">  <a href=\"modules.php?name=News&file=friend&op=FriendSend&sid=$sid\">"._FRIEND."</a>\n";
if (is_admin($admin)) {
    $optionbox .= "<center><b>"._ADMIN."</b>[ <a href=\"admin.php?op=adminStory\">"._ADD."</a> | <a href=\"admin.php?op=EditStory&sid=$sid\">"._EDIT."</a> | <a href=\"admin.php?op=RemoveStory&sid=$sid\">"._DELETE."</a> ]</center>";
}
themesidebox($optiontitle, $optionbox);

echo "</td></tr></table>\n";

include ("footer.php");
?>



[Bearbeitet am: 15/4/2002 von Admin DarkBoy]
Gespeichert
Kicks
weiss was
***
Offline Offline

Beiträge: 132


« Antworten #14 am: 15 April 2002, 06:41:52 »

affengeil *gg* (sorry) *g*

nur die votebox ist total durcheinander ..
Gespeichert
michael
öfter hier
**
Offline Offline

Beiträge: 25


« Antworten #15 am: 15 April 2002, 08:24:34 »

Ersteinmal VIELEN DANK für diese Lösung!


Hier die korrigierte Votebox für Kicks:

$ratetitle = ""._RATEARTICLE."";
$ratecontent = "<center>"._AVERAGESCORE.": <b>$rate</b><br>"._VOTES.": <b>$ratings</b>$the_image";
$ratecontent .= "<form action=\"modules.php?name=News\" method=\"post\"><center>"._RATETHISARTICLE."</center>";
$ratecontent .= "<input type=\"hidden\" name=\"sid\" value=\"$sid\">";
$ratecontent .= "<input type=\"hidden\" name=\"op\" value=\"rate_article\">";
$ratecontent .= "<input type=\"radio\" name=\"score\" value=\"1\"> <img src=\"images/articles/stars-1.gif\" border=\"0\" alt=\""._BAD."\"><br>";
$ratecontent .= "<input type=\"radio\" name=\"score\" value=\"2\"> <img src=\"images/articles/stars-2.gif\" border=\"0\" alt=\""._REGULAR."\"><br>";
$ratecontent .= "<input type=\"radio\" name=\"score\" value=\"3\"> <img src=\"images/articles/stars-3.gif\" border=\"0\" alt=\""._GOOD."\"><br>";
$ratecontent .= "<input type=\"radio\" name=\"score\" value=\"4\"> <img src=\"images/articles/stars-4.gif\" border=\"0\" alt=\""._VERYGOOD."\"><br>";
$ratecontent .= "<input type=\"radio\" name=\"score\" value=\"5\"> <img src=\"images/articles/stars-5.gif\" border=\"0\" alt=\""._EXCELLENT."\"><br>";
$ratecontent .= "<center><input type=\"submit\" value=\""._CASTMYVOTE."\"></center></form>";
themesidebox($ratetitle, $ratecontent);


einfach den alten Text ersetzen, es fehlten nur ein paar Zeilenumbrüche ... michael
Gespeichert
DarkBoy
Inventar
*******
Offline Offline

Beiträge: 4.788


« Antworten #16 am: 15 April 2002, 15:25:54 »

Hi
 die sind  dann wohl im quote untergegangen Smiley ich schaue mal Smiley
Gespeichert
PaRADoX
öfter hier
**
Offline Offline

Beiträge: 56


« Antworten #17 am: 15 April 2002, 19:12:05 »

Auch von meiner Seite aus VIELEN DANK!!! Hab es ersetz und alles funktioniert Smiley   T H X   4   ya   work
Gespeichert
Deepsky
weiss mehr
****
Offline Offline

Beiträge: 430


« Antworten #18 am: 15 April 2002, 21:27:04 »

Tja, da möchte ich mich auch recht herzlich bedanken.. klappte auf Anhieb.

Gruß und großes THX... Deepsky
Gespeichert
michael
öfter hier
**
Offline Offline

Beiträge: 25


« Antworten #19 am: 16 April 2002, 00:49:39 »

Nöh, klappt noch nicht ganz Smiley
Denn genau wie bei der Votebox, so muß auch bei den verwandten Links und bei den Einstellungen (Drucker und Friend) noch jeweils ein Zeilenvorschub mit rein!
Sollte damit einer Probs haben, dann bitte "Laut geben" :-)

cu ... michael
Gespeichert
Seiten: [1] 2 3   Nach oben
Drucken
 
Gehe zu:  

Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
design by hENNE, layout based on YAML