Soziale Netzwerke

twitter_logo youtube_logo google_plus

Thread ansehen

 
Zuletzt gespielte Lieder / Radiostatus Infoseite
DrHouse
Geschrieben am 23.04.2014 18:55:37
User Avatar

Posts: 49
Registriert seit: 03.08.11

Hallo,

habe jetzt schon das Forum durchsucht, aber keine Lösung gefunden, oder seh den Wald vor lauter Bäumen nichtmehr.

Ich habe das Problem, das auf der Radiostatus Infoseite die "Zuletzt gespielte Lieder"
nicht automatich aktuallisieren.

Alle anderen Funktionen funktionieren korrekt.

Gruß
Thomas
 
Ragdoll
Geschrieben am 23.04.2014 19:00:28
User Avatar

Posts: 1995
Registriert seit: 02.07.10

Link zur Website bitte...


ggf. falls Zuletzt gespielte lieder panel nicht aktiv. Dann bitte RS-Info seite auf gast stellen. So das man in der RadioStatus-Info seite als gast nur die zuletzt gespielten lieder sieht. Smile
www.granade.eu/images/linkus/gross4.png
 
DrHouse
Geschrieben am 23.04.2014 19:19:57
User Avatar

Posts: 49
Registriert seit: 03.08.11

mh, Radiostatus Info & gespielte Lieder Panel fur Gast aktiviert,
mu zeigt " Zur zeit nicht möglich"

Nur für Mitglieder sichtbar!

..zu letzt gespielte Lieder wird nun Gästen angezeigt
Editiert von DrHouse am 23.04.2014 19:23:36
 
Ragdoll
Geschrieben am 23.04.2014 19:40:38
User Avatar

Posts: 1995
Registriert seit: 02.07.10

So also deine rechtsklicksperre bringt dir 0^^

Und wenn du dir deinen Quelltext mal anschaust, wirst du bemerken, dass deine meta's nicht im Head sind, genausowenig sinds die .js dateien oder .css diese muessen immer in den Header.
www.granade.eu/images/linkus/gross4.png
 
DrHouse
Geschrieben am 23.04.2014 19:44:28
User Avatar

Posts: 49
Registriert seit: 03.08.11

na danke^^
nu steh ich komplett aufm schlauch
 
Ragdoll
Geschrieben am 24.04.2014 08:58:45
User Avatar

Posts: 1995
Registriert seit: 02.07.10

Nich verzagen, Granade's support fragen. x)))

Also...Wenn du deine Rechtsklicksperre mal rausgenommen hast, schau ich's mir nochmal an... achja das anhängen deiner theme.php und das der header.php wäre sehr nett. Smile
www.granade.eu/images/linkus/gross4.png
 
DrHouse
Geschrieben am 24.04.2014 13:05:04
User Avatar

Posts: 49
Registriert seit: 03.08.11

Rechtsklicksperre ist raus...

header.php
Code
<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2011 Nick Jones
| Nur für Mitglieder sichtbar!
+--------------------------------------------------------+
| Filename: header.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at Nur für Mitglieder sichtbar! Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }

require_once INCLUDES."output_handling_include.php";
require_once INCLUDES."header_includes.php";
require_once THEME."theme.php";
require_once THEMES."templates/render_functions.php";

if ($settings['maintenance'] == "1" && ((iMEMBER && $settings['maintenance_level'] == "1"
   && $userdata['user_id'] != "1") || ($settings['maintenance_level'] > $userdata['user_level'])
)) {
   redirect(BASEDIR."maintenance.php");
 }
if (iMEMBER) {
   $result = dbquery(
      "UPDATE ".DB_USERS." SET user_lastvisit='".time()."', user_ip='".USER_IP."', user_ip_type='".USER_IP_TYPE."'
      WHERE user_id='".$userdata['user_id']."'"
   );
}

echo "<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>\n";
echo "<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='".$locale['xml_lang']."' lang='".$locale['xml_lang']."'>\n";
echo "<head>\n<title>".$settings['sitename']."</title>\n";
echo "<meta http-equiv='Content-Type' content='text/html; charset=".$locale['charset']."' />\n";
//echo "<meta name='description' content='".$settings['description']."' />\n";
//echo "<meta name='keywords' content='".$settings['keywords']."' />\n";
if (iADMIN){
}else{
 }

// Copy followig content to your "root/maintenance.php":

