1
geopro
Enable HTML for Private Messages
  • 2009/8/3 13:37

  • geopro

  • Just popping in

  • Posts: 17

  • Since: 2007/10/20


Hello Folks! Sorry for my pretty bad english.

I've XOOPS 2.3.3 and I use TinyMCE editor for my entire website.

But when my users receive a pm is show HTML codes.

How I can enable HTML for PM?

Thanks for help.

2
geopro
Re: Enable HTML for Private Messages
  • 2009/8/6 17:23

  • geopro

  • Just popping in

  • Posts: 17

  • Since: 2007/10/20


Any suggestions?

3
Dylian
Re: Enable HTML for Private Messages
  • 2009/8/7 3:25

  • Dylian

  • Friend of XOOPS

  • Posts: 237

  • Since: 2007/7/21


If you use the pm module (the one in the core package) open root/modules/pm/class/message.php and look for
$this->initVar('to_save'XOBJ_DTYPE_INT0false);


after this line add:
$this->initVar("dohtml"XOBJ_DTYPE_INT1true);


Greets Dylian.
Dylian.eu | Webdevelopment
| http://dylian.eu |

Dylian Melgert | Home
| http://me.dylian.eu |

Arcus College Shedule Notification Service
| http://arcus.dylian.eu |

4
geopro
Re: Enable HTML for Private Messages
  • 2009/8/7 16:52

  • geopro

  • Just popping in

  • Posts: 17

  • Since: 2007/10/20


Thx dude!

I was looking for this hack a long time a go...

Greets from Brazil. Cya!

Login

Who's Online

290 user(s) are online (230 user(s) are browsing Support Forums)


Members: 0


Guests: 290


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits