Please help, das nervt, das Problem
Stimmungs-/Befindlichkeitsmod?
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.
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.
-
Galley_Beggar
- Mitglied
- Beiträge: 4
- Registriert: 22.04.2006 06:54
Ä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
Naja... hat sich also erledigt
---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
Naja... hat sich also erledigt
-
Galley_Beggar
- Mitglied
- Beiträge: 4
- Registriert: 22.04.2006 06:54
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:
----->
und
---->
und in den beiden Sprachfiles ebenfalls so:
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
Ä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;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";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
-
DerMardin1979
- Mitglied
- Beiträge: 25
- Registriert: 20.06.2006 08:07
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
Wäre nett wenn ihr mir ein bissl helfen könntet!!
Danke
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
Hinter dem Zeilenende oder noch in die Zeile nach dem Gleichheitszeichen? Wenn nach dem Gleichheitszeichen bekomme ich eine Fehlermeldung// 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
Wäre nett wenn ihr mir ein bissl helfen könntet!!
Danke
- dopppeldecker
- Mitglied
- Beiträge: 248
- Registriert: 24.10.2004 10:40
- Wohnort: Erndtebrück
- Kontaktdaten:
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:
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>';greetz dopppeldecker
- dopppeldecker
- Mitglied
- Beiträge: 248
- Registriert: 24.10.2004 10:40
- Wohnort: Erndtebrück
- Kontaktdaten:
- SilverDragon
- Mitglied
- Beiträge: 238
- Registriert: 31.07.2005 21:49
- Wohnort: Osnabrück
- Kontaktdaten: