irgendwie mache ich was falsch. Jedenfalls will der Flags Mod nicht laufen. Im Adminbereich kann ich die Flaggen zuweisen, aber im Profil wird die Flagge nichtmal zur Auswahl angezeigt.
der Part aus der easyucp:
- Code: Alles auswählen
<tr>
<td width="30%" valign="top" align="right" nowrap="nowrap"><span class="gen">{L_LOCATION}: </span></td>
<td><b><span class="gen">{LOCATION}</span></b></td>
</tr>
<!-- FLAGHACK-start -->
<tr>
<td class="row1"><span class="gen">{L_FLAG}:</span></td>
<td class="row2"><span class="gensmall">
<table><tr>
<td>{FLAG_SELECT} </td>
<td><img src="images/flags/{FLAG_START}" width="32" height="20" name="user_flag" /></td>
</tr></table>
</span></td>
</tr>
<!-- FLAGHACK-end -->
<td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_WEBSITE}: </span></td>
<td><span class="gen"><b>{WWW}</b></span></td>
</tr>
Das ist der Bereich aus der usercp_register:
- Code: Alles auswählen
// Profile Info
if ( $ucp_mode == 'ucp_info' || $ucp_mode == '' )
{
$sql = "UPDATE " . USERS_TABLE . "
SET user_icq = '" . str_replace("\'", "''", $icq) . "', user_website = '" . str_replace("\'", "''", $website) . "', user_occ = '" . str_replace("\'", "''", $occupation) . "', user_from = '" . str_replace("\'", "''", $location) . "', user_from_flag = '$user_flag', user_interests = '" . str_replace("\'", "''", $interests) . "',user_aim = '" . str_replace("\'", "''", str_replace(' ', '+', $aim)) . "', user_yim = '" . str_replace("\'", "''", $yim) . "', user_msnm = '" . str_replace("\'", "''", $msn) . "', user_gender = '$gender'
WHERE user_id = $user_id";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not update users table', '', __LINE__, __FILE__, $sql);
}
}