Hallo, Gast! (Registrieren)

Wir wünschen allen Besuchern frohe Ostern!

Letzte Ankündigung: MyBB 1.8.37 veröffentlicht (04.11.23)


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste
spezielle Footer ändern ?
#11
Dann poste doch mal den Inhalt aus den footer und index Template bitte.
Mit freundlichen Grüßen

MrBrechreiz
Zitieren
#12
(13.06.2013, 15:35)Devidra schrieb: Nen Testaccount um ins Admin Panel zu kommen, um dort nachzuschauen

Eigentlich sollte da, wo der Link war, auch der rest gewesen sein..

Startseiten Template kann es nicht sein, da es nur die Hauptseite wiedergibt, es muss also im Seitenfuß sein, wenn du schon den Link dort gefunden hast

Poste bitte mal die letzten Zeilen vom Seitenfußtemplate

ne den link habe ich dort nicht gefunden, habe auch den quelltext bemüht Big Grin
Außerdem ist es nicht nur in der hauptpage, sonedern auf allen seiten sowie auch im ACP und MCP und UCP Sad - überall der Mist ....gibt es einen z-index überhaupt ?

meld dich mal an ich setz dich tem rein....

Footer:

Code:
<br />
            <div class="bottommenu">
                <div class="float_right">{$lang_select}</div>
                <div>
                    <span class="smalltext"><a href="{$mybb->settings['contactlink']}">{$lang->bottomlinks_contactus}</a> | <a href="{$mybb->settings['old PDP Forum']}">{$mybb->settings['http://www.paperinosclan.org']}</a> | <a href="#top">{$lang->bottomlinks_returntop}</a> | <a href="#content">{$lang->bottomlinks_returncontent}</a> | <a href="<archive_url>">{$lang->bottomlinks_litemode}</a> | <a href="</a></span>
                </div>
            </div>
            </div>
        <hr class="hidden" />
            <div id="copyright">

<center>{$lang->build_by}<p>-=PDP=-Clan™ 2006-{$copy_year} </p>© by: -=PDP=-Headhunter 2013
<a href="http://mybb.com/" target="_blank">MyBB{$mybbversion}</a>, &copy; 2002-{$copy_year} <a href="http://mybb.com/" target="_blank">MyBB Group</a>.</center><br />
                <!-- End build by -->
                <br />
<br class="clear" />

{$auto_dst_detection}
        </div>
        </div>


Index.php (aus FTP/root)
Code:
<?php
/**
* MyBB 1.6
* Copyright 2010 MyBB Group, All Rights Reserved
*
* Website: http://mybb.com
* License: http://mybb.com/about/license
*
* $Id: index.php 5016 2010-06-12 00:24:02Z RyanGordon $
*/

define("IN_MYBB", 1);
define('THIS_SCRIPT', 'index.php');

$templatelist = "index,index_whosonline,index_welcomemembertext,index_welcomeguest,index_whosonline_memberbit,forumbit_depth1_cat,forumbit_depth1_forum,forumbit_depth2_cat,forumbit_depth2_forum,forumbit_depth1_forum_lastpost,forumbit_depth2_forum_lastpost,index_modcolumn,forumbit_moderators,forumbit_subforums,index_welcomeguesttext";
$templatelist .= ",index_birthdays_birthday,index_birthdays,index_pms,index_loginform,index_logoutlink,index_stats,forumbit_depth3,forumbit_depth3_statusicon,index_boardstats";

require_once "./global.php";

require_once MYBB_ROOT."inc/functions_post.php";
require_once MYBB_ROOT."inc/functions_forumlist.php";
require_once MYBB_ROOT."inc/class_parser.php";
$parser = new postParser;

$plugins->run_hooks("index_start");

// Load global language phrases
$lang->load("index");

$logoutlink = $loginform = '';
if($mybb->user['uid'] != 0)
{
    eval("\$logoutlink = \"".$templates->get("index_logoutlink")."\";");
}
else
{
    //Checks to make sure the user can login; they haven't had too many tries at logging in.
    //Function call is not fatal
    if(login_attempt_check(false) !== false)
    {
        eval("\$loginform = \"".$templates->get("index_loginform")."\";");
    }
}
$whosonline = '';
if($mybb->settings['showwol'] != 0 && $mybb->usergroup['canviewonline'] != 0)
{
    // Get the online users.
    $timesearch = TIME_NOW - $mybb->settings['wolcutoff'];
    $comma = '';
    $query = $db->query("
        SELECT s.sid, s.ip, s.uid, s.time, s.location, s.location1, u.username, u.invisible, u.usergroup, u.displaygroup
        FROM ".TABLE_PREFIX."sessions s
        LEFT JOIN ".TABLE_PREFIX."users u ON (s.uid=u.uid)
        WHERE s.time>'$timesearch'
        ORDER BY u.username ASC, s.time DESC
    ");

    $forum_viewers = array();
    $membercount = 0;
    $onlinemembers = '';
    $guestcount = 0;
    $anoncount = 0;
    $doneusers = array();

    // Fetch spiders
    $spiders = $cache->read("spiders");

    // Loop through all users.
    while($user = $db->fetch_array($query))
    {
        // Create a key to test if this user is a search bot.
        $botkey = my_strtolower(str_replace("bot=", '', $user['sid']));

        // Decide what type of user we are dealing with.
        if($user['uid'] > 0)
        {
            // The user is registered.
            if($doneusers[$user['uid']] < $user['time'] || !$doneusers[$user['uid']])
            {
                // If the user is logged in anonymously, update the count for that.
                if($user['invisible'] == 1)
                {
                    ++$anoncount;
                }
                ++$membercount;
                if($user['invisible'] != 1 || $mybb->usergroup['canviewwolinvis'] == 1 || $user['uid'] == $mybb->user['uid'])
                {
                    // If this usergroup can see anonymously logged-in users, mark them.
                    if($user['invisible'] == 1)
                    {
                        $invisiblemark = "*";
                    }
                    else
                    {
                        $invisiblemark = '';
                    }

                    // Properly format the username and assign the template.
                    $user['username'] = format_name($user['username'], $user['usergroup'], $user['displaygroup']);
                    $user['profilelink'] = build_profile_link($user['username'], $user['uid']);
                    eval("\$onlinemembers .= \"".$templates->get("index_whosonline_memberbit", 1, 0)."\";");
                    $comma = $lang->comma;
                }
                // This user has been handled.
                $doneusers[$user['uid']] = $user['time'];
            }
        }
        elseif(my_strpos($user['sid'], "bot=") !== false && $spiders[$botkey])
        {
            // The user is a search bot.
            $onlinemembers .= $comma.format_name($spiders[$botkey]['name'], $spiders[$botkey]['usergroup']);
            $comma = $lang->comma;
            ++$botcount;
        }
        else
        {
            // The user is a guest.
            ++$guestcount;
        }

        if($user['location1'])
        {
            $forum_viewers[$user['location1']]++;
        }
    }

    // Build the who's online bit on the index page.
    $onlinecount = $membercount + $guestcount + $botcount;
    
    if($onlinecount != 1)
    {
        $onlinebit = $lang->online_online_plural;
    }
    else
    {
        $onlinebit = $lang->online_online_singular;
    }
    if($membercount != 1)
    {
        $memberbit = $lang->online_member_plural;
    }
    else
    {
        $memberbit = $lang->online_member_singular;
    }
    if($anoncount != 1)
    {
        $anonbit = $lang->online_anon_plural;
    }
    else
    {
        $anonbit = $lang->online_anon_singular;
    }
    if($guestcount != 1)
    {
        $guestbit = $lang->online_guest_plural;
    }
    else
    {
        $guestbit = $lang->online_guest_singular;
    }
    $lang->online_note = $lang->sprintf($lang->online_note, my_number_format($onlinecount), $onlinebit, $mybb->settings['wolcutoffmins'], my_number_format($membercount), $memberbit, my_number_format($anoncount), $anonbit, my_number_format($guestcount), $guestbit);
    eval("\$whosonline = \"".$templates->get("index_whosonline")."\";");
}

// Build the birthdays for to show on the index page.
$bdays = $birthdays = '';
if($mybb->settings['showbirthdays'] != 0)
{
    // First, see what day this is.
    $bdaycount = 0; $bdayhidden = 0;
    $bdaytime = TIME_NOW;
    $bdaydate = my_date("j-n", $bdaytime, '', 0);
    $year = my_date("Y", $bdaytime, '', 0);
    
    $bdaycache = $cache->read("birthdays");
    
    if(!is_array($bdaycache))
    {
        $cache->update_birthdays();
        $bdaycache = $cache->read("birthdays");
    }
    
    $hiddencount = $bdaycache[$bdaydate]['hiddencount'];
    $today_bdays = $bdaycache[$bdaydate]['users'];
    
    $comma = '';
    if(!empty($today_bdays))
    {
        foreach($today_bdays as $bdayuser)
        {
            $bday = explode("-", $bdayuser['birthday']);
            if($year > $bday['2'] && $bday['2'] != '')
            {
                $age = " (".($year - $bday['2']).")";
            }
            else
            {
                $age = '';
            }
            $bdayuser['username'] = format_name($bdayuser['username'], $bdayuser['usergroup'], $bdayuser['displaygroup']);
            $bdayuser['profilelink'] = build_profile_link($bdayuser['username'], $bdayuser['uid']);
            eval("\$bdays .= \"".$templates->get("index_birthdays_birthday", 1, 0)."\";");
            ++$bdaycount;
            $comma = $lang->comma;
        }
    }
    
    if($hiddencount > 0)
    {
        if($bdaycount > 0)
        {
            $bdays .= " - ";
        }
        $bdays .= "{$hiddencount} {$lang->birthdayhidden}";
    }
    
    // If there are one or more birthdays, show them.
    if($bdaycount > 0 || $hiddencount > 0)
    {
        eval("\$birthdays = \"".$templates->get("index_birthdays")."\";");
    }
}

// Build the forum statistics to show on the index page.
if($mybb->settings['showindexstats'] != 0)
{
    // First, load the stats cache.
    $stats = $cache->read("stats");

    // Check who's the newest member.
    if(!$stats['lastusername'])
    {
        $newestmember = "no-one";
    }
    else
    {
        $newestmember = build_profile_link($stats['lastusername'], $stats['lastuid']);
    }

    // Format the stats language.
    $lang->stats_posts_threads = $lang->sprintf($lang->stats_posts_threads, my_number_format($stats['numposts']), my_number_format($stats['numthreads']));
    $lang->stats_numusers = $lang->sprintf($lang->stats_numusers, my_number_format($stats['numusers']));
    $lang->stats_newestuser = $lang->sprintf($lang->stats_newestuser, $newestmember);

    // Find out what the highest users online count is.
    $mostonline = $cache->read("mostonline");
    if($onlinecount > $mostonline['numusers'])
    {
        $time = TIME_NOW;
        $mostonline['numusers'] = $onlinecount;
        $mostonline['time'] = $time;
        $cache->update("mostonline", $mostonline);
    }
    $recordcount = $mostonline['numusers'];
    $recorddate = my_date($mybb->settings['dateformat'], $mostonline['time']);
    $recordtime = my_date($mybb->settings['timeformat'], $mostonline['time']);

    // Then format that language string.
    $lang->stats_mostonline = $lang->sprintf($lang->stats_mostonline, my_number_format($recordcount), $recorddate, $recordtime);

    eval("\$forumstats = \"".$templates->get("index_stats")."\";");
}

// Show the board statistics table only if one or more index statistics are enabled.
if($mybb->settings['showwol'] != 0 || $mybb->settings['showindexstats'] != 0 || ($mybb->settings['showbirthdays'] != 0 && $bdaycount > 0))
{
    if(!is_array($stats))
    {
        // Load the stats cache.
        $stats = $cache->read("stats");
    }
    
    eval("\$boardstats = \"".$templates->get("index_boardstats")."\";");
}

if($mybb->user['uid'] == 0)
{
    // Build a forum cache.
    $query = $db->query("
        SELECT *
        FROM ".TABLE_PREFIX."forums
        WHERE active != 0
        ORDER BY pid, disporder
    ");
    
    $forumsread = unserialize($mybb->cookies['mybb']['forumread']);
}
else
{
    // Build a forum cache.
    $query = $db->query("
        SELECT f.*, fr.dateline AS lastread
        FROM ".TABLE_PREFIX."forums f
        LEFT JOIN ".TABLE_PREFIX."forumsread fr ON (fr.fid=f.fid AND fr.uid='{$mybb->user['uid']}')
        WHERE f.active != 0
        ORDER BY pid, disporder
    ");
}
while($forum = $db->fetch_array($query))
{
    if($mybb->user['uid'] == 0)
    {
        if($forumsread[$forum['fid']])
        {
            $forum['lastread'] = $forumsread[$forum['fid']];
        }
    }
    $fcache[$forum['pid']][$forum['disporder']][$forum['fid']] = $forum;
}
$forumpermissions = forum_permissions();

// Get the forum moderators if the setting is enabled.
if($mybb->settings['modlist'] != "off")
{    
    $moderatorcache = $cache->read("moderators");
}

$excols = "index";
$permissioncache['-1'] = "1";
$bgcolor = "trow1";

// Decide if we're showing first-level subforums on the index page.
if($mybb->settings['subforumsindex'] != 0)
{
    $showdepth = 3;
}
else
{
    $showdepth = 2;
}
$forum_list = build_forumbits();
$forums = $forum_list['forum_list'];

$plugins->run_hooks("index_end");

eval("\$index = \"".$templates->get("index")."\";");
output_page($index);

?>

index.template
[code]
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
lang.no_new_posts = "{$lang->no_new_posts}";
lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
{$forums}
{$boardstats}

<dl class="forum_legend smalltext">
<dt><img src="{$theme['imgdir']}/on.gif" alt="{$lang->new_posts}" title="{$lang->new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
<dd>{$lang->new_posts}</dd>

<dt><img src="{$theme['imgdir']}/off.gif" alt="{$lang->no_new_posts}" title="{$lang->no_new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
<dd>{$lang->no_new_posts}</dd>

<dt><img src="{$theme['imgdir']}/offlock.gif" alt="{$lang->forum_locked}" title="{$lang->forum_locked}" style="vertical-align: middle;" /></dt>
<dd>{$lang->forum_locked}</dd>
</dl>
<br style="clear: both" />
{$footer}
</body>
</html>
[/code}

Danke Smile
Zitieren
#13
Ok, ich kann mich selbst nichtmal einloggen

Bitte kontrolliere mal deine Cookiedomain

https://www.mybb.de/doku/haeufig-gestell...-anmelden/
Zitieren
#14
Warum setzt du das Template "footer" nicht einfach zurück?
[Bild: banner.png]

Bitte die Foren-Regeln beachten und im Profil die verwendete MyBB-Version angeben.
Zitieren
#15
Stefan, ich glaub nicht das der Seitenfuß Template beim Login auch eingebunden wird, oder irre ich mich?

Denn beim Login zeigt der das Sam001 auch an

Da ich mich ja nicht einloggen kann bei ihn, würde ich nur noch vorschlagen mal das Forum komplett neu zu installieren, das Forum sieht ja eigentlich frisch installiert aus nur normalweise sollte das "sam001" nicht da sein..

Hast du das MyBB von der Hauptseite runtergeladen Headhunter?
Zitieren
#16
(13.06.2013, 15:47)Devidra schrieb: Ok, ich kann mich selbst nichtmal einloggen

Bitte kontrolliere mal deine Cookiedomain

https://www.mybb.de/doku/haeufig-gestell...-anmelden/

Folgende Einstellungen wurden ermittelt:
Cookie-Domain: .pdpclan.kazooka.us
Cookie-Pfad: /

Board Name
The name of your message boards. We recommend that it is not over 75 characters.
-=PDP=- Clan Forum

Board URL
The url to your forums.
Include the http://. Do NOT include a trailing slash.
http://pdpclan.kazooka.us

Homepage Name
The name of your homepage. This will appear in the footer with a link to it.
-=PDP=- Clan Forum

Homepage URL
The full URL of your homepage. This will be linked to in the footer along with its name.
/

Admin Email
The administrator's email address. This will be used for outgoing emails sent via the forums.
meine@email.de

Return Email
The email address for incoming replies to outgoing emails sent via the forums and is useful for no-reply accounts. Leave blank to use the admin email address instead.
<keine>

Contact Us Link
This will be used for the Contact Us link on the bottom of all the forum pages. Can either be an email address (using mailto:email@website.com) or a hyperlink.
mailto:meine@email.de

Default Language
The default language that MyBB should use for guests and for users without a selected language in their user control panel.
English (American)

Cookie Domain
The domain which cookies should be set to. This can remain blank. It should also start with a . so it covers all subdomains.
.pdpclan.kazooka.us

Cookie Path
The path which cookies are set to, we recommend setting this to the full directory path to your forums with a trailing slash.
/./

Cookie Prefix
A prefix to append to all cookies set by MyBB. This is useful if you wish to install multiple copies of MyBB on the one domain or have other software installed which conflicts with the names of the cookies in MyBB. If not specified, no prefix will be used.
<leer>
Zitieren
#17
Kann mal wer den richtigen Link dahin posten, denn ich sehe das nicht.

Ok hat sich soeben erledigt, sehe es.
Mit freundlichen Grüßen

MrBrechreiz
Zitieren
#18
Ich weiß nicht obs richtig ist, aber unten

Zitat:Cookie Path
The path which cookies are set to, we recommend setting this to the full directory path to your forums with a trailing slash.
/./

Muss da nicht nur ein / hin? Bin mir da gerade nicht so sicher wie es so richtig wäre
Zitieren
#19
(13.06.2013, 16:02)Devidra schrieb: Stefan, ich glaub nicht das der Seitenfuß Template beim Login auch eingebunden wird, oder irre ich mich?

Denn beim Login zeigt der das Sam001 auch an

Da ich mich ja nicht einloggen kann bei ihn, würde ich nur noch vorschlagen mal das Forum komplett neu zu installieren, das Forum sieht ja eigentlich frisch installiert aus nur normalweise sollte das "sam001" nicht da sein..

Hast du das MyBB von der Hauptseite runtergeladen Headhunter?

der zeigt den Sam in allen cps an und auf allen Forumseiten.
Ist also nicht der Footer...wäre ja auch zu leicht Big Grin
Danke Stefan für die Anteilnahme.

@Devidra:
Ja, habe von Kazooka den script installer genommen und das ur template rauf gemacht und dann plugins rauf...mehr net (klar bilder und so...und namen etc..)
...sieht frisch aus aber ist schon sehr viel drinnen gemacht worden - optisch (bilder und so) sieht es noch mies aus, aber innen cool Smile nur eben fehlerhaft, kein wunder mit sonem laien wie mir Smile

(13.06.2013, 16:13)Devidra schrieb: Ich weiß nicht obs richtig ist, aber unten

Zitat:Cookie Path
The path which cookies are set to, we recommend setting this to the full directory path to your forums with a trailing slash.
/./

Muss da nicht nur ein / hin? Bin mir da gerade nicht so sicher wie es so richtig wäre

soll ich mal probieren Devidra ?
Du hast übrigens 2 PMs Smile
Zitieren
#20
(13.06.2013, 16:19)Headhunter schrieb: Ist also nicht der Footer...wäre ja auch zu leicht Big Grin
Das ist aber auch fehlerhaft...

sam001 fügt vermutlich dein Freehoster hinzu, was in Kombination des anderen Fehlers zu Problemen führt.
[Bild: banner.png]

Bitte die Foren-Regeln beachten und im Profil die verwendete MyBB-Version angeben.
Zitieren


Möglicherweise verwandte Themen…
Thema Verfasser Antworten Ansichten Letzter Beitrag
  Das leidige Thema - spezielle Schriftfarbe Dat Uli 4 1.763 11.10.2010, 10:39
Letzter Beitrag: Dat Uli