MyBB Community Forums

Full Version: Can't reply?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10
(2012-12-20, 04:13 AM)Leefish Wrote: [ -> ]I think the replies are there for if you use threaded view,which is quite archaic.

Wouldn't there be a way to code in something along the lines as:

Post #1 = Max Length

Posts #2 through Infinite = Max Length + 4
(2012-12-20, 04:27 AM)geekywebadmin Wrote: [ -> ]
(2012-12-20, 04:13 AM)Leefish Wrote: [ -> ]I think the replies are there for if you use threaded view,which is quite archaic.

Wouldn't there be a way to code in something along the lines as:

Post #1 = Max Length

Posts #2 through Infinite = Max Length + 4

That's exactly what I thought would be the perfect solution...
Is this bug still around? It has been happening to me on 1.6.9. I just used this quick patch for now.
This bug is still present in 1.6.9 and I face it now.

Hope someone create a qucick fix.
Did someone ask for a patch? Angel

https://github.com/mybb/mybb/commit/2f87...338e2675a6

Obviously this fix will be going in 1.6.10. But for those of you who may not wish to wait that long, the code changes are in that link Smile
Same bug in 1.6.9 D:
(2013-01-26, 06:37 PM)alv4 Wrote: [ -> ]Same bug in 1.6.9 D:

MyBB 1.6.9 was a security release.
i have this same problem please help

just done the fix in link above works thanks
Can someone here please be kind enough to re-upload a fixed inc/datahandlers/post.php with the correct bug fix inside?

https://github.com/mybb/mybb/commit/2f87...338e2675a6

       }
     }
 
-    if(my_strlen($subject) > 85)
+    // If post is reply and begins with "RE: ", remove 4 from subject length.
+    $subject_length = my_strlen($subject);
+    if($this->action == "post")
+    {
+      $position_re = my_strpos($subject, "RE: ");
+      if($position_re !== false && $position_re == 0)
+      {
+        $subject_length = $subject_length - 4;
+      }
+    }
+
+    if($subject_length > 85)
     {
       // Subject is too long
       $this->set_error('subject_too_long', my_strlen($subject));
Pages: 1 2 3 4 5 6 7 8 9 10