Nicht allzu viel, ich dachte halt, dass man es womöglich über die Anzeigeoption im UCP hinkriegen könnte, wie bei Flash oder Signaturen. Aber ich habe in der ucp.php nichts von Flash gefunden.
edit: Okay, ich habe nochmal geschaut in includes/ucp/ucp_prefs.php:
Code: Alles auswählen
'flash' => request_var('flash', (bool) $user->optionget('viewflash')),
darunter habe ich eingefügt:
Code: Alles auswählen
'location' => request_var('location', (bool) $user->optionget('viewlocation')),
darunter habe ich eingefügt:
darunter habe ich eingefügt:
styles/prosilver/template/ucp_prefs_view.html:
Code: Alles auswählen
<dl>
<dt><label for="flash0">{L_VIEW_FLASH}:</label></dt>
<dd>
<label for="flash1"><input type="radio" name="flash" id="flash1" value="1"<!-- IF S_FLASH --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
<label for="flash0"><input type="radio" name="flash" id="flash0" value="0"<!-- IF not S_FLASH --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
</dd>
</dl>
darunter habe ich eingefügt:
Code: Alles auswählen
<dl>
<dt><label for="location0">{L_VIEW_LOCATION}:</label></dt>
<dd>
<label for="location1"><input type="radio" name="location" id="location1" value="1"<!-- IF S_LOCATION --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
<label for="location0"><input type="radio" name="location" id="location0" value="0"<!-- IF not S_LOCATION --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
</dd>
</dl>
Jetzt kann ich zwar im UCP die Einstellung vornehmen und sie wird übernommen, aber ändern tut die Einstellung nichts. (Die Datenbankspalte in der Userspalte heißt "user_from". Mein Einbau für den Usericon läuft aber über location, daher habe ich jetzt auch Location gewählt.