Seite 1 von 1

Bei jedem Besuch automatisch einloggen

Verfasst: 01.09.2004 19:26
von austrian-i
kann man das kästchen daneben irgendwie dazu bringen, dass es immer angehakt ist (auch das erste mal wenn man hinkommt) wie geht das und wo?

Verfasst: 01.09.2004 19:27
von Berndte
bitte:

Code: Alles auswählen

## EasyMod 0.0.7 compliant
##############################################################
##
## MOD Title: Autologin active by default
## MOD Author: AWSW <> http://www.awsw.de
##
## MOD Description:
## Setzt den Haken "Bei jedem Besuch automatisch einloggen" in der Loginbox auf aktiviert in der index.php und login.php.
## Sets the checkbox "Log me on automatically each visit" in the Loginbox active by default in the index.php and login.php.
## MOD Version: 1.00
##
## MOD Installation Level: easy
## MOD testet with phpBB: 2.0.6
## MOD Installation Time: 2 Minutes
##
## Files to edit:
## <phpBB2-Forum-Root>/templates/subSilver/index_body.tpl
## <phpBB2-Forum-Root>/templates/subSilver/login_body.tpl
##
##############################################################
## This MOD is released under the GPL License. Intellectual Property is retained by the MOD Author(s) listed above. http://www.gnu.org
##############################################################
## For Security Purposes, Please Check: http://www.awsw.de/ for the latest version of this MOD. Downloading this MOD from other sites could cause malicious code to enter into your phpBB Forum. You´ll find support to this MOD at http://www.phpbb.de/
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up Your Complete Database And All Files Related To This MOD !
##############################################################
##
## INSTALLATION:
##
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
# german: Öffne
#

templates/subSilver/index_body.tpl

#
#-----[ FIND ]------------------------------------------
#
# german: Finde
#
<input class="text" type="checkbox" name="autologin" />

#
#-----[ REPLACE, WITH ]------------------------------------------
#
# german: Ersetze mit
#
<input class="text" type="checkbox" checked="checked" name="autologin" />

##############################################################
#
#-----[ OPEN ]------------------------------------------
#
# german: Öffne
#

templates/subSilver/login_body.tpl

#
#-----[ FIND ]------------------------------------------
#
# german: Finde
#

<td colspan="2"><span class="gen">{L_AUTO_LOGIN}: <input type="checkbox" name="autologin" /></span></td>

#
#-----[ REPLACE, WITH ]------------------------------------------
#
# german: Ersetze mit
#

<td colspan="2"><span class="gen">{L_AUTO_LOGIN}: <input type="checkbox" checked="checked" name="autologin" /></span></td>

##############################################################
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# german: Speichere/Schließe alle Dateien
#
# HTH AWSW
# http://www.awsw.de
#
# EoM

Verfasst: 01.09.2004 19:28
von austrian-i
du meine güte, wie kann man nur so schnell sein!!!

D A N K E ! ! ! :)

Verfasst: 01.09.2004 19:38
von Berndte
wohl zufall ;)

kein ursache

Verfasst: 12.09.2004 18:02
von grizzlibaer
Hi,

andere Frage:
wie bleibe ich automatisch eingeloggt wenn ich die Checkbox entferne die das steuert?
Ich würde einfach nur gern stehen haben:
Name / Passwort / Login --> und danach ist man automatisch eingeloggt und zum ausloggen muß man auf Logout klicken.

--> dazu hab ich auch noch eine andere Frage: Siehe Thread: Login / Logout Button

Vielleicht kann da doch noch einer helfen :)

Danke

gruß
grizzli