Impressum
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Impressum
Also ich habe den Impressum Mod aus der Mod Datenank von hier eingebaut, die Adressen und alles richtig eingestellt, habe aber noch ein Problem.
Bei dem Link das man mir eine Email schreiben kann, steht nur mailto: und keine Emailadresse...
Was muss ich da noch ändern?
Kevin
Bei dem Link das man mir eine Email schreiben kann, steht nur mailto: und keine Emailadresse...
Was muss ich da noch ändern?
Kevin
- Leuchte
- Ehemaliges Teammitglied
- Beiträge: 9179
- Registriert: 26.05.2003 14:57
- Wohnort: Duisburg
- Kontaktdaten:
Kannst du einen Link zum Impressum posten?
Normalerweise sollte der EMail-Button zu deinem Profil führen.
Aber du könntest auch in der impressum_body.tpl anstelle von
Normalerweise sollte der EMail-Button zu deinem Profil führen.
Aber du könntest auch in der impressum_body.tpl anstelle von
direkt deine Mailadresse eintragen:<a href="profile.php?mode=email&u=2">{EMAIL_IMG}</a>
<a href="mailto:deine-mail@adres.se">{EMAIL_IMG}</a>
www.baumschueler.de/forum/impressum.php
auch wenn ich meine Emailadresse direkt eingebe passiert nichts...
Kevin
auch wenn ich meine Emailadresse direkt eingebe passiert nichts...
Kevin
Habe jetzt die impressum.php und die impressum_body.tpl neu hochgeladen und immernochnichts...
Auszug aus der impressum_body.tpl
impressum.php
Kevin
Auszug aus der impressum_body.tpl
Code: Alles auswählen
.......
<br>
{Impressumtext12}
<br>
<a href="profile.php?mode=email&u=2">{EMAIL_IMG}</a> <a href="privmsg.php?mode=post&u=2">{PM_IMG}</a>
<br><br>
<b>{Impressumtext13}</b>
{Impressumtext5}
......
Code: Alles auswählen
define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
$userdata = session_pagestart($user_ip, PAGE_IMPRESSUM);
init_userprefs($userdata);
// Load the appropriate impressum language file START
if( isset($HTTP_GET_VARS['mode']) )
{
switch( $HTTP_GET_VARS['mode'] )
{
default:
$lang_file = 'lang_impressum';
$l_title = $lang['impressum'];
break;
}
}
else
{
$lang_file = 'lang_impressum';
$l_title = $lang['impressum'];
}
include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/' . $lang_file . '.' . $phpEx);
// Load the appropriate impressum language file ENDE
// Restrict to members:
//if( !$userdata['session_logged_in'] )
//{
// header("Location: " . append_sid("login.$phpEx?redirect=impressum.$phpEx", true));
// exit;
//}
// EMAIL and PM Images:
$email_uri = ( $board_config['board_email_form'] ) ? append_sid("profile.$phpEx?mode=email&" . POST_USERS_URL .'=2') : 'mailto:' . $profiledata['user_email'];
$email_img = '<a href="' . $email_uri . '"><img src="' . $images['icon_email'] . '" alt="' . $lang['Send_email'] . '" title="' . $lang['Send_email'] . '" border="0" /></a>';
$email = '<a href="' . $email_uri . '">' . $lang['Send_email'] . '</a>';
$pm_img = '<img src="' . $images['icon_pm'] . '" alt="' . $lang['Send_private_message'] . '" title="' . $lang['Send_private_message'] . '" border="0" />';
$pm = '<a href="' . $temp_url . '">' . $lang['Send_private_message'] . '</a>';
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
$template->assign_vars(array(
'Impressumtext1' => $lang['Impressumtext1'],
'Impressumtext2' => $lang['Impressumtext2'],
'Impressumtext3' => $lang['Impressumtext3'],
'Impressumtext4' => $lang['Impressumtext4'],
'Impressumtext5' => $lang['Impressumtext5'],
'Impressumtext6' => $lang['Impressumtext6'],
'Impressumtext7' => $lang['Impressumtext7'],
'Impressumtext8' => $lang['Impressumtext8'],
'Impressumtext9' => $lang['Impressumtext9'],
'Impressumtext10' => $lang['Impressumtext10'],
'Impressumtext11' => $lang['Impressumtext11'],
'Impressumtext12' => $lang['Impressumtext12'],
'Impressumtext13' => $lang['Impressumtext13'],
'Impressumtext14' => $lang['Impressumtext14'],
'Impressumtext15' => $lang['Impressumtext15'],
'Impressumtext16' => $lang['Impressumtext16'],
'Impressumtext17' => $lang['Impressumtext17'],
'Impressumtext18' => $lang['Impressumtext18'],
'Impressumtext19' => $lang['Impressumtext19'],
'Impressumtext20' => $lang['Impressumtext20'],
'Impressumtext21' => $lang['Impressumtext21'],
'Impressumtext22' => $lang['Impressumtext22'],
'Impressumtext23' => $lang['Impressumtext23'],
'Impressumtext24' => $lang['Impressumtext24'],
'Impressumtext25' => $lang['Impressumtext25'],
'Impressumtext26' => $lang['Impressumtext26'],
'Impressumtext27' => $lang['Impressumtext27'],
'EMAIL_IMG' => $email_img,
'EMAIL' => $email,
'PM_IMG' => $pm_img,
'PM' => $pm,
'L_EMAIL_ADDRESS' => $lang['Email_address'],
'L_EMAIL' => $lang['Email'])
);
$template->set_filenames(array(
'body' => 'impressum_body.tpl')
);
$template->pparse('body');
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>
Kevin
- Leuchte
- Ehemaliges Teammitglied
- Beiträge: 9179
- Registriert: 26.05.2003 14:57
- Wohnort: Duisburg
- Kontaktdaten:
Sieht bei mir auch so aus. Da fällt mir im Moment nur das wieder ein
Leuchte hat geschrieben:Aber du könntest auch in der impressum_body.tpl anstelle vondirekt deine Mailadresse eintragen:<a href="profile.php?mode=email&u=2">{EMAIL_IMG}</a><a href="mailto:deine-mail@adres.se">{EMAIL_IMG}</a>