Seite 1 von 1
Board-Style + Board-Sprache aus dem Profil nehmen ?
Verfasst: 17.06.2004 10:38
von henrik
hallo,
würde gerne aus dem userprofil die folgenden auswahlmöglichkeiten raus nehmen:
Board-Style
Board-Sprache
Zeitzone
Datums-Format
habe mal selber in die profile.php geschaut, werde daraus aber net schlau
soll ein regionales forum werden, glaube nicht das es dann wirklich gebraucht wird
thx im vorraus
Verfasst: 17.06.2004 10:44
von Markus67
Hi ....
admin/user_edit_body.tpl
suchen und löschen ...
Code: Alles auswählen
<tr>
<td class="row1"><span class="gen">{L_BOARD_LANGUAGE}</span></td>
<td class="row2">{LANGUAGE_SELECT}</td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_BOARD_STYLE}</span></td>
<td class="row2">{STYLE_SELECT}</td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_TIMEZONE}</span></td>
<td class="row2">{TIMEZONE_SELECT}</td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_DATE_FORMAT}</span><br />
<span class="gensmall">{L_DATE_FORMAT_EXPLAIN}</span></td>
<td class="row2">
<input class="post" type="text" name="dateformat" value="{DATE_FORMAT}" maxlength="16" />
</td>
</tr>
profile_add_body.tpl
suche und lösche:
Code: Alles auswählen
<tr>
<td class="row1"><span class="gen">{L_BOARD_LANGUAGE}:</span></td>
<td class="row2"><span class="gensmall">{LANGUAGE_SELECT}</span></td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_BOARD_STYLE}:</span></td>
<td class="row2"><span class="gensmall">{STYLE_SELECT}</span></td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_TIMEZONE}:</span></td>
<td class="row2"><span class="gensmall">{TIMEZONE_SELECT}</span></td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_DATE_FORMAT}:</span><br />
<span class="gensmall">{L_DATE_FORMAT_EXPLAIN}</span></td>
<td class="row2">
<input type="text" name="dateformat" value="{DATE_FORMAT}" maxlength="14" class="post" />
</td>
Ich würde aber Sicherungskopien erstellen ... und diese aufbewahren
Markus
Verfasst: 17.06.2004 11:45
von henrik
super hat geklappt ! merci !
folgendes problem hatte kurz vorher den gender mod installiert .. und wohl auch diesen eintag mit gelöscht und wie sollte es anders sein nicht gesichert ...frage? kann ich den einfach nochmal installieren oder kann mir jemand den eintag posten für die
-admin/user_edit_body.tpl
und/oder
-profile_add_body.tpl
vielen dank
Verfasst: 17.06.2004 11:58
von Markus67
Hi ...
Da schreibt man noch was von Sicherungskopien .... tztztztzt
Code: Alles auswählen
templates/subSilver/profile_add_body.tpl
#
#-----[ FIND ]------------------------------------------------
#
value="{INTERESTS}"
</td>
</tr>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- Start add - Gender MOD -->
<tr>
<td class="row1"><span class="gen">{L_GENDER}:</span></td>
<td class="row2">
<input type="radio" {LOCK_GENDER} name="gender" value="0" {GENDER_NO_SPECIFY_CHECKED}/>
<span class="gen">{L_GENDER_NOT_SPECIFY}</span>
<input type="radio" name="gender" value="1" {GENDER_MALE_CHECKED}/>
<span class="gen">{L_GENDER_MALE}</span>
<input type="radio" name="gender" value="2" {GENDER_FEMALE_CHECKED}/>
<span class="gen">{L_GENDER_FEMALE}</span></td>
</tr>
<!-- End add - Gender MOD -->
Code: Alles auswählen
templates/subSilver/admin/user_edit_body.tpl
#
#-----[ FIND ]------------------------------------------------
#
value="{INTERESTS}"
</td>
</tr>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- Start add - Gender MOD -->
<tr>
<td class="row1"><span class="gen">{L_GENDER}:</span></td>
<td class="row2">
<input type="radio" name="gender" value="0" {GENDER_NO_SPECIFY_CHECKED}/>
<span class="gen">{L_GENDER_NOT_SPECIFY}</span>
<input type="radio" name="gender" value="1" {GENDER_MALE_CHECKED}/>
<span class="gen">{L_GENDER_MALE}</span>
<input type="radio" name="gender" value="2" {GENDER_FEMALE_CHECKED}/>
<span class="gen">{L_GENDER_FEMALE}</span></td>
</tr>
<!-- End add - Gender MOD -->
Markus
Verfasst: 17.06.2004 11:59
von henrik
jaja da war das verlangen nach hilfe größer als das eigene vertrauen

..
habe bnochmal in die install.txt reingeschaut und da stehen ja die einträge für die manuelle install...also wer das gleiche prob hat
in die templates/subSilver/profile_add_body.tpl
#
#-----[ FIND ]------------------------------------------------
#
value="{INTERESTS}"
</td>
</tr>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- Start add - Gender MOD -->
<tr>
<td class="row1"><span class="gen">{L_GENDER}:</span></td>
<td class="row2">
<input type="radio" {LOCK_GENDER} name="gender" value="0" {GENDER_NO_SPECIFY_CHECKED}/>
<span class="gen">{L_GENDER_NOT_SPECIFY}</span>
<input type="radio" name="gender" value="1" {GENDER_MALE_CHECKED}/>
<span class="gen">{L_GENDER_MALE}</span>
<input type="radio" name="gender" value="2" {GENDER_FEMALE_CHECKED}/>
<span class="gen">{L_GENDER_FEMALE}</span></td>
</tr>
<!-- End add - Gender MOD -->
und die templates/subSilver/admin/user_edit_body.tpl
#
#-----[ FIND ]------------------------------------------------
#
value="{INTERESTS}"
</td>
</tr>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- Start add - Gender MOD -->
<tr>
<td class="row1"><span class="gen">{L_GENDER}:</span></td>
<td class="row2">
<input type="radio" name="gender" value="0" {GENDER_NO_SPECIFY_CHECKED}/>
<span class="gen">{L_GENDER_NOT_SPECIFY}</span>
<input type="radio" name="gender" value="1" {GENDER_MALE_CHECKED}/>
<span class="gen">{L_GENDER_MALE}</span>
<input type="radio" name="gender" value="2" {GENDER_FEMALE_CHECKED}/>
<span class="gen">{L_GENDER_FEMALE}</span></td>
</tr>
<!-- End add - Gender MOD -->
bis denne
Verfasst: 17.06.2004 12:00
von henrik
du warst 1min schneller -- gleicher gedanke

aber trotzdem 1000 dank ...seit ein absolut geiler support !!!!