Moderator: Integra Moderator
"darknights";p="20016" wrote:Your phpBB Version: 2.0.22
phpBB Type: Integramod 141
MODs: No
Your knowledge: Basic Knowledge
Board URL: [url]http://[/url]
PHP Version:
MySQL Version:
What was done before the problem appeared?
What was done to try to solve the problem?
De..scription and Message
Hi, i saw from post [url=http]http://www.integramod.com/forum/viewtopic.php?t=1835&highlight=ffxi[/url]
has this mod been tested in the latest release of IntegraMOD 1.4.1, or will it work in this release without issue, i just don't wanna test it, i spent a lot of time already on my forums and i don't wont to break it lol. Thanks for the replies in advanced everyone! thanks.
ALTER TABLE `phpbb_users` ADD `user_allow_ffxi_char_over` TINYINT( 2 ) DEFAULT '1' NOT NULL ;ALTER TABLE `phpbb_users` CHANGE `allow_ffxi_char` `user_allow_ffxi_char` TINYINT( 2 ) NOT NULL DEFAULT '1';
$button = ($userdata['user_id'] != ANONYMOUS) && ( $board_config['allow_ffxi_characters'] != 0) && ( $userdata['allow_ffxi_char'] != 0) ? "<form><input></form>" ]
REPLACE WITH[php]$button = ($userdata['user_id'] != ANONYMOUS) && ( $board_config['allow_ffxi_characters'] != 0) && ( $userdata['user_allow_ffxi_char'] != 0) ? "<form><input></form>" : "";
'user_allow_email' => array( 'lang_key' => 'User_allow_email', 'class' => 'generic', 'type' => 'TINYINT', 'auth' => ADMIN, 'get_mode' => 'LIST_RADIO', 'values' => 'list_yes_no', ),
'user_allow_ffxi_char' => array( 'lang_key' => 'ffxi_character_create', 'class' => 'generic', 'type' => 'TINYINT', 'auth' => ADMIN, 'get_mode' => 'LIST_RADIO', 'values' => 'list_yes_no', ),
'PCP.profil.profile_prefer.admin' => array( 'order' => 20, 'title' => 'profilcp_admin_shortcut', 'fields' => array(
'user_allow_ffxi_char' => array( ),
$allow_ffxi_char = ( !empty($HTTP_POST_VARS['allow_ffxi_char']) ) ? intval( $HTTP_POST_VARS['allow_ffxi_char'] ) : 0;
$allow_ffxi_char = ( !empty($HTTP_POST_VARS['user_allow_ffxi_char']) ) ? intval( $HTTP_POST_VARS['user_allow_ffxi_char'] ) : 0;
$sql = "UPDATE " . USERS_TABLE . " SET " . $username_sql . $passwd_sql . "user_email = '" . str_replace("'", "''", $email) . "', user_icq = '" . str_replace("'", "''", $icq) . "', user_website = '" . str_replace("'", "''", $website) . "', user_occ = '" . str_replace("'", "''", $occupation) . "', user_from = '" . str_replace("'", "''", $location) . "', user_interests = '" . str_replace("'", "''", $interests) . "', user_extra = '$user_extra', user_sig = '" . str_replace("'", "''", $signature) . "', user_viewemail = $viewemail, user_aim = '" . str_replace("'", "''", $aim) . "', user_yim = '" . str_replace("'", "''", $yim) . "', user_msnm = '" . str_replace("'", "''", $msn) . "', user_attachsig = $attachsig,user_setbm = $setbm, user_sig_bbcode_uid = '$signature_bbcode_uid', user_allowsmile = $allowsmilies, user_allowhtml = $allowhtml, user_allowavatar = $user_allowavatar, allow_ffxi_char = $allow_ffxi_char, user_allowsignature = $user_allowsignature, user_allowbbcode = $allowbbcode, user_allow_viewonline = $allowviewonline, user_notify = $notifyreply, user_allow_pm = $user_allowpm, user_notify_pm = $notifypm, user_popup_pm = $popuppm, user_lang = '" . str_replace("'", "''", $user_lang) . "', user_style = $user_style, user_timezone = $user_timezone, user_dateformat = '" . str_replace("'", "''", $user_dateformat) . "', user_active = $user_status, user_warnings = $user_ycard, user_rank = $user_rank" . $avatar_sql . "
allow_ffxi_char
user_allow_ffxi_char
$allow_ffxi_char = $this_userdata['allow_ffxi_char'];
$allow_ffxi_char = $this_userdata['user_allow_ffxi_char'];
$s_hidden_fields .= '<input>';
$s_hidden_fields .= '<input>';
Registered users: Bing [Bot], Helter, Majestic-12 [Bot], Unspecified Bot