×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me

TOPIC: Module doesn't limit comments

Module doesn't limit comments 14 years 2 months ago #8931

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
I hate when a user switch to another system :(

Would you do me a favor? Would you still give me ftp access and enable the module on subpage or so. Give me a link to this page - I want to find out why some users have this problem.

Module doesn't limit comments 14 years 2 months ago #8944

  • JonusC
  • JonusC's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 785
  • Thank you received: 48
Two choices:

(01) Turn on UBBCode support in the backend. I am surprised you didn't mention it was off (or try turning it on) when Daniel was asking about UBBCode functions, though it doesn't matter.

(02) Alternatively, make code changes as detailed here[/here].

This will also be address in the next RC2 release.

Module doesn't limit comments 14 years 2 months ago #8946

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
ah, man! Now i understand why the module was not limiting the size of the comment. Great work JonusC.

Module doesn't limit comments 14 years 2 months ago #8949

  • ant
  • ant's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 33
  • Thank you received: 0
Yes, turning On UBBcode it works, but we don't want it on. Where to apply the patch?

Module doesn't limit comments 14 years 2 months ago #8973

  • Chong Kai Xiong
  • Chong Kai Xiong's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 9
  • Thank you received: 0
ant wrote:

Yes, turning On UBBcode it works, but we don't want it on. Where to apply the patch?

The patch should be applied to components/com_comment/joscomment/comment.class.php.

For those unfamiliar with the unified diff format and must modify the code manually:
1. the lines prefixed with '+' are to be added (don't add the '+' prefix!)
2. the lines prefixed with '-' are to be removed

To be really truthful, I didn't actually test whether the patch properly limits post sizes, so don't hit me if it doesn't work. I wrote the code primarily to fix the newline problem. B)

Module doesn't limit comments 14 years 2 months ago #8975

  • ant
  • ant's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 33
  • Thank you received: 0
just applied the patch, so now the file is:

[Code block removed]

Module doesn't limit comments 14 years 2 months ago #8977

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
I guess your post was too long for the forum.

Module doesn't limit comments 14 years 2 months ago #8978

  • ant
  • ant's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 33
  • Thank you received: 0
sorry

Module doesn't limit comments 14 years 2 months ago #8979

  • JonusC
  • JonusC's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 785
  • Thank you received: 48
Daniel Dimitrov wrote:

I guess your post was too long for the forum.

:laugh: I edited it...

Yes I tested it and it works well enough. I was not sure if you realized you fixed this mod_comments bug Chong but thanks for the find!

If you are not confident of your own change ant then you can use this comment.class .php file - just unzip it and upload+overwrite it to home/components/com_comment/joscomment/

comment-20100217.zip

Module doesn't limit comments 14 years 1 week ago #9492

  • allthegreeks
  • allthegreeks's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
i have the same problems...no comment size on mod_comments ... it only resize the title of the comment...

Module doesn't limit comments 14 years 1 week ago #9493

  • allthegreeks
  • allthegreeks's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
fixed ! its the bbcode !

Module doesn't limit comments 14 years 1 week ago #9497

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
@allthegreeks - now if you could fix your negative review on extensions.joomla.org, but sadly I think that it is not possible :(

@all - please before writing a review ask us for support, we always fix the problems! :)
Time to create page: 0.168 seconds