Seite 1 von 1
Einbindung von Favicons in phpBB?
Verfasst: 14.03.2006 12:51
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
Verfasst: 14.03.2006 14:23
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
Verfasst: 14.03.2006 15:37
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...

Verfasst: 14.03.2006 16:19
von DsMagic
Hast du die größe von 16x16px und das format .ico beachtet ?
Gruß DsMagic
Verfasst: 14.03.2006 18:11
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 !!