1
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
$config['date_format'] = multilang($config['date_format']);
$config['time_format'] = multilang($config['time_format']);
Notice: Undefined index: date_format in global.php on line 139
Notice: Undefined index: language_dir in includes\functions.php on line 1853
Notice: Undefined index: language_list in includes\functions.php on line 1853
Notice: Undefined index: language_list in includes\functions.php on line 1857
Notice: Undefined index: language_dir_default in includes\functions.php on line 1861
Notice: Undefined index: language_list in includes\functions.php on line 1861
Notice: Undefined index: time_format in global.php on line 140
Notice: Undefined index: language_dir in includes\functions.php on line 1853
Notice: Undefined index: language_list in includes\functions.php on line 1853
Notice: Undefined index: language_list in includes\functions.php on line 1857
Notice: Undefined index: language_dir_default in includes\functions.php on line 1861
Notice: Undefined index: language_list in includes\functions.php on line 1861
Warning: Cannot modify header information - headers already sent by (output started at global.php:139) in global.php on line 442
Warning: Undefined index: image_place in register.php on line 376
$value = (isset($HTTP_POST_VARS[$key])) ? $HTTP_POST_VARS[$key] : $user_info[$key];
Una pregunta,,, si usas la opción de chica o chico,,,, que pasaría si una chica se quiere registrar pero no quiere subir nunguna imagen ??
si usas la opción de tienes permisos,,, quien otorgaría los permisos y como ???
y otra cosa,,, el condicional que pones en member.php,,, si eres chico,,, dara un mensaje de error y nunca podrás subir una imagen.
if ($action == "uploadform") {
if ($cat_id != 0 && (!isset($cat_cache[$cat_id]) || !check_permission("auth_upload", $cat_id))) {
show_error_page($lang['no_permission']);
exit;
}
if ($action == "uploadform") {
$user_type = $user_info['user_type'];
if ($user_type == 0 || $cat_id != 0 && (!isset($cat_cache[$cat_id]) || !check_permission("auth_upload", $cat_id))) {
show_error_page($lang['no_permission']);
exit;
}
user_type tinyint(1) 0 NOT NULL
$additional_user_fields['user_type'] = array($lang['user_type'], "radio", 1);
$lang['user_type'] = "¿Tiene privilegios?";
<input type="hidden" name="user_type" value="0" />
<input type="hidden" name="user_type" value="1" />
$user_type = $user_info['user_type']
if ($user_info['user_type'] == 0) {
los que verán los usuarios nomales va aquí...
} else {
lo que evrán los usuarios con permiso va aquí...
}
if ($action == "uploadimage") {
if ($cat_id != 0 && (!isset($cat_cache[$cat_id]) || !check_permission("auth_upload", $cat_id))) {
show_error_page($lang['no_permission']);
exit;
}
if ($action == "uploadimage") {
$user_type = $user_info['user_type'];
if ($user_type == 0 || $cat_id != 0 && (!isset($cat_cache[$cat_id]) || !check_permission("auth_upload", $cat_id))) {
show_error_page($lang['no_permission']);
exit;
}