Yellow Card

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
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.
Benutzeravatar
Isaac
Mitglied
Beiträge: 351
Registriert: 14.01.2006 13:28
Wohnort: Vale
Kontaktdaten:

Beitrag von Isaac »

Mach ich doch gern.

Open: Viewtopic.php
Find:
// these lines will make a icon apear beside users post, if user have warnings or ar banned
// used instead of the previous line of code, witch shows the status as a text
// ------ From here --- do not include this line
//$card_img = ($user_warnings) ? '<img src="'.(( $user_warnings < //$board_config['max_user_bancard']) ?
//$images['icon_y_card'] . '" alt="'. sprintf($lang['Warnings'], //$user_warnings) .'">' :
//$images['icon_r_card'] . '" alt="'. $lang['Banned'] .'">') : '';
// ----- To this line --- Do not included this line
//
// You may also included several images, instead of only one yellow, these lines below will produce several yellow images, depending on mumber of yellow cards
// ------ From here --- do not include this line
//$card_img = ($user_warnings >= $board_config['max_user_bancard']) ? '<img src="'.$images['icon_r_card'] . '" alt="'. $lang['Banned'] .'">' : '';
//for ($n=0 ; $n<$user_warnings && $user_warnings < //$board_config['max_user_bancard'];$n++)
//{
//$card_img .= ($user_warnings) ? '<img src="'.(( $user_warnings < //$board_config['max_user_bancard']) ?
//$images['icon_y_card'] . '" alt="'. sprintf($lang['Warnings'], //$user_warnings) .'">' :
//$images['icon_r_card'] . '" alt="'. $lang['Banned'] .'">') : '';
//}
// ----- To this line --- Do not included this line
Replace with:
// these lines will make a icon apear beside users post, if user have warnings or ar banned
// used instead of the previous line of code, witch shows the status as a text
// ------ From here --- do not include this line
$card_img = ($user_warnings) ? '<img src="'.(( $user_warnings < $board_config['max_user_bancard']) ?
$images['icon_y_card'] . '" alt="'. sprintf($lang['Warnings'], $user_warnings) .'">' :
$images['icon_r_card'] . '" alt="'. $lang['Banned'] .'">') : '';
// ----- To this line --- Do not included this line
//
// You may also included several images, instead of only one yellow, these lines below will produce several yellow images, depending on mumber of yellow cards
// ------ From here --- do not include this line
$card_img = ($user_warnings >= $board_config['max_user_bancard']) ? '<img src="'.$images['icon_r_card'] . '" alt="'. $lang['Banned'] .'">' : '';
for ($n=0 ; $n<$user_warnings && $user_warnings < $board_config['max_user_bancard'];$n++)
{
$card_img .= ($user_warnings) ? '<img src="'.(( $user_warnings < $board_config['max_user_bancard']) ?
$images['icon_y_card'] . '" alt="'. sprintf($lang['Warnings'], $user_warnings) .'">' :
$images['icon_r_card'] . '" alt="'. $lang['Banned'] .'">') : '';
}
// ----- To this line --- Do not included this line
Benutzeravatar
Isaac
Mitglied
Beiträge: 351
Registriert: 14.01.2006 13:28
Wohnort: Vale
Kontaktdaten:

Beitrag von Isaac »

Hm ich habe den MOD eben auf einem anderen Board neu installiert. jedoch wird das Bild jetzt über dem Avatar angezeigt. Wie kann man das ändern?
Benutzeravatar
Isaac
Mitglied
Beiträge: 351
Registriert: 14.01.2006 13:28
Wohnort: Vale
Kontaktdaten:

Beitrag von Isaac »

Die Schrift wird auch drüber angezeigt... Hilfe was hab ich beim Einbau falsch gemacht??
Benutzeravatar
Isaac
Mitglied
Beiträge: 351
Registriert: 14.01.2006 13:28
Wohnort: Vale
Kontaktdaten:

Beitrag von Isaac »

Ok hat sich erledigt.
Antworten

Zurück zu „phpBB 2.0: Mod Support“