Seite 11 von 12

Verfasst: 03.04.2006 16:59
von ID744601
*push2*

Please help, das nervt, das Problem :(

Verfasst: 15.04.2006 01:54
von ID744601
nochmal zum Problem:

Bei mir wird bei der Registrierung auch manchmal die Stimmung "Traurig" ausgewählt.

Verfasst: 22.05.2006 17:52
von Galley_Beggar
Ähm, ist der Mod noch irgendwo verfügbar? In der Mod-DB ist er jedenfalls nicht mehr vorhanden.


---edit---

okay, habs doch gefunden...

nur erstmal drauf kommen.

Wenn ich direkt nach "Emotions" suche, bekomm ich kein Ergebnis (obwohl der Mod so heißt), jedoch wenn ich nach "Stimmung" such, dann spuckt ers mir aus :roll:

Naja... hat sich also erledigt :D

Verfasst: 24.05.2006 14:35
von Galley_Beggar
Tach.

Ähm, hab ein kleines Problem mit dem Mod.

Ich hab ihn soweit installiert. Hat auch geklappt. Ich hatte aber ein paar Emotions geändert und ersetzt (zum Arbeit ersparen hab ich die die alten nur neu überspeichert, der gif-name ist also noch identisch).
So ist der "Busy" bei mir jetzt ein "Verwirrt".
Alles soweit so gut, wird auch angezeigt, aber im Profil, wo die Emotions ausgewählt werden, da stehen noch die ganzen alten englischen Bezeichnungen.

Ich habe dann sogar den Emotioncode im englischen lang_main.php umgeändert, aber trotzdem. Es bleibt bei den alten englischen Emotionbezeichnungen.

Schließlich habe ich folgende Zeilen gänzlich geändert:

Code: Alles auswählen

case 5 : $emotion_image = $lang['Emotion'].": <img src=\"" . $images['icon_busy'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Busy']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Busy']. "\" border=\"0\" />"; break;
----->

Code: Alles auswählen

case 5 : $emotion_image = $lang['Emotion'].": <img src=\"" . $images['icon_busy'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Verwirrt']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Verwirrt']. "\" border=\"0\" />"; break;
und

Code: Alles auswählen

case 5: $emotion=$lang['Busy'];break;
---->

Code: Alles auswählen

case 5: $emotion=$lang['Verwirrt'];break;

und in den beiden Sprachfiles ebenfalls so:

Code: Alles auswählen

$lang['Verwirrt'] = "Confused";

$lang['Verwirrt'] = "Verwirrt";
Aber im Profil ists dennoch "Busy" o_O


So... und jetzt Problem Nummer Zwei:

Ich hab das Wort "Stimmung" gelöscht, weil es mich gestört hat. Jetzt steht da aber vor dem gif noch ein dummer ":" ..... wo steht der? Ich hab zwar schon eine Vermutung:

Code:
case 5 : $emotion_image = $lang['Emotion'].": <img src=\"" . $images['icon_busy'] . "\" alt=\"" . $lang['Emotion']. ":".$lang['Verwirrt']. "\" title=\"" . $lang['Emotion'] . ":".$lang['Verwirrt']. "\" border=\"0\" />"; break;

Will da jetzt aber nicht wild rein löschen. Wenn ich jedoch mit meiner Vermutung richtig liege, muss ich dann den ":" in jeder case-Zeile löschen?


Nummer Drei:

Neue Emoticos stehen im Profil nicht zur verfügung, bzw. werden nicht angezeigt/aufgelistet.


So...

Soviel von mir *g*

Gruß
Galley

Verfasst: 26.06.2006 13:01
von DerMardin1979
Hi zusammen...

ich habe mir mal alle Beiträge zu diesem Thema durchgelesen und leider konnte mir noch net so wirklich geholfen werden.

An welcher Stelle genau mit diesem Quellcode der Datei: viewtopic.php
// Start add - Emotion MOD
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="";
}
// End add - Emotion MOD
Hinter dem Zeilenende oder noch in die Zeile nach dem Gleichheitszeichen? Wenn nach dem Gleichheitszeichen bekomme ich eine Fehlermeldung :(

Wäre nett wenn ihr mir ein bissl helfen könntet!!

Danke

Verfasst: 29.06.2006 18:08
von dopppeldecker
Der Code kommt natürlich nicht hinter das Gleichzeichen. Der Codeschnipsel ist ja nur ein Auschnitt aus der Reihe welche ja in Wirklichkeit viel länger ist. Der neue Code gehört in die nächste Zeile.


Wenn Du den Code eingebaut hast sollte deine viewtopic.php so aussehen:

Code: Alles auswählen

		$profile_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_profile'] . '" alt="' . $lang['Read_profile'] . '" title="' . $lang['Read_profile'] . '" border="0" /></a>';
		$profile = '<a href="' . $temp_url . '">' . $lang['Read_profile'] . '</a>';

		$temp_url = append_sid("privmsg.$phpEx?mode=post&" . POST_USERS_URL . "=$poster_id");
		$pm_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_pm'] . '" alt="' . $lang['Send_private_message'] . '" title="' . $lang['Send_private_message'] . '" border="0" /></a>';
		// Start add - Emotion MOD
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="";
}
// End add - Emotion MOD
		$pm = '<a href="' . $temp_url . '">' . $lang['Send_private_message'] . '</a>';

Verfasst: 22.08.2006 05:22
von KinGSiN
der download des mods funzt nicht mehr :(

hat mir jemand einen kunktionierenden link oder kann mir den mod mailen - danke

Verfasst: 22.08.2006 19:16
von dopppeldecker
Wie soll man dir den Mod mailen wenn du keine Mailadresse angegeben hast ?? :o

Verfasst: 22.08.2006 22:20
von KinGSiN
sorry, mein fehler :oops:

Verfasst: 25.08.2006 07:11
von SilverDragon
Der MOD wird nicht mehr von mir Weitergeführt.
Mein Testforum und der Downloadlink sind nicht mehr verfügbar.

Ich arbeite an einem neuen/aktuellen Testforum und weiteren neuen MOD´s.

So long....

SilverDragon