ZitatWenn diese Datei beschreibbar wäre, könntest du sie auch ändern.
Deine style.css braucht Schreibrechte (777)!
Um schreiben oder kommentieren zu können, benötigen Sie ein Benutzerkonto.
Sie haben schon ein Benutzerkonto? Melden Sie sich hier an.
Jetzt anmeldenHier können Sie ein neues Benutzerkonto erstellen.
Neues Benutzerkonto erstellen ZitatWenn diese Datei beschreibbar wäre, könntest du sie auch ändern.
Deine style.css braucht Schreibrechte (777)!
Jip, genau dort liegen die Dateien.
Ist "update file" ein Programm?
Vielleicht hast du die style.css in ein falsche Verzeichniss verschoben.
Ansonsten einfach mal strg + f5 probieren.
Einen ganz simplen Counter findest du auch hier.
Nö, aber du brauchst ihn dir ja nicht anschauen. ![]()
Zitat von czwo.chWie kann ich diese Kategorien umbenenn (Bsp. Pages -> Seiten), bzw. neue hinzufügen (z.B. Gästebuch)?
Kategorien umbenennen: Verwalten - Kategorien - Bearbeiten (bzw. Neue Kategorie hinzufügen)
Seiten erstellen: Verwalten - Seiten - Neue Seite erstellen
Und das ganz, klar, im Admin-Ding! ![]()
Wenn bei dir noch alles in Englisch steht schau dir mal folgendes an.
http://www.alexking.org/software/wordp…me=Desert+Theme
Der Link ist sinnvoller... was die Lösung deines Problemes angeht kann ich dir leider nicht behilflich sein.
Das sollte eigentlich genügen - habe Deichnetz auch in einem Blog laufen...
Sehr schicke Desktops hast du! ![]()
Das ist ein Klickcounter von Ozh.
Zitat von OlafChristof: Du hast Leerzeichen im Datum:
Wie die da reinkommen ist mir nicht ganz klar, hast du an irgendwelchen Dateien rumgeschraubt?
Ähm, sicher habe ich an Dateien rumgeschraubt... aber an welchen speziell bewirkt man eine solche Änderung?
Ist das wichtig?
Ich habe ein ähnliches Problem.
Der Feed für die Kommentare funktionier einwandfrei:
http://www.spongeblog.de/comments/feed/
Jedoch der für die Beiträge nicht:
http://www.spongeblog.de/feed/
Ist aber sicher etwas ungünstig, wenn jeder den Avatar von diesem User benutzen kann, der ihn dir zugeschickt hatte...
Doch, du kannst statt den 2 Stunden, mehrere Stunden Zeitunterschied eingeben - so wie es dann mit der Zeit hier in Dtl. ausschaut.
Nimm mal meine leicht veränderte song.php
<?php
/**
*
* Currently Hearing Example PHP Implementation
*
* How to use this file on your site:
*
* First, include this file from another.
* include('dir/song.php');
*
* Then run the function
* $song_info = showSong('dir/song.txt', '-', 'Nothing', '3', '0', '1');
*
* Then simply echo the $song_info variable at any time.
*
**/
function showSong($filename, $separator, $default, $history='1', $next='0', $track='1') {
/**
* filename: The textfile containing the song info that was uploaded by CurrentlyHearing
* separator: The character you would like placed between Artist and Title (ie: 'Test - This', separator is -)
* default: What to output on error or when nothing is playing (ie: Nothing)
* history: Number of songs to display as previously heard (this number should be either 0, 3, 5 or 10 depending on your plugin setting)
* next: Show next track? 0 = No, 1 = Yes
* track: Show track number out of total? 0 = No, 1 = Yes
*
* Note: filename might need to contain directory information if this file is a different dir than the text file
*
**/
/**
* Open the file, read it, save its contents for use
*
**/
$file = $filename; // The file
$open = @fopen($file, 'r'); // Open the file (read-only)
$read = @fread($open, @filesize($file)); // Read the file
@fclose($open); // Close the file
/**
*
* Now begin the song extraction from the file contents
*
**/
$song_info = ($read == '') ? ($song_info = $default) : ($song_info = $read); // If the was an error reading file, pretend your listening to nothing
$additional = $song_info;
if ($song_info != $default) { // As long as there wasn't an error, begin formatting
$exp1 = explode('SONG:', $song_info); // Get rid of everything before the song info
$exp2 = explode(':SONG', $exp1[1]); // Get rid of everything after the song info
$song_info = $exp2[0]; // The song
if ($song_info != 'Nothing') { // If there's a song (ie: Winamp is not off)
$exp3 = explode(' - ', $song_info); // Get rid of the separator so we can use ours
$artist = $exp3[0]; // The artist
$title = $exp3[1]; // The title
$song_info = $artist . ' ' . $separator . ' ' . $title; // Put it together with our separator in between
if ($history != '0') {
if (($history == '3') || ($history == '5') || ($history == '10')) {
// History (if enabled)
// Customize this output if you wish
$prevstat = '
' . 'Die letzten ' . $history . ' Titel' . ':
';
for ($i=1; $i<=$history; $i++) {
$prevtrack = explode('P' . $i . ':', $additional);
$prevtrack = explode(':P' . $i, $prevtrack[1]);
$prevtrack = $prevtrack[0];
if ($i == '1') {
if ($prevtrack == '') {
$prevstat .= '... sieht so aus, als ob ich mein Winamp eben erst angeschmissen hätte oder ich schaue einfach nur einen Film.';
break;
} else {
$prevstat .= $prevtrack . '
';
}
} else {
if ($prevtrack != '') {
$prevstat .= $prevtrack . '
';
}
}
}
}
}
if ($next == '1') {
// Next Track (if shuffle isn't on only)
$nexttrack = explode('NS:', $additional);
$nexttrack = explode(':NS', $nexttrack[1]);
$nexttrack = $nexttrack[0];
if ($nexttrack == '') { $nexttrack = 'Nothing'; }
// Customize this output if you wish
$nextstat = '
' . 'Next: ' . $nexttrack;
}
if ($track == '1') {
// Track Number (out of) Total Playlist Count
$trackno = explode('S:', $additional);
$trackno = explode(':S', $trackno[1]);
$trackno = $trackno[0];
$totalno = explode('T:', $additional);
$totalno = explode(':T', $totalno[1]);
$totalno = $totalno[0];
// Customize this output if you wish
$trackstat = '
' . 'Track ' . $trackno . ' of ' . $totalno;
}
// Put together all the bling-bling
$song_info = $song_info . $trackstat . $nextstat . $prevstat;
} else {
$song_info = $default; // There was no song playing
}
}
/**
*
* Return the song info -- all done!
*
**/
return $song_info;
}
?>
Alles anzeigen
Wenn das nicht hilft bin auch ich überfragt...
Jo, nimm mal das "http://www.eyetag.de/weblog/" aus den beiden Pfaden raus, dann sollte es funktionieren.
Sprich:
Ich habe gelesen, dass es eventuell Probleme mit installierten Plugins geben könnte.
[*]
<h2>Winamp</h2>
<ul>
[*]<?php include("music/song.php"); ?><?php $song_info = showSong('music/song.txt', '-', 'Soll ja auch mal vorkommen, mein Winamp ist aus - aber nimmer lange! ', '3', '0', '0'); ?> <?php echo "$song_info"; ?>
[/list]
Das solltest du dir irgendwo dazwischenklatschen.
Du müsstest aber auch darauf achten, dass deine song.php und song.txt in folgendem Verzeichnis liegen: "deinedomain.de/music/".
Das Plugin für Winamp ansich hast du ordentlich installiert bekommen?