Stimmungs-/Befindlichkeitsmod?

Du suchst einen bestimmten Mod, weißt aber nicht genau wo bzw. ob er überhaupt existiert? Wenn dir dieser Artikel nicht weiterhilft, kannst du hier den von dir gewünschten/gesuchten Mod beschreiben ...
Falls ein Mod-Autor eine der Anfragen hier aufnimmt um einen neuen Mod zu entwicklen, geht's in phpBB 2.0: Mods in Entwicklung weiter.
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
SilverDragon
Mitglied
Beiträge: 238
Registriert: 31.07.2005 21:49
Wohnort: Osnabrück
Kontaktdaten:

Beitrag von SilverDragon »

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 = "<img src=\"" . $images['icon_agressive'] . "\" alt=\"" . $lang['Emotion'].  ":".$lang['Agressive']."\" title=\"" . $lang['Emotion'] . ":".$lang['Agressive']. "\" border=\"0\" />"; break;
		case 2 : $emotion_image = "<img src=\"" . $images['icon_amazed'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Amazed']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Amazed']. "\" border=\"0\" />"; break;
		case 3 : $emotion_image = "<img src=\"" . $images['icon_angry'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Angry']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Angry']. "\" border=\"0\" />"; break;
		case 4 : $emotion_image = "<img src=\"" . $images['icon_bored'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Bored']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Bored']. "\" border=\"0\" />"; break;
		case 5 : $emotion_image = "<img src=\"" . $images['icon_busy'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Busy']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Busy']. "\" border=\"0\" />"; break;
		case 6 : $emotion_image = "<img src=\"" . $images['icon_buzzed'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Buzzed']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Buzzed']. "\" border=\"0\" />"; break;
		case 7 : $emotion_image = "<img src=\"" . $images['icon_cold'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Cold']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Cold']. "\" border=\"0\" />"; break;
		case 8 : $emotion_image = "<img src=\"" . $images['icon_cool'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Cool']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Cool']. "\" border=\"0\" />"; break;
		case 9 : $emotion_image = "<img src=\"" . $images['icon_dead'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Dead']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Dead']. "\" border=\"0\" />"; break;
		case 10 : $emotion_image = "<img src=\"" . $images['icon_fine'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Fine']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Fine']. "\" border=\"0\" />"; break;
		case 11 : $emotion_image = "<img src=\"" . $images['icon_happy'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Happy']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Happy']. "\" border=\"0\" />"; break;
    	case 12 : $emotion_image = "<img src=\"" . $images['icon_hot'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Hot']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Hot']. "\" border=\"0\" />"; break;
    	case 13 : $emotion_image = "<img src=\"" . $images['icon_ill'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Ill']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Ill']. "\" border=\"0\" />"; break;
		case 14 : $emotion_image = "<img src=\"" . $images['icon_inlove'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Inlove']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Inlove']. "\" border=\"0\" />"; break;
		case 15 : $emotion_image = "<img src=\"" . $images['icon_inspired'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Inspired']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Inspired']. "\" border=\"0\" />"; break;
		case 16 : $emotion_image = "<img src=\"" . $images['icon_sad'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Sad']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Sad']. "\" border=\"0\" />"; break;
		case 17 : $emotion_image = "<img src=\"" . $images['icon_shocked'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Shocked']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Shocked']. "\" border=\"0\" />"; break;
		case 18 : $emotion_image = "<img src=\"" . $images['icon_sleep'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Sleep']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Sleep']. "\" border=\"0\" />"; break;
		case 19 : $emotion_image = "<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']."<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

#
#-----[ OPEN ]--------
# in ordnern english und german

lang_main.php

#
#-----[ FIND ]---------
#
$lang['Emotion'] = "Emotion";

#
#-----[ REPLACE WITH ]------------
# english
$lang['Emotion'] = "Emotion: <br />";

#
#-----[ REPLACE WITH ]------------
# gemrn
$lang['Emotion'] = "Stimmung: <br />";

damit sollte das "Stimmung wieder da sein.

