Store Front Contact Us Projects Blog PHP Tutorials Community Forums Support Downloads Client Area Homepage
Insane Visions
Insane Visions - Top Navigation

Welcome Guest!. Please Login or Sign-Up to use some features of Insane Visions

Insane Visions :: Viewing Topic - None
Home > BlogPHP    








Joined: 12/31/69
Posts: 158
Online Tag:




User is Online
Posted: 05-08-06 03:29 PM

You know in 2.4. version is a bug or what I think in boards.php or were you need put this code:

$max_length = 50;
$text = $_POST['text'];
$text = preg_replace('/(S{' . $max_length . '})/', '1 ', $text);

And the word is limited :)











Joined: 12/31/69
Posts: 158
Online Tag:




User is Online
Posted: 05-08-06 03:30 PM

I think not 50 or 10 or 15 ....






admin




Joined: 02/10/07
Posts: 367
Online Tag:




User is Online
Posted: 05-08-06 04:37 PM

The final version of 2.4 (released) fixes it. Though there is no point in using that when you can just do:

$subject = substr(addslashes($_POST['subject'],0,30));

:)











Joined: 12/31/69
Posts: 15
Online Tag:




User is Online
Posted: 05-09-06 05:06 AM

Or in what file and in what line I can write this code?

$subject = substr(addslashes($_POST['subject'],0,30));






admin




Joined: 02/10/07
Posts: 367
Online Tag:




User is Online
Posted: 05-09-06 10:47 AM

Just download v2.4 from sourceforge and it is fixed. :)







Insane Visions - Footer
Renegade Motorhomes - Vegas Hotel - Loan - Phoenix Pools