Einbindung von Favicons in phpBB?

In diesem Forum können Mod-Autoren ihre Mods vorstellen, die sich noch im Entwicklungsstatus befinden. Der Einbau in Foren im produktiven Betrieb wird nicht empfohlen.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
Vader2000
Mitglied
Beiträge: 5
Registriert: 14.03.2006 12:47

Einbindung von Favicons in phpBB?

Beitrag von Vader2000 »

Hallo Forum,

ich würde gern ein favicon einbinden.
Dafür muss ich scheinbar den Befehl

<link rel="shortcut icon" href="<?php echo $mosConfig_live_site;?>/templates/subSilver/images/favicon.ico" />

einbinden.
Frage: An welcher Stelle in welche Datei?

Kennt sich vielleicht jemand von Euch aus damit? Wäre toll :-)
Vielen Dank für Tipps und Tricks !!

Gruß
Vader
Benutzeravatar
Markus Wandel
Mitglied
Beiträge: 658
Registriert: 01.12.2003 18:13
Wohnort: Wuppertal
Kontaktdaten:

Beitrag von Markus Wandel »

Hi,

geh mal nach dieser Anleitung:

Code: Alles auswählen

###############################################
##   Hack Title:   phpBB favicon in browser URL bar
##   Hack Version:   1.0
##   Author:     Invader <http://www.classicgaming.com/invader> (David Hannan)
##   Description:   This simple hack will add the phpBB favicon icon in the URL address bar of every page of your forum.
##   Compatibility:   2.x.x
##
##   Installation Level: Easy
##   Installation Time:  2 minutes
##   Files To Edit: 1
##      overall_header.tpl
##     
##   Included Files: 1
##      favicon.ico
##
##   History:
##      January 5 2004: v1.0 : Release.
##
##   Author Notes:
##     I have included the phpBB favicon for you to use, but you could use any image you want, as
long as it is 16x16px and in .ico format.  PLEASE NOTE: you cannot simply rename an image file to .ico,
you must reformat it using a utility such as Graphic Converter (for example).
#
##   Support:      http://www.phpbbsupport.co.uk
##   Copyright:      ©2004 phpBB favicon in browser URL bar, 1.0 - Invader
##
###############################################
##   You downloaded this hack from phpBBSupport.co.uk, as such this is not a official phpBB hack.
##   This means that support can not be found for this at phpBB.com, so please visit http://www.phpbbsupport.co.uk
###############################################
##
###############################################
##   This program is free software; you can redistribute it and/or
##   modify it under the terms of the GNU General Public License
##   as published by the Free Software Foundation; either version 2
##   of the License, or (at your option) any later version.
##
##   This program is distributed in the hope that it will be useful,
##   but WITHOUT ANY WARRANTY; without even the implied warranty of
##   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
##   GNU General Public License for more details.
##
##   http://www.gnu.org/copyleft/gpl.html
###############################################
#
#-----[ COPY ]----------------------------------------
#
favicon.ico to /favicon.ico
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/overall_header.tpl
#
#-----[ FIND ]------------------------------------------
#
<!-- BEGIN switch_enable_pm_popup -->
#
#-----[BEFORE, ADD]-------------------------------------
#
<link rel="shortcut icon" href="./favicon.ico">
#
#-----[ SAVE & CLOSE ALL FILES ]------------------------
#
#End of Hack
Bei mir hat es geklappt.

bye
Markus
WebMaster von: www.RoCoFa.de - Wir sind die RollerCoasterFans
Die Seite für Achterbahn- und Freizeitparkfans, kostenlose Mitgliedschaft, keine Verpflichtungen.
Vader2000
Mitglied
Beiträge: 5
Registriert: 14.03.2006 12:47

Beitrag von Vader2000 »

ok, danke schonmal.
hat allerdings noch nicht geklappt:

das favicon wird nicht eingebunden, sondern ganz oben links im browser stehen die nun worte "Switch_enable"

mehr nich... :lol:
DsMagic
Mitglied
Beiträge: 215
Registriert: 18.05.2005 07:10
Wohnort: Kerpen

Beitrag von DsMagic »

Hast du die größe von 16x16px und das format .ico beachtet ?

Gruß DsMagic
Vader2000
Mitglied
Beiträge: 5
Registriert: 14.03.2006 12:47

Beitrag von Vader2000 »

ok, leute, vielen dank !!
es scheint, dass ich die ico im falschen verzeichnis hatte.
jetzt funzt es jedenfalls.
danke, so macht es spass !!
Antworten

Zurück zu „phpBB 2.0: Mods in Entwicklung“