Dynamic Header and Footer

Allows a dynamic site header and footer to be used without modifying MyBB templates.
Version: 1.1
Autor: thruska
Deutsche Übersetzung: noch nicht übersetzt
Hochgeladen: 28.02.2010
Letzte Aktualisierung: 11.08.2010
Support: https://www.mybb.de/forum/thread-22122.html (0 Beiträge)
Kompatibilität: MyBB 1.6.x
Bisherige Downloads: 102
Vorschau
Vorschau
Vorschau
Many site owners use 'header.php' and 'footer.php' include files so that only a single file has to be changed to alter the header/footer across an entire website. These files are generally included on a webpage with statements like:

    require_once "includes/header.php";

This plugin allows you to specify a path to those various include files to wrap each MyBB page with consistent branding without modifying any MyBB template files. Any changes you make to your header/footer are instantly reflected in MyBB.

While URLs are supported, they will kill your server's performance. Use absolute/relative paths. If you HAVE to pull from another server, get a real programmer to cache the header/footer locally with a local script. Note that 'lang' with the active MyBB language and 'mybb=1' are appended to the URL.

To make MyBB-specific changes to your header and footer when using absolute/relative paths, you can distinguish between the rest of your site and MyBB by doing the following:

    if (defined("IN_MYBB"))
    {
        ...Do MyBB specific stuff here...
    }

NOTE: A lot of layouts with sidebars may break MyBB's layout. The quick-n-dirty solution is to either get rid of the sidebar or wrap the MyBB content area with a 'table' tag. (Yeah, tables are tacky but, hey, they DO work and take only a minute to implement).

Works with MyBB 1.4.x and 1.6.x.

Quelle: Dynamic Header and Footer bei MyBB.com

Ähnliche Erweiterungen

Dynamic Header and Footer 1.2 von thruska für MyBB 1.8.x
Allows a site header and footer to be dynamically included without modifying templates.

84 Downloads
Dynamic Metas 1.0 von Crazycat für MyBB 1.2.x
Adds dynamic meta field (keywords and description) to MyBB pages

154 Downloads
Dynamic Forum 1.0.0 von RiCaRoS .:. Danial 619 für MyBB 1.6.x
Dynamic Forum

24 Downloads
Facebook Dock And Friends
Facebook Dock And Friends 1.1 von skywalker2208 für MyBB 1.4.x
Sets up a facebook style dock at the bottom of the page with friends and notifications

20 Downloads
Ontical Theme and Template
Ontical Theme and Template 1.1 von Nemus für MyBB 1.8.x
A very simple black and grey efficient theme and template. Easy on the eyes, useful member block controls. A great theme if you want users to spend lots of time on the forum.

23 Downloads