Projects ⇒ Bugs ⇒ #651: url for msn button in PM is wrong ⇒ CPG Dragonfly™ CMS
Bug #651 url for msn button in PM is wrong
Project: Dragonfly 9.0.3 -> 9.3 Category: Private Messages
Submitted: Thursday, October 27, 2005 (16:56:12) Modified: Tuesday, November 22, 2005 (22:06:24)
Status: Closed Assigned to: akamu
PHP Version: Irrelevant HTTPD Server: Apache 2.0

View/Vote Add Comment

by: Pitcher
Description:
------------
wrong url in PM for msn button.

line 331-332 in modules/Private_Messages/read.php

$msn_img = ( $privmsg['user_msnm'] ) ? '<a href="' . $temp_url . '"><img src="' . $images['icon_msnm'] . '" alt="' . $lang['MSNM'] . '" title="' . $lang['MSNM'] . '" border="0" /></a>' : '';
$msn = ( $privmsg['user_msnm'] ) ? '<a href="' . $temp_url . '">' . $lang['MSNM'] . '</a>' : '';

should be:

$msn_img = ( $privmsg['user_msnm'] ) ? '<a href="http://members.msn.com/' . $privmsg[user_msnm] . '"><img src="' . $images['icon_msnm'] . '" alt="' . $lang['MSNM'] . '" title="' . $lang['MSNM'] . '" border="0" /></a>' : '';
$msn = ( $privmsg['user_msnm'] ) ? '<a href="http://members.msn.com/' . $privmsg[user_msnm] . '">' . $lang['MSNM'] . '</a>' : '';
by: Pitcher
Forgot the '' in string. The right code should be:

$msn_img = ( $privmsg['user_msnm'] ) ? '<a href="http://members.msn.com/' . $privmsg['user_msnm'] . '"><img src="' . $images['icon_msnm'] . '" alt="' . $lang['MSNM'] . '" title="' . $lang['MSNM'] . '" border="0" /></a>' : '';
$msn = ( $privmsg['user_msnm'] ) ? '<a href="http://members.msn.com/' . $privmsg['user_msnm'] . '">' . $lang['MSNM'] . '</a>' : '';
by: akamu
This bug has been fixed in the CVS.

Snapshots of the sources are packaged every 6 hours; this change
will be in the next snapshot. You can grab the snapshot at the
Downloads section.

Thank you for the report, and for helping us to make CPG-Nuke 9.0.3 -> 9.1 better.

modules/Private_Messages/read.php,new revision: 9.13
User Info

Welcome Anonymous



(Register)
Community

Support for DragonflyCMS in a other languages:

Deutsch
Español