Yes it does. I have installed it on my phpBB 3.0.1 and work fine.t-p wrote: (1) Does it work with BB3.0.1, prosilver style?
(
Yes, it is possible to replace the mailto links that point to the admin's email address with a link to your formmail. You will have to modify some files for this. Please see:t-p wrote: (3) As I already have a working formmail, can I accomplish my goal by editing some files replacing the email link with my formmail link without installing this MOD?
Code: Select all
# ./posting.php : 1 change
Find the line:
Code: Select all
'L_POST_CONFIRM_EXPLAIN' => sprintf($user->lang['POST_CONFIRM_EXPLAIN'], '<a href="mailto:' . htmlspecialchars($config['board_contact']) . '">', '</a>'),
Replace with:
Code: Select all
'L_POST_CONFIRM_EXPLAIN' => sprintf($user->lang['POST_CONFIRM_EXPLAIN'], '<a href="' . append_sid("{$phpbb_root_path}contact.$phpEx") . '" title="' . $user->lang['CONTACT_BOARD_ADMIN'] . '">', '</a>'),
# ./includes/functions.php :- 4 changes
Find the line:
Code: Select all
'L_LOGIN_CONFIRM_EXPLAIN' => sprintf($user->lang['LOGIN_CONFIRM_EXPLAIN'], '<a href="mailto:' . htmlspecialchars($config['board_contact']) . '">', '</a>'),
Replace with:
Code: Select all
'L_LOGIN_CONFIRM_EXPLAIN' => sprintf($user->lang['LOGIN_CONFIRM_EXPLAIN'], '<a href="' . append_sid("{$phpbb_root_path}contact.$phpEx") . '" title="' . $user->lang['CONTACT_BOARD_ADMIN'] .'">', '</a>'),
Find the line:
Code: Select all
($config['board_contact']) ? '<a href="mailto:' . htmlspecialchars($config['board_contact']) . '">' : '',
Replace with:
Code: Select all
($config['board_contact']) ? '<a href="' . append_sid("{$phpbb_root_path}contact.$phpEx") . '" title="' . $user->lang['CONTACT_BOARD_ADMIN'] . '">' : '',
Find the line:
Code: Select all
$err = (!$config['board_contact']) ? sprintf($user->lang[$result['error_msg']], '', '') : sprintf($user->lang[$result['error_msg']], '<a href="mailto:' . htmlspecialchars($config['board_contact']) . '">', '</a>');
Replace with:
Code: Select all
$err = (!$config['board_contact']) ? sprintf($user->lang[$result['error_msg']], '', '') : sprintf($user->lang[$result['error_msg']], '<a href="' . append_sid("{$phpbb_root_path}contact.$phpEx") . '" title="' . $user->lang['CONTACT_BOARD_ADMIN'] . '">', '</a>');
Find the line:
Code: Select all
$l_notify = '<p>Please notify the board administrator or webmaster: <a href="mailto:' . $config['board_contact'] . '">' . $config['board_contact'] . '</a></p>';
Replace with:
Code: Select all
$l_notify = '<p>Please notify the board administrator or webmaster: <a href="' . append_sid("{$phpbb_root_path}contact.$phpEx") . '" title="' . $user->lang['CONTACT_BOARD_ADMIN'] . '">' . '</a></p>';
# ./includes/session.php : 1 change
Find the line:
Code: Select all
$message = sprintf($this->lang[$message], $till_date, '<a href="mailto:' . $config['board_contact'] . '">', '</a>');
Replace with:
Code: Select all
$message = sprintf($this->lang[$message], $till_date, '<a href="' . append_sid("{$phpbb_root_path}contact.$phpEx") . '" title="' . $user->lang['CONTACT_BOARD_ADMIN'] .'">', '</a>');
# ./includes/db/dbal.php : 1 change
Find the line:
Code: Select all
$message .= '<br /><br />' . sprintf($user->lang['SQL_ERROR_OCCURRED'], '<a href="mailto:' . htmlspecialchars($config['board_contact']) . '">', '</a>');
Replace with:
Code: Select all
$message .= '<br /><br />' . sprintf($user->lang['SQL_ERROR_OCCURRED'], '<a href="' . append_sid("{$phpbb_root_path}contact.$phpEx") . '" title="' . $user->lang['CONTACT_BOARD_ADMIN'] .'">', '</a>');
# ./includes/ucp/ucp_register.php : 1 change
Find the line:
Code: Select all
'L_CONFIRM_EXPLAIN' => sprintf($user->lang['CONFIRM_EXPLAIN'], '<a href="mailto:' . htmlspecialchars($config['board_contact']) . '">', '</a>'),
Replace with:
Code: Select all
'L_CONFIRM_EXPLAIN' => sprintf($user->lang['CONFIRM_EXPLAIN'], '<a href="' . append_sid("{$phpbb_root_path}contact.$phpEx") . '" title="' . $user->lang['CONTACT_BOARD_ADMIN'] . '">', '</a>'),
# ./language/en/common.php : 1 change
Find the line:
Code: Select all
'NOTIFY_ADMIN_EMAIL' => 'Please notify the board administrator or webmaster: <a href="mailto:%1$s">%1$s</a>',
Replace with:
Code: Select all
'NOTIFY_ADMIN_EMAIL' => 'Please notify the <a href="' . append_sid("{$phpbb_root_path}contact.$phpEx") . '" title="' . $user->lang['CONTACT_BOARD_ADMIN'] . '">Board Administrator.</a>',
After the "href" like so:t-p wrote: The url address of my formmail is: http://www.mysite.org/contactus/formmail.php
Please help me as to where I am supposed to insert the above linkl?
Code: Select all
'L_POST_CONFIRM_EXPLAIN' => sprintf($user->lang['POST_CONFIRM_EXPLAIN'], '<a href="http://www.mysite.org/contactus/formmail.php" title="Contact Admin">', '</a>'),
?? should have been ø and å...Dersom dere ??nsker ?? anmelde
This is exactly what I was going to ask about. My e-mail subject won't show those letters. ð æ öNeoID wrote:It looks like some files has wrong charset or something as the PM's I get are missing the Norwegian characters.?? should have been ø and å...Dersom dere ??nsker ?? anmelde
Anyone have a clue what to change/look at?
Code: Select all
You can not use the contact form at the moment, because it has been disabled.