das einbauen mit neuen emotions ist kein problem, hast du schon icons dafür?
...Versuch macht klug....
steffi1977
Mitglied
Beiträge: 1578
Registriert: 10.01.2004 22:49
Wohnort: Moers
Kontaktdaten:

Beitrag von steffi1977 »

jepp jetzt ist die Schrift wieder da :-)

Nein ich habe noch keine Icons, muss ich dann erst basteln.

Setze mich gleich dran bzw ich versuche es, bin nicht so gut in kleinen icons *lol*
steffi1977
Mitglied
Beiträge: 1578
Registriert: 10.01.2004 22:49
Wohnort: Moers
Kontaktdaten:

Beitrag von steffi1977 »

ich habe mal 2 icon, leider habe ich kein Rahmen rum bekommen *zu blöd bin* :(


[ externes Bild ]
[ externes Bild ]
steffi1977
Mitglied
Beiträge: 1578
Registriert: 10.01.2004 22:49
Wohnort: Moers
Kontaktdaten:

Beitrag von steffi1977 »

Wo kann ich den die Einstellung zu der Schrift (statt Icons) machen ??
Weil mit Icon sieht das untereinander in den Beiträgen toll aus, aber mit der schrift sieht es nach nichts halben und nichts ganzes aus :D
Benutzeravatar
SilverDragon
Mitglied
Beiträge: 238
Registriert: 31.07.2005 21:49
Wohnort: Osnabrück
Kontaktdaten:

Beitrag von SilverDragon »

meinst du, wo du einstellen kannst, ob die stimmung als schrift angezeigt wird? das geht doch im profil. direkt unter der stimmungsauswahl:
Stimmung im Profil als: Als EmoIcon Als Text

Stimmung im Beitrag als: Als EmoIcon Als Text
oder was meinst du?
...Versuch macht klug....
steffi1977
Mitglied
Beiträge: 1578
Registriert: 10.01.2004 22:49
Wohnort: Moers
Kontaktdaten:

Beitrag von steffi1977 »

nein, wenn im Profil angegeben "Als Text ".
Meine ich den Text der dann in den Beiträgen angezeigt wird neben (bzw in meinem Fall unter) Stimmung:
Benutzeravatar
SilverDragon
Mitglied
Beiträge: 238
Registriert: 31.07.2005 21:49
Wohnort: Osnabrück
Kontaktdaten:

Beitrag von SilverDragon »

ach du meinst z.b. die Schriftart oder Größe.

wenn du den text selbst meinst. der steht in der lang_main.php
...Versuch macht klug....
steffi1977
Mitglied
Beiträge: 1578
Registriert: 10.01.2004 22:49
Wohnort: Moers
Kontaktdaten:

Beitrag von steffi1977 »

wenn ich das in der lang_main änder, sieht man so auch die schrift im Profil oder ??
Weil im Profil ist die Schrift ja ok :)
Benutzeravatar
SilverDragon
Mitglied
Beiträge: 238
Registriert: 31.07.2005 21:49
Wohnort: Osnabrück
Kontaktdaten:

Beitrag von SilverDragon »

dann kannst du dies in der viewtopic.php zu machen:

Code: Alles auswählen

#
#-----[ FIND ]-----------
#
// Start add - Emotion MOD
'POSTER_EMOTION' => $emotion_image."<br />",
// End add - Emotion MOD

#
#-----[ REPLACE, WITH ]-------
#
// Start add - Emotion MOD
'POSTER_EMOTION' => "<font color='black' size='2'><b>".$emotion_image."</b></font><br />",
// End add - Emotion MOD
in diesem beispiel würde dann die schriftfarbe auf schwarz, größe auf 2 gesetzt und Fettdruck geändert. Du kannst da alle html-befehle für die schrift einbauen.
...Versuch macht klug....
steffi1977
Mitglied
Beiträge: 1578
Registriert: 10.01.2004 22:49
Wohnort: Moers
Kontaktdaten:

Beitrag von steffi1977 »

ich teste mal, danke
Antworten

Zurück zu „phpBB 2.0: Mod Suche/Anfragen“