Skip to Content Skip to Menu

🌟Discover the Joomla AI Plugin that wrote its own story! - CB Editor Assistant 1.1now for Joomla 3, 4 & 5!
✍️ 5-Day Free Trial, then 🎯 save up to 30% with our 🛍️ Intro Offer (First 50 users, ends Dec. 25th)
🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

Quick Message and UddeIM

  • GUEST
19 years 3 days ago #2627 by
Quick Message and UddeIM was created by
When sending a message with the "Quick Message" plugin to a user via UddeIM, containing foreign characters, they're displayed as html chars for the receiver.

However, if you send a UddeIM message with any other method, it works as it should, so it's only the quick send area that causes this.

One other strange thing is that the reply window in UddeIM displays the chars correctly all the time.

Repro:
1) Load up a users profile
2) Send a message with the text area ( _UE_PMSTAB ) containing foreign chars, like "Test å ä ö".
3) Receive the message on the other account.

Seems like an issue with the PMS Tab, no?

Post edited by: o_cee, at: 2005/12/21 18:51

Please Log in or Create an account to join the conversation.

  • benjamin
  • benjamin
  • OFFLINE
  • Posts: 86
  • Thanks: 0
  • Karma: 22
19 years 3 days ago #2629 by benjamin
Replied by benjamin on topic Re:Quick Message and UddeIM
Tjena du som behöver ett Å,

o_cee wrote:

When sending a message with the "Quick Message" plugin to a user via UddeIM, containing foreign characters, they're displayed as html chars for the receiver.

Seems like an issue with the PMS Tab, no?


Yes, this is an issue with the plugin caused by the different ways PMS components use to store special characters. I'm confident that it will be fixed in upcoming versions of the plugin.

For the time being, you can fix it yourself.

Open the plugin file (pms.mypmspro.php) in directory com_comprofiler/plugin/user/plug_pms_mypmspro. Around line 430, you'll find

[code:1]
$newmsg = htmlentities($this->_getReqParam("newmsg",
null)); //don't allow html input on user profile!
[/code:1]

Replace that with:
[code:1]
if($pmsType=='3') {
$newmsg = $this->_getReqParam("newmsg", null);
} else {
$newmsg = htmlentities($this->_getReqParam("newmsg",
null)); //don't allow html input on user profile!
}
[/code:1]

Hope this helps. Always backup any file before you change it.

Please Log in or Create an account to join the conversation.

  • GUEST
19 years 3 days ago #2631 by
Replied by on topic Re:Quick Message and UddeIM
benjamin wrote:

Hope this helps.


Yeah, thanks a lot. Quick test worked like it should.


benjamin wrote:

Always backup any file before you change it.


Uhm, no, where's the fun in that? :)

Please Log in or Create an account to join the conversation.

Moderators: beatnantslabbikrileon
Powered by Kunena Forum