Seite 1 von 1
Sprache mit Variablen in der URL ändern
Verfasst: 21.10.2004 20:07
von mc²
Kann man die Sprache des Forums mit Hilfe einer übergebenen Variable ändern? So zum Beispiel?
xyz.de/forum/index.php?lang=german
Hat jemand eine Idee?
Verfasst: 21.10.2004 21:26
von Underhill
Hi,
das gibt es schon als MOD
Code: Alles auswählen
##############################################################
## MOD Title: Select default language
## MOD Author: Niels < ncr@db9.dk > (Niels Chr. Rød) http://mods.db9.dk
## MOD Description: This mod will try change default lang to what ever the users browser is set to - if not sucess, the user (guest only) can temporary change
## the default language selection, this in done with a drop down from index. The default language will stay changed for 6 hours.
## it is also posible to direct link to your site, and change the language e.g www.yoursite.com?language=english
## MOD Version: 1.3.2
## Compatibility: 2.0.4->2.0.6 (prior release not tested)
##
## Installation Level: Easy
## Installation Time: 2 Minutes (1mn by EasyMOD of Nuttzy)
## Files To Edit: 3
## common.php
## index.php
## language/lang_english/lang_main.php
## templates/subSilver/index_body.tpl
##
## Included Files: 0
##
##############################################################
Gruss
Underhill
Verfasst: 21.10.2004 23:36
von mc²
Danke, Underhill
ich bin neu hier bei phpBB, habe bisher mehr vBulletin gemacht.
Wo bekomme ich dieses MOD?
Verfasst: 22.10.2004 08:37
von Underhill
Hi,
und hier sind noch viele Quellen mehr:
http://www.phpbb.de/viewtopic.php?t=20503
Gruss
Underhill