Welcome, Guest. Please Login or Register.
April 20, 2025, 02:51:31 AM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  English User Help  |  English Help  |  General board admin question « previous next »
Pages: [1] Reply Ignore Print
Author Topic: General board admin question  (Read 273 times)
reznorsoft
Noobie
*
Posts: 22


I'm most definitely NOT a llama

reznorsoft
General board admin question
« on: September 13, 2003, 03:36:05 AM »
Reply with quote

YaBB SE Version: 1.5.4
PHP Version: 4.3.2
MySQL Version: 4.0.x
Server Platform: Unix, Linux, or BSD
Link to Forum:

Problem Description:
should be a quick question .. but alas i'm stumped

how do i make 'long posts' (meaning a long string of letters that would normally scroll the page) carry over to the next line ..

for example .. i had this clown on my board post a series of ones and zeros (binary) that made the page it was posted on scroll forever .. three rows worth of ones and zeros in one line !!!

there's no need for that .. and i'd like to remedy the problem if possible
Logged
Shadow's Pawn
Support Team
YaBB God
*****
Posts: 597


ich soll nicht toten

ICQ - 8039201shadowpawn@hotmail.com WWW
Re:General board admin question
« Reply #1 on: September 13, 2003, 04:20:05 AM »
Reply with quote

I'm not sure about in the body of the post, but in the subject line, this is quite easy..  look in post.php for a line that looks something like this:


   if (strlen($subject) > 40)
      $subject = substr($subject,0,40);


The 40 will be some other number for you.. I think 80 is the default?  Anyway, I use 40 for mine and it prevents people from stretching the tables with dumb subjects like "haaaaaaasssssssssssssssssssssssssssssssssssssssssssssssssssssssssss"
That piece of code appears twice in post.php, I believe..
Logged

apologize \A*pol"o*gize\, v. i. - To lay the foundation for a future offense.
Douglas
aka The Bear
Support Team
YaBB God
*****
Posts: 1050


Bears rule! Llamas rule too!

WWW
Re:General board admin question
« Reply #2 on: September 13, 2003, 01:46:14 PM »
Reply with quote

Be careful with that, though, as it WILL break apart URLs, too.
Logged

Need help? Please SEARCH first.  No need for a bad attitude, we like helping positive minded people.
ComeHit.us Short URL  redirection svcs with YSE powered forums, COMING SOON!
Want to say thanks?  Check out http://comehit.us/?u=3
reznorsoft
Noobie
*
Posts: 22


I'm most definitely NOT a llama

reznorsoft
Re:General board admin question
« Reply #3 on: September 13, 2003, 09:09:20 PM »
Reply with quote

allright Shadow's Pawn .. i'll try that, thanks !!

maybe i can find something similar for the body of the post as well

Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  General board admin question « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.014 seconds with 17 queries.