Yes, this has been corrected it uses its own table now instead of the config table of phpbb so there is >virtually< no limit on the number of contact reasons (column in table is set to "mediumtext" which allows a string with a maximum length of 16777215 characters.). So if you have less than 16,777,215 characters for your contact reasons, you're all set.ChriZathens wrote:I just wanted to ask about something:
Some time ago in the previous version's topic I asked whether it would be possible to increase the maximum number of characters allowed in the contact reasons textarea.
Is this by any chance implemented in this version?
I just checked that styletemplate->_tpl_load_file(): File ./styles/proFormell/template/captcha_default.html does not exist or is empty
If you are using a language other than en (eg, like en_us for example) you have to upload the files found in language/en/mods into that language keeping the structure (eg language/en_us/mods).simonmac wrote: 1) On the contact.php its showing { CONTACT_BOARD_ADMIN } rather than anything else, I assume this is a language snafu, can you advise how I can fix this?
It chooses based on if a user has >any< administrative permission.2) Is there anyway to get the mod to send to Global Mods rather than Administrators? We are a small board so don't use the administrators group
Code: Select all
// Grab an array of user_id's with admin permissions
$admin_ary = $auth->acl_get_list(false, 'a_', false);
$admin_ary = (!empty($admin_ary[0]['a_'])) ? $admin_ary[0]['a_'] : array();
if ($config_contact['contact_method'] == CONTACT_METHOD_EMAIL && sizeof($admin_ary))
{
$sql_where .= ' WHERE ' . $db->sql_in_set('user_id', $admin_ary) . ' AND user_allow_viewemail = 1';
}
else if ($config_contact['contact_method'] == CONTACT_METHOD_PM && sizeof($admin_ary))
{
$sql_where .= ' WHERE ' . $db->sql_in_set('user_id', $admin_ary) . ' AND user_allow_pm = 1';
}
Code: Select all
// Grab an array of user_id's with admin permissions
$admin_ary = $auth->acl_get_list(false, 'm_', false);
$admin_ary = (!empty($admin_ary[0]['m_'])) ? $admin_ary[0]['m_'] : array();
if ($config_contact['contact_method'] == CONTACT_METHOD_EMAIL && sizeof($admin_ary))
{
$sql_where .= ' WHERE ' . $db->sql_in_set('user_id', $admin_ary) . ' AND user_allow_viewemail = 1';
}
else if ($config_contact['contact_method'] == CONTACT_METHOD_PM && sizeof($admin_ary))
{
$sql_where .= ' WHERE ' . $db->sql_in_set('user_id', $admin_ary) . ' AND user_allow_pm = 1';
}