Hallo User-Einer
Öffne
includes/bbcode.php
Finde
Code: Alles auswählen
/**
* Return bbcode template
*/
function bbcode_tpl($tpl_name, $bbcode_id = -1, $skip_bitfield_check = false)
{
static $bbcode_hardtpl = array();
if (empty($bbcode_hardtpl))
{
global $user;
$bbcode_hardtpl = array(
'b_open' => '<span style="font-weight: bold">',
'b_close' => '</span>',
'i_open' => '<span style="font-style: italic">',
'i_close' => '</span>',
'u_open' => '<span style="text-decoration: underline">',
'u_close' => '</span>',
'img' => '<img src="$1" alt="' . $user->lang['IMAGE'] . '" />',
'size' => '<span style="font-size: $1%; line-height: normal">$2</span>',
'color' => '<span style="color: $1">$2</span>',
'email' => '<a href="mailto:$1">$2</a>'
);
}
Ersetze mit
Code: Alles auswählen
/**
* Return bbcode template
*/
function bbcode_tpl($tpl_name, $bbcode_id = -1, $skip_bitfield_check = false)
{
static $bbcode_hardtpl = array();
if (empty($bbcode_hardtpl))
{
global $user;
// No_Pics_4_Guests_by_4seven/2008
if ($user->data['user_id'] == ANONYMOUS)
{
$bbcode_hardtpl = array(
'b_open' => '<span style="font-weight: bold">',
'b_close' => '</span>',
'i_open' => '<span style="font-style: italic">',
'i_close' => '</span>',
'u_open' => '<span style="text-decoration: underline">',
'u_close' => '</span>',
'size' => '<span style="font-size: $1%; line-height: normal">$2</span>',
'color' => '<span style="color: $1">$2</span>',
'email' => '<a href="mailto:$1">$2</a>',
'img' => '<img src="' . $phpbb_root_path . 'images/nichts_da.png" width="120" height="55" alt="Nichts zu sehen? - Melde dich an und logg Dich ein!" />');
}
else
{
$bbcode_hardtpl = array(
'b_open' => '<span style="font-weight: bold">',
'b_close' => '</span>',
'i_open' => '<span style="font-style: italic">',
'i_close' => '</span>',
'u_open' => '<span style="text-decoration: underline">',
'u_close' => '</span>',
'size' => '<span style="font-size: $1%; line-height: normal">$2</span>',
'color' => '<span style="color: $1">$2</span>',
'email' => '<a href="mailto:$1">$2</a>',
'img' => '<img src="$1" alt="' . $user->lang['IMAGE'] . '" />');
}}
// No_Pics_4_Guests_by_4seven/2008
Im Ordner
images ein Bild deiner Wahl hochladen und an dieser Stelle Link, Größe und Alternativ-Text anpassen
Code: Alles auswählen
<img src="' . $phpbb_root_path . 'images/nichts_da.png" width="120" height="55" alt="Nichts zu sehen? - Meld dich an und logg Dich ein!" />
[ externes Bild ]
lg
4seven