ICQ-Fix

Probleme bei der regulären Arbeiten mit phpBB, Fragen zu Vorgehensweisen oder Funktionsweise sowie sonstige Fragen zu phpBB im Allgemeinen.
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.1, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Gesperrt
Benutzeravatar
cYbercOsmOnauT
Ehemaliges Teammitglied
Beiträge: 3820
Registriert: 18.02.2004 23:02
Wohnort: Göttingen
Kontaktdaten:

ICQ-Fix

Beitrag von cYbercOsmOnauT »

Mirabilis hat den Addlink von ICQ geändert. Demzufolge sieht man beim Klick auf das ICQ-Symbol der Benutzer nur noch eine Errorpage. (Danke an Helmut71, der mich darauf aufmerksam gemacht hat)

Hier der Fix dafür:

Code: Alles auswählen

#
#-----[ OPEN ]------------------------------------------
#
groupcp.php

#
#-----[ FIND ]------------------------------------------
#
		$icq_img = '<a href="http://wwp.icq.com/scripts/search.dll?to=' . $row['user_icq'] . '"><img src="' . $images['icon_icq'] . '" alt="' . $lang['ICQ'] . '" title="' . $lang['ICQ'] . '" border="0" /></a>';
		$icq =  '<a href="http://wwp.icq.com/scripts/search.dll?to=' . $row['user_icq'] . '">' . $lang['ICQ'] . '</a>';

#
#-----[ REPLACE WITH ]------------------------------------------
#
		$icq_img = '<a href="http://www.icq.com/people/cmd.php?action=add&uin=' . $row['user_icq'] . '"><img src="' . $images['icon_icq'] . '" alt="' . $lang['ICQ'] . '" title="' . $lang['ICQ'] . '" border="0" /></a>';
		$icq =  '<a href="http://www.icq.com/people/cmd.php?action=add&uin=' . $row['user_icq'] . '">' . $lang['ICQ'] . '</a>';

#
#-----[ OPEN ]------------------------------------------
#
memberlist.php

#
#-----[ FIND ]------------------------------------------
#
			$icq_img = '<a href="http://wwp.icq.com/scripts/search.dll?to=' . $row['user_icq'] . '"><img src="' . $images['icon_icq'] . '" alt="' . $lang['ICQ'] . '" title="' . $lang['ICQ'] . '" border="0" /></a>';
			$icq =  '<a href="http://wwp.icq.com/scripts/search.dll?to=' . $row['user_icq'] . '">' . $lang['ICQ'] . '</a>';
			
#
#-----[ REPLACE WITH ]------------------------------------------
#
			$icq_img = '<a href="http://www.icq.com/people/cmd.php?action=add&uin=' . $row['user_icq'] . '"><img src="' . $images['icon_icq'] . '" alt="' . $lang['ICQ'] . '" title="' . $lang['ICQ'] . '" border="0" /></a>';
			$icq =  '<a href="http://www.icq.com/people/cmd.php?action=add&uin=' . $row['user_icq'] . '">' . $lang['ICQ'] . '</a>';
			
#
#-----[ OPEN ]------------------------------------------
#
privmsg.php

#
#-----[ FIND ]------------------------------------------
#
		$icq_img = '<a href="http://wwp.icq.com/scripts/search.dll?to=' . $privmsg['user_icq'] . '"><img src="' . $images['icon_icq'] . '" alt="' . $lang['ICQ'] . '" title="' . $lang['ICQ'] . '" border="0" /></a>';
		$icq =  '<a href="http://wwp.icq.com/scripts/search.dll?to=' . $privmsg['user_icq'] . '">' . $lang['ICQ'] . '</a>';
		
#
#-----[ REPLACE WITH ]------------------------------------------
#
		$icq_img = '<a href="http://www.icq.com/people/cmd.php?action=add&uin=' . $privmsg['user_icq'] . '"><img src="' . $images['icon_icq'] . '" alt="' . $lang['ICQ'] . '" title="' . $lang['ICQ'] . '" border="0" /></a>';
		$icq =  '<a href="http://www.icq.com/people/cmd.php?action=add&uin=' . $privmsg['user_icq'] . '">' . $lang['ICQ'] . '</a>';

#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php

#
#-----[ FIND ]------------------------------------------
#
			$icq_img = '<a href="http://wwp.icq.com/scripts/search.dll?to=' . $postrow[$i]['user_icq'] . '"><img src="' . $images['icon_icq'] . '" alt="' . $lang['ICQ'] . '" title="' . $lang['ICQ'] . '" border="0" /></a>';
			$icq =  '<a href="http://wwp.icq.com/scripts/search.dll?to=' . $postrow[$i]['user_icq'] . '">' . $lang['ICQ'] . '</a>';
			
#
#-----[ REPLACE WITH ]------------------------------------------
#
			$icq_img = '<a href="http://www.icq.com/people/cmd.php?action=add&uin=' . $postrow[$i]['user_icq'] . '"><img src="' . $images['icon_icq'] . '" alt="' . $lang['ICQ'] . '" title="' . $lang['ICQ'] . '" border="0" /></a>';
			$icq =  '<a href="http://www.icq.com/people/cmd.php?action=add&uin=' . $postrow[$i]['user_icq'] . '">' . $lang['ICQ'] . '</a>';

#
#-----[ OPEN ]------------------------------------------
#
includes/usercp_viewprofile.php

#
#-----[ FIND ]------------------------------------------
#
	$icq_img = '<a href="http://wwp.icq.com/scripts/search.dll?to=' . $profiledata['user_icq'] . '"><img src="' . $images['icon_icq'] . '" alt="' . $lang['ICQ'] . '" title="' . $lang['ICQ'] . '" border="0" /></a>';
	$icq =  '<a href="http://wwp.icq.com/scripts/search.dll?to=' . $profiledata['user_icq'] . '">' . $lang['ICQ'] . '</a>';
	
#
#-----[ REPLACE WITH ]------------------------------------------
#
	$icq_img = '<a href="http://www.icq.com/people/cmd.php?action=add&uin=' . $profiledata['user_icq'] . '"><img src="' . $images['icon_icq'] . '" alt="' . $lang['ICQ'] . '" title="' . $lang['ICQ'] . '" border="0" /></a>';
	$icq =  '<a href="http://www.icq.com/people/cmd.php?action=add&uin=' . $profiledata['user_icq'] . '">' . $lang['ICQ'] . '</a>';

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Hinweis an die erfahrenen Boardadmins: Der Link hat sich von http://wwp.icq.com/scripts/search.dll?to=[ICQNummer] auf http://www.icq.com/people/cmd.php?actio ... [ICQNummer] geändert. Mag sein, dass ihr das bei bestimmten Profil-Modifikationen auch anpassen müsst.

Nachtrag für "Nicht Internet Explorer"-Benutzer (z.B. Firefox): Es kann ein "Downloadfeld" erscheinen, das die Wahl anbietet cmd.php zu downloaden, oder mit ICQRun.exe zu öffnen. Dort muss das Öffnen via ICQRun.exe ausgewählt werden. Am besten noch das Häkchen für "Immer so verfahren" setzen.

Gruß,
Tekin
• prof. phpbb-Installation, Reparatur, Rettung nach Hackattacken, sowie PHP/JS Programmierung aller Art
Zend Certified Engineer, Linux Administrator und die Sicherheit von 34 Jahren Programmiererfahrung
• Interesse? Kontakt unter t.birduezen@web-coding.eu
Gesperrt

Zurück zu „phpBB 2.0: Administration, Benutzung und Betrieb“