echo "<meta name='author' content='World of Music Radio'>\n";
echo "<meta name='publisher' content='World of Music Radio'>\n";
echo "<meta name='copyright' content='World of Music Radio'>\n";
echo "<meta name='description' content='World of Music Radio! Das WoM Radio!'>\n";
echo "<meta name='keywords' content='WoMRadio, Wom Radio, world, of, Music, Radio, World of Music Radio, worldofmusicradio, WoM, WoMR, Rock, Pop, 80s, 90s, 00s, Discofox, Disco'>\n";
echo "<meta name='page-topic' content='World of Music Radio'>\n";
echo "<meta name='page-type' content='Webradio'>\n";
echo "<meta name='robots' content='index, follow'>\n";
echo "<link rel='stylesheet' href='".THEME."styles.css' type='text/css' media='screen' />\n";
if (file_exists(IMAGES."favicon.ico")) { echo "<link rel='shortcut icon' href='".IMAGES."favicon.ico' type='image/x-icon' />\n"; }
if (function_exists("get_head_tags")) { echo get_head_tags(); }
echo "<script type='text/javascript' src='".INCLUDES."jquery/jquery.js'></script>\n";
echo "<script type='text/javascript' src='".INCLUDES."jscript.js'></script>\n";
echo "</head>\n<body>\n";

require_once THEMES."templates/panels.php";
ob_start();
?>




und theme.php
Code
<?php
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2011 Nick Jones
| Nur für Mitglieder sichtbar!
+--------------------------------------------------------+
| Filename: maincore.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| PHP-Fusion v7 Theme: Christmas Blue
| author: W.Herrmann © 2011
| email: Nur für Mitglieder sichtbar!
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at Nur für Mitglieder sichtbar! Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }
define("THEME_WIDTH", "1100");
define("THEME_BULLET", "<span class=''><img src='".THEME."images/bullet.png' alt='' /></span>");
require_once INCLUDES."theme_functions_include.php";
function render_page($license=false) {
global $settings, $main_style, $locale;





$banner = "<div style='height:150px; position:relative;'>


<center><img src='/themes/House_Blue/images/logo.png'></center>\n";


        //Header
        echo "<table class='' cellpadding='0' cellspacing='0' width='".THEME_WIDTH."' align='center' >\n<tr>\n";
        echo "<td>\n";
        echo "<table align='center' cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
        echo "<td class='sub-header-left'></td>\n";
        echo "<td class='sub-header'>".showsublinks(" ".THEME_BULLET." ", "white")."</td>\n";
        //echo "<td align='right' class='sub-header'>".showsubdate()."</td>\n";
        echo "<td class='sub-header-right'></td>\n";
   echo "</tr>\n</table>\n";
   echo "<table  cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
        echo "<td class='banner'>".$banner."</td>\n";
    echo "</tr>\n</table>\n";

        //Content
        echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
        if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
        echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
        if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
        echo "</tr>\n</table>\n";

        //Footer
        echo "<table class='main-footer' cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
        echo "<td class='main-footer' align='left' valign='top' width='25%'>Theme mod WoMR Blue by <a href='http://www.wom-radio.de/profile.php?lookup=1' target='_blank'>DrHouse</a> &copy;2013<br>Original Christmas Blue by DJ Wolle &copy;2011</td>\n";
        echo "<td class='main-footer' align='center' valign='top' width='25%'>".showrendertime()."</td>\n";
   echo "<td class='main-footer' align='right' valign='top' width='25%'>".showcounter()."</td>\n";
   echo "</tr>\n";
        echo "<td class='main-footer' align='left' width='25%'><br /><a href='http://www.gegen-missbrauch.de' target='_blank'><img src='/images/news/wett14.jpg'width='100' height='66' alt='' /></td>\n";
   echo "<td class='main-footer' align='center' valign='top' width='50%'><br /><b>".stripslashes($settings['footer'])."</b><br />".showcopyright()."<br /></td>\n";
          echo "<td class='main-footer' align='right' width='25%'><br /><a href='http://www.musikbranchenbuch.de' target='_blank'><img src='/images/news/logo.gif'width='100' height='66' alt='' /></td>\n";
   echo "</tr>\n</table>\n";
        }

function render_news($subject, $news, $info) {

        echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
        echo "<td class='capmain-left'></td>\n";
        echo "<td class='capmain'>".$subject."</td>\n";
        echo "<td class='capmain-right'></td>\n";
        echo "</tr>\n</table>\n";
        echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n";
        echo "<td class='main-body middle-border'>".$news."</td>\n";
        echo "</tr>\n<tr>\n";
        echo "<td align='center' class='news-footer middle-border'>\n";
        echo newsposter($info," &middot;").newsopts($info,"&middot;").itemoptions("N",$info['news_id']);
        echo "</td>\n";
        echo "</tr>\n</table>\n";
        echo "<table cellspacing='0' cellpadding='0' width='100%'><tr><td align='left'><img src='".THEME."images/sideb-left.png' class='spacer' alt='' /></td>
        <td align='center' class='sideb' width='100%'></td>
        <td align='right'><img src='".THEME."images/sideb-right.png' class='spacer' alt='' /></td>
        </tr></table>\n";
        }

function render_article($subject, $article, $info) {

        echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n";
        echo "<td class='capmain-left'></td>\n";
        echo "<td class='capmain'>".$subject."</td>\n";
        echo "<td class='capmain-right'></td>\n";
        echo "</tr>\n</table>\n";
        echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n";
        echo "<td class='main-body middle-border'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n";
        echo "</tr>\n<tr>\n";
        echo "<td align='center' class='news-footer'>\n";
        echo articleposter($info," &middot;").articleopts($info,"&middot;").itemoptions("A",$info['article_id']);
        echo "</td>\n</tr>\n</table>\n";
        echo "<table cellspacing='0' cellpadding='0' width='100%'><tr><td align='left'><img src='".THEME."/images/sideb-left.png' class='spacer' alt='' /></td>
        <td align='center' class='sideb' width='100%'></td>
        <td align='right'><img src='".THEME."images/sideb-right.png' class='spacer' alt='' /></td>
        </tr></table>\n";
        }

function opentable($title) {

        echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
        echo "<td class='capmain-left'></td>\n";
        echo "<td class='capmain'>".$title."</td>\n";
        echo "<td class='capmain-right'></td>\n";
        echo "</tr>\n</table>\n";
        echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
        echo "<td class='main-body'>\n";

}

function closetable() {

        echo "</td>\n";
        echo "</tr>\n</table>\n";
        echo "<table cellspacing='0' cellpadding='0' width='100%'><tr><td align='left'><img src='".THEME."images/sideb-left.png' class='spacer' alt='' /></td>
        <td align='center' class='sideb' width='100%'></td>
        <td align='right'><img src='".THEME."images/sideb-right.png' class='spacer' alt='' /></td>
        </tr></table>\n";
        }

function openside($title, $collapse = false, $state = "on") {

        global $panel_collapse; $panel_collapse = $collapse;
        echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
        echo "<td class='scapmain-left'></td>\n";
        echo "<td align='center' class='scapmain'>$title</td>\n";
        if ($collapse == true) {
        $boxname = str_replace(" ", "", $title);
        echo "<td class='scapmain' align='right'>".panelbutton($state, $boxname)."</td>\n";
        }
        echo "<td class='scapmain-right'></td>\n";
        echo "</tr>\n</table>\n";
        echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
        echo "<td class='side-body'>\n";
        if ($collapse == true) { echo panelstate($state, $boxname); }
        }


function closeside() {

        global $panel_collapse;
        if ($panel_collapse == true) { echo "</div>\n"; }
        echo "</td>\n</tr>\n</table>\n";
        echo "<table cellspacing='0' cellpadding='0'><tr><td align='left'><img src='".THEME."images/sideb-left.png' class='spacer' alt='' /></td>
        <td align='center' class='sideb' width='100%'></td>
        <td align='right'><img src='".THEME."images/sideb-right.png' class='spacer' alt='' /></td>
        </tr></table>\n";
        }


?>


 
Ragdoll
Geschrieben am 24.04.2014 14:27:38
User Avatar

Posts: 1995
Registriert seit: 02.07.10

Ganz komisch das ganze. Laut dateien stimmt alles, aber der webserver haut es verkehrt ins Nur für Mitglieder sichtbar!

www.granade.eu/images/linkus/gross4.png
 
DrHouse
Geschrieben am 24.04.2014 14:41:59
User Avatar

Posts: 49
Registriert seit: 03.08.11

naja, hat auch was^^
 
Ragdoll
Geschrieben am 24.04.2014 20:57:09
User Avatar

Posts: 1995
Registriert seit: 02.07.10

Aber eben weil's verkehr ins www gehauen wird, gehts eben nicht. :/
www.granade.eu/images/linkus/gross4.png
 
DrHouse
Geschrieben am 24.04.2014 22:23:51
User Avatar

Posts: 49
Registriert seit: 03.08.11

na warum auch immer, habe das Problem mit den nicht aktuallisierenden zuletzt gespielten Liedern erstmal anders gelöst.
aus der info.php die betreffenden Zeilen rausgeholt, wenn auch nicht sauber, aber wird so jedenfalls nichtmehr angezeigt. Dann das lastsong Panel auf der Radiostatus Infoseite anzeigen lassen, weils da mit der Aktuallisieung funktioniert.