Seite 1 von 1

Retroactive Signature Mod

Verfasst: 02.01.2005 23:46
von horscht
ich habe habe gerade folgenden Mod installiert: Retroactive Signature

durch diesen Mod erscheint ja im Profil und beim Registrieren eine Checkbox mit "Check here to attach your signature to your previous posts as well" und davor die Beschreibung "Attach my signature to my prior posts:
If adding/editing your signature, phpBB normally applies this only to future posts"

wie kann man diese Checkbox standardmäßig aktivieren und eben diese Checkbox + Beschreibung verstecken (d.h. im Profil u. beim Registrieren nicht auswählbar)

Verfasst: 03.01.2005 10:08
von Mario Siebert
profile_add_body.tpl:

[suchen und löschen]

Code: Alles auswählen

<tr> 
	  <td class="row1"><span class="gen">{L_RETRO_SIG}:</span><br /><span class="gensmall">{L_RETRO_SIG_EXPLAIN}</span></td>
	  <td class="row2"> 
		<input type="checkbox" name="retrosig" />&nbsp;
		<span class="gensmall">{L_RETRO_SIG_CHECKBOX}</span></td>
	</tr>
usercp_register.php:

[suchen]

Code: Alles auswählen

$retrosig = ( isset($HTTP_POST_VARS['retrosig']) ) ? ( ($HTTP_POST_VARS['retrosig']) ? TRUE : 0 ) : 0;
[davor einfügen]

Code: Alles auswählen

$HTTP_POST_VARS['retrosig'] = 1;
Grüße Mario

Verfasst: 03.01.2005 13:20
von horscht
Danke Mario klappt super :grin: