yellow card mod Warnigns: veranderen naar een Plaatje

Hulp nodig bij een modificaties of op zoek naar een MOD? Bekijk ons archief. Support wordt helaas niet meer verleend.
Forumregels

Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
phpBB2.0.x
Gesloten
halsiemp3
Berichten: 363
Lid geworden op: 10 mar 2005, 13:24

yellow card mod Warnigns: veranderen naar een Plaatje

Bericht door halsiemp3 » 05 mei 2006, 14:37

nu staat er op mijn forum warnings:1 nu wil ik dat daar de gele kaart komt te staan hoe kan ik dat aanpassen..?

Gebruikersavatar
Cheeta
Berichten: 1165
Lid geworden op: 11 jan 2004, 11:26
Locatie: Mijdrecht Sites: -- Derbi Club --
Contacteer:

Bericht door Cheeta » 05 mei 2006, 23:01

mijn mod versie doet dat wel gewoon dus waarschijnlijk heb je een oudere versie.
Don't mess with BD and save the Cheeta's!

Gebruikersavatar
Carlo Claessen
Berichten: 1280
Lid geworden op: 02 jul 2005, 14:05

Bericht door Carlo Claessen » 06 mei 2006, 01:27

incorrecte info cheeta.

je moet viewtopic openen, daar zie je een paar codes uitgezet door middel van //

lees dat stukje goed door en je weet waar je het aanzet en wisseld.
''Do not meddle in the affairs of wizards, for they are subtle and quick to anger. '' J.R.R Tolkien

halsiemp3
Berichten: 363
Lid geworden op: 10 mar 2005, 13:24

Bericht door halsiemp3 » 06 mei 2006, 15:33

dit staat er maar snap er geen bal van..:$
kan iemand het wat makkelijker uitleggen..?:$

Code: Selecteer alles

// 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

arjan2
Berichten: 85
Lid geworden op: 10 dec 2005, 15:45

Bericht door arjan2 » 06 mei 2006, 15:58

Code: Selecteer alles

// 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

Gebruikersavatar
Cheeta
Berichten: 1165
Lid geworden op: 11 jan 2004, 11:26
Locatie: Mijdrecht Sites: -- Derbi Club --
Contacteer:

Bericht door Cheeta » 06 mei 2006, 20:24

ah ok stom ja maar die had ik al geaktiveerd :oops:
Don't mess with BD and save the Cheeta's!

halsiemp3
Berichten: 363
Lid geworden op: 10 mar 2005, 13:24

Bericht door halsiemp3 » 08 mei 2006, 10:25

kan iemand het miss makkelijker voor me neerzetten wat ik moet zoeken en wat ik moet editen snap er nu echt geen drol van..:$

Gesloten