1
Roby73
Module PM 1.06
  • 2011/10/19 20:53

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


Admin user can see all pm messages of the all users, changing id msg_id in readpmsg.php?msg_id.

2
trabis
Re: Module PM 1.06
  • 2011/10/19 21:09

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Thanks Roby, this is now fixed on SVN and will be release with XOOPS 2.5.4.

3
Mamba
Re: Module PM 1.06
  • 2011/10/19 21:31

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


It's nice to see more and more users testing XOOPS 2.5.4 Beta and reporting bugs.

This is very important for us that we test and find all the bugs, so we can fix them before the release!

We would like to encourage everybody to help us with this task.

Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

4
Roby73
Re: Module PM 1.06
  • 2011/10/19 21:37

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


Thank!!

I have other problem, but i am not sure if is only in my installation.
I use charset ISO-8859-1, in page viewpmsg.php with some pm, browser return "internal server error".

With the file module.textsanitizer.php form the xoops 2.5.0 he work.

I don t know fix it

5
trabis
Re: Module PM 1.06
  • 2011/10/19 22:43

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


@Roby, what XOOPS version are you using? Looking at pm version it looks like 2.5.3.

Main difference from 2.5.0 to 2.5.1 is the method htmlSpecialChars() and it is related with charset. This method was fixed on 2.5.2/2.5.3

6
Roby73
Re: Module PM 1.06
  • 2011/10/19 23:22

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


Sorry i don't have specified.
I use the xoops 2.5.3 with PM original module ver 1.06.

I replaced the file module.textsanitizer.php with old version, because with 2.5.1a i had problem with charset ISO-8859-1 in all site. In this mode all was correct.

I think to try old module.textsanitizer.php to resolve PM problem.
In this mode all pm are read in correct mode. But this is a temporary solution in local site.



7
trabis
Re: Module PM 1.06
  • 2011/10/19 23:33

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Quote:

Roby73 wrote:
I replaced the file module.textsanitizer.php with old version, because with 2.5.1a i had problem with charset ISO-8859-1 in all site. In this mode all was correct.


But did you try the module.textsanitizer.php that comes with XOOPS 2.5.3 ?

8
Roby73
Re: Module PM 1.06
  • 2011/10/20 0:17

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


Quote:
But did you try the module.textsanitizer.php that comes with XOOPS 2.5.3 ?


Yes with module.textsanitizer.php of the veriosn 2.5.3 is all ok in the site, but with some PM return "internal server error". (i don t use rewrite)

In PM wrong i don't see particular code, seem to not work PM with long text and many quote tag, but this is only my impression.

I can not send to you text of wrong PM because there are into private info...

Sorry for my bad english, i can not express the problem in detail.



9
Roby73
Re: Module PM 1.06
  • 2011/10/20 1:41

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


The problem here seems to be in module.textsanitizer.php:
function quoteConv($text)
    {
       
$regex "#[quote]((?:[^[]|[(?!/?quote])|(?R))+)[/quote]#i";
       if (
is_array($text)) {
           
$text _QUOTEC '
$text[1] . '
';
       }
       return 
$text;
    }


if modify to not covert quote tag, i see all PM without error. (internal server error)

10
Roby73
Re: Module PM 1.06
  • 2011/10/26 0:46

  • Roby73

  • Friend of XOOPS

  • Posts: 262

  • Since: 2011/6/15


The function quoteConv have the problem with quote tag nested.

I tested in others installation 2.5.3, do not work in all.
There are solutions?

Thanks .



Login

Who's Online

368 user(s) are online (235 user(s) are browsing Support Forums)


Members: 0


Guests: 368


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