Seite 8 von 12
Verfasst: 01.10.2005 00:21
von steffi1977
neee das ist nicht das was ich meine
nur fast also die Schrift "Stimmung:" soll schon so bleiben aber dadrunter die Schrift z.B müde soll ein stück nach rechts und fett (aber nicht im Profil)
Edit: schau mal drüben in einem beitrag von mir, da siehst du was ich meine

Verfasst: 01.10.2005 00:33
von SilverDragon
ok jetzt habe ich es. noch eine frage:
wäre doch passender bei der darstellung als text, daß es nicht darunter, sondern hinter "Stimmung:" steht, oder?
Verfasst: 01.10.2005 00:38
von steffi1977
richtig das wäre super klasse, aber der Icon soll dadrunter bleiben
Verfasst: 01.10.2005 00:41
von SilverDragon
so zum beispiel?
schau mal
HIER
Verfasst: 01.10.2005 00:46
von steffi1977
ja ja ja ja ja genau sooooooo
[ externes Bild ]
Verfasst: 01.10.2005 00:55
von SilverDragon
ok, dann mach das so:
Code: Alles auswählen
#
#-----[ OPEN ]------------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------------
#
// Start add - Emotion MOD
if ($postrow[$i]['user_emotion_post'] == '0')
{
switch ($postrow[$i]['user_emotion'])
{
case 1 : $emotion_image = $lang['Emotion']."<img src=\"" . $images['icon_agressive'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Agressive']."\" title=\"" . $lang['Emotion'] . ":".$lang['Agressive']. "\" border=\"0\" />"; break;
case 2 : $emotion_image = $lang['Emotion']."<img src=\"" . $images['icon_amazed'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Amazed']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Amazed']. "\" border=\"0\" />"; break;
case 3 : $emotion_image = $lang['Emotion']."<img src=\"" . $images['icon_angry'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Angry']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Angry']. "\" border=\"0\" />"; break;
case 4 : $emotion_image = $lang['Emotion']."<img src=\"" . $images['icon_bored'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Bored']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Bored']. "\" border=\"0\" />"; break;
case 5 : $emotion_image = $lang['Emotion']."<img src=\"" . $images['icon_busy'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Busy']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Busy']. "\" border=\"0\" />"; break;
case 6 : $emotion_image = $lang['Emotion']."<img src=\"" . $images['icon_buzzed'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Buzzed']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Buzzed']. "\" border=\"0\" />"; break;
case 7 : $emotion_image = $lang['Emotion']."<img src=\"" . $images['icon_cold'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Cold']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Cold']. "\" border=\"0\" />"; break;
case 8 : $emotion_image = $lang['Emotion']."<img src=\"" . $images['icon_cool'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Cool']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Cool']. "\" border=\"0\" />"; break;
case 9 : $emotion_image = $lang['Emotion']."<img src=\"" . $images['icon_dead'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Dead']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Dead']. "\" border=\"0\" />"; break;
case 10 : $emotion_image = $lang['Emotion']."<img src=\"" . $images['icon_fine'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Fine']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Fine']. "\" border=\"0\" />"; break;
case 11 : $emotion_image = $lang['Emotion']."<img src=\"" . $images['icon_happy'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Happy']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Happy']. "\" border=\"0\" />"; break;
case 12 : $emotion_image = $lang['Emotion']."<img src=\"" . $images['icon_hot'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Hot']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Hot']. "\" border=\"0\" />"; break;
case 13 : $emotion_image = $lang['Emotion']."<img src=\"" . $images['icon_ill'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Ill']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Ill']. "\" border=\"0\" />"; break;
case 14 : $emotion_image = $lang['Emotion']."<img src=\"" . $images['icon_inlove'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Inlove']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Inlove']. "\" border=\"0\" />"; break;
case 15 : $emotion_image = $lang['Emotion']."<img src=\"" . $images['icon_inspired'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Inspired']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Inspired']. "\" border=\"0\" />"; break;
case 16 : $emotion_image = $lang['Emotion']."<img src=\"" . $images['icon_sad'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Sad']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Sad']. "\" border=\"0\" />"; break;
case 17 : $emotion_image = $lang['Emotion']."<img src=\"" . $images['icon_shocked'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Shocked']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Shocked']. "\" border=\"0\" />"; break;
case 18 : $emotion_image = $lang['Emotion']."<img src=\"" . $images['icon_sleep'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Sleep']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Sleep']. "\" border=\"0\" />"; break;
case 19 : $emotion_image = $lang['Emotion']."<img src=\"" . $images['icon_tired'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Tired']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Tired']. "\" border=\"0\" />"; break;
default : $emotion_image="";
}
}
elseif ($postrow[$i]['user_emotion_post'] == '1')
{
if ( !empty($postrow[$i]['user_emotion']))
{
switch ($postrow[$i]['user_emotion'])
{
case 1: $emotion_image = $lang['Agressive'];break;
case 2: $emotion_image = $lang['Amazed'];break;
case 3: $emotion_image = $lang['Emotion'].$lang['Angry'];break;
case 4: $emotion_image = $lang['Emotion'].$lang['Bored'];break;
case 5: $emotion_image = $lang['Emotion'].$lang['Busy'];break;
case 6: $emotion_image = $lang['Emotion'].$lang['Buzzed'];break;
case 7: $emotion_image = $lang['Emotion'].$lang['Cold'];break;
case 8: $emotion_image = $lang['Emotion'].$lang['Cool'];break;
case 9: $emotion_image = $lang['Emotion'].$lang['Dead'];break;
case 10: $emotion_image = $lang['Emotion'].$lang['Fine'];break;
case 11: $emotion_image = $lang['Emotion'].$lang['Happy'];break;
case 12: $emotion_image = $lang['Emotion'].$lang['Hot'];break;
case 13: $emotion_image = $lang['Emotion'].$lang['Ill'];break;
case 14: $emotion_image = $lang['Emotion'].$lang['Inlove'];break;
case 15: $emotion_image = $lang['Emotion'].$lang['Inspired'];break;
case 16: $emotion_image = $lang['Emotion'].$lang['Sad'];break;
case 17: $emotion_image = $lang['Emotion'].$lang['Shocked'];break;
case 18: $emotion_image = $lang['Emotion'].$lang['Sleep'];break;
case 19: $emotion_image = $lang['Emotion'].$lang['Tired'];break;
default:$emotion_image = $lang['No_emotion_specify'];
}
} else $emotion_image = $lang['No_emotion_specify'];
}
// End add - Emotion MOD
#
#-----[ REPLACE, WITH ]----------------------
#
// Start add - Emotion MOD
if ($postrow[$i]['user_emotion_post'] == '0')
{
switch ($postrow[$i]['user_emotion'])
{
case 1 : $emotion_image = $lang['Emotion']."<br /><img src=\"" . $images['icon_agressive'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Agressive']."\" title=\"" . $lang['Emotion'] . ":".$lang['Agressive']. "\" border=\"0\" />"; break;
case 2 : $emotion_image = $lang['Emotion']."<br /><img src=\"" . $images['icon_amazed'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Amazed']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Amazed']. "\" border=\"0\" />"; break;
case 3 : $emotion_image = $lang['Emotion']."<br /><img src=\"" . $images['icon_angry'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Angry']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Angry']. "\" border=\"0\" />"; break;
case 4 : $emotion_image = $lang['Emotion']."<br /><img src=\"" . $images['icon_bored'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Bored']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Bored']. "\" border=\"0\" />"; break;
case 5 : $emotion_image = $lang['Emotion']."<br /><img src=\"" . $images['icon_busy'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Busy']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Busy']. "\" border=\"0\" />"; break;
case 6 : $emotion_image = $lang['Emotion']."<br /><img src=\"" . $images['icon_buzzed'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Buzzed']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Buzzed']. "\" border=\"0\" />"; break;
case 7 : $emotion_image = $lang['Emotion']."<br /><img src=\"" . $images['icon_cold'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Cold']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Cold']. "\" border=\"0\" />"; break;
case 8 : $emotion_image = $lang['Emotion']."<br /><img src=\"" . $images['icon_cool'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Cool']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Cool']. "\" border=\"0\" />"; break;
case 9 : $emotion_image = $lang['Emotion']."<br /><img src=\"" . $images['icon_dead'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Dead']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Dead']. "\" border=\"0\" />"; break;
case 10 : $emotion_image = $lang['Emotion']."<br /><img src=\"" . $images['icon_fine'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Fine']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Fine']. "\" border=\"0\" />"; break;
case 11 : $emotion_image = $lang['Emotion']."<br /><img src=\"" . $images['icon_happy'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Happy']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Happy']. "\" border=\"0\" />"; break;
case 12 : $emotion_image = $lang['Emotion']."<br /><img src=\"" . $images['icon_hot'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Hot']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Hot']. "\" border=\"0\" />"; break;
case 13 : $emotion_image = $lang['Emotion']."<br /><img src=\"" . $images['icon_ill'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Ill']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Ill']. "\" border=\"0\" />"; break;
case 14 : $emotion_image = $lang['Emotion']."<br /><img src=\"" . $images['icon_inlove'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Inlove']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Inlove']. "\" border=\"0\" />"; break;
case 15 : $emotion_image = $lang['Emotion']."<br /><img src=\"" . $images['icon_inspired'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Inspired']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Inspired']. "\" border=\"0\" />"; break;
case 16 : $emotion_image = $lang['Emotion']."<br /><img src=\"" . $images['icon_sad'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Sad']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Sad']. "\" border=\"0\" />"; break;
case 17 : $emotion_image = $lang['Emotion']."<br /><img src=\"" . $images['icon_shocked'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Shocked']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Shocked']. "\" border=\"0\" />"; break;
case 18 : $emotion_image = $lang['Emotion']."<br /><img src=\"" . $images['icon_sleep'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Sleep']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Sleep']. "\" border=\"0\" />"; break;
case 19 : $emotion_image = $lang['Emotion']."<br /><img src=\"" . $images['icon_tired'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Tired']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Tired']. "\" border=\"0\" />"; break;
default : $emotion_image="";
}
}
elseif ($postrow[$i]['user_emotion_post'] == '1')
{
if ( !empty($postrow[$i]['user_emotion']))
{
switch ($postrow[$i]['user_emotion'])
{
case 1: $emotion_image = $lang['Emotion']."<font color='red'><b>".$lang['Agressive']."</b></font>";break;
case 2: $emotion_image = $lang['Emotion']."<font color='red'><b>".$lang['Amazed']."</b></font>";break;
case 3: $emotion_image = $lang['Emotion']."<font color='red'><b>".$lang['Angry']."</b></font>";break;
case 4: $emotion_image = $lang['Emotion']."<font color='red'><b>".$lang['Bored']."</b></font>";break;
case 5: $emotion_image = $lang['Emotion']."<font color='red'><b>".$lang['Busy']."</b></font>";break;
case 6: $emotion_image = $lang['Emotion']."<font color='red'><b>".$lang['Buzzed']."</b></font>";break;
case 7: $emotion_image = $lang['Emotion']."<font color='red'><b>".$lang['Cold']."</b></font>";break;
case 8: $emotion_image = $lang['Emotion']."<font color='red'><b>".$lang['Cool']."</b></font>";break;
case 9: $emotion_image = $lang['Emotion']."<font color='red'><b>".$lang['Dead']."</b></font>";break;
case 10: $emotion_image = $lang['Emotion']."<font color='red'><b>".$lang['Fine']."</b></font>";break;
case 11: $emotion_image = $lang['Emotion']."<font color='red'><b>".$lang['Happy']."</b></font>";break;
case 12: $emotion_image = $lang['Emotion']."<font color='red'><b>".$lang['Hot']."</b></font>";break;
case 13: $emotion_image = $lang['Emotion']."<font color='red'><b>".$lang['Ill']."</b></font>";break;
case 14: $emotion_image = $lang['Emotion']."<font color='red'><b>".$lang['Inlove']."</b></font>";break;
case 15: $emotion_image = $lang['Emotion']."<font color='red'><b>".$lang['Inspired']."</b></font>";break;
case 16: $emotion_image = $lang['Emotion']."<font color='red'><b>".$lang['Sad']."</b></font>";break;
case 17: $emotion_image = $lang['Emotion']."<font color='red'><b>".$lang['Shocked']."</b></font>";break;
case 18: $emotion_image = $lang['Emotion']."<font color='red'><b>".$lang['Sleep']."</b></font>";break;
case 19: $emotion_image = $lang['Emotion']."<font color='red'><b>".$lang['Tired']."</b></font>";break;
default:$emotion_image = $lang['No_emotion_specify'];
}
} else $emotion_image = $lang['No_emotion_specify'];
}
// End add - Emotion MOD
#
#-----[ OPEN ]--------------
#
language/lang_german/lang_main.php
#
#-----[ FIND ]---------------
#
$lang['Emotion'] = "Stimmung: <br />";
#
#-----[ REPLACE, WITH ]----------
#
$lang['Emotion'] = "Stimmung: ";
#
#-----[ OPEN ]--------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]---------------
#
$lang['Emotion'] = "Emotion: <br />";
#
#-----[ REPLACE, WITH ]----------
#
$lang['Emotion'] = "Emotion: ";
Achte, aber auf deine geänderten Icons (K.O. und Genervt).
Und wie gesagt, du kannst da jedes html einbauen was die schrift angeht..
Verfasst: 01.10.2005 01:01
von steffi1977
case 14: $emotion_image = $lang['Emotion']."<font color='red'><b>".$lang['Inlove']."</b></font>";break;
die ] fehlt
Verfasst: 01.10.2005 01:05
von SilverDragon
gut aufgepasst

, sorry, passiert mal beim kopieren

Verfasst: 01.10.2005 01:06
von steffi1977
kein Thema

Verfasst: 01.10.2005 01:25
von SilverDragon
ich habe die änderungen gleich in den Mod eingebaut, sieht besser aus. danke für deine ideen, steffi1977 *knuddel*