Thread Rating:
  • 3 Vote(s) - 3.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] OUGC Post Character Count Enhancement
#1
Bug 
[Image: cover_preview_25096_1588105144_8be80cc5c...8aab1f.png]

Description
Strips HTML/MyCode/Quotes from being counted in the minimum characters per post verification process.

Download
Download from the MyBB Extend page.

Check the official page for more information.
Reply
#2
Real nice. I have something like this for a while but I really like your method. Mines a bit dirty.
Reply
#3
Thanks for your comment, really appreciate it.
Reply
#4
Interesting, thanks a lot for this.
Reply
#5
This user has been denied support. This user has been denied support.
Omar, found a bug. See this:

http://community.mybb.com/thread-137145-...#pid995461

and this:

http://community.mybb.com/thread-137145-...#pid994382
Reply
#6
Read it. Let me see how to fix it. Thanks for reporting.
Reply
#7
This user has been denied support. This user has been denied support.
Thanks for getting back.

From a quick go through your code, I can see you run the same function on both areas, validate_post and validate_thread. Now running the same function, what happens is on validate_thread the minimum message char count for the post is called which is possibly triggering this.

So the simple solution would be to make two functions, both each for their own, so it won't trigger this I believe.
Reply
#8
This user has been denied support. This user has been denied support.
Any updates to this Omar?
Reply
#9
Plugin updated. To update follow the instructions in the first post.
Reply
#10
What's new in this version?
Back in the days.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)