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: 49
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.

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

SearchEngine Footer
SearchEngine Footer 0.91 von MaR-V-iN für MyBB 1.4.x
Displays a extenden Footer for Searchengines eg. for PageRank-Backlinks

Header Announcements
Header Announcements 1.0 von Mohammad-Za für MyBB 1.6.x
Adds Your Announcements (Like: Warnings , Messages and ...) In header.

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