This site is intended to continue support for the legacy 2.x line of the phpBB2 bulletin board package. If you are a fan of phpBB2, please, by all means register, post, and help us out by offering your suggestions. We are primarily a community and support network. Our secondary goal is to provide a phpBB2 MOD Author and Styles area.

I've started up a forum for an old MUD text-based RP game. My goal was to make it easy for players to simply posting in html which would color logs of sessions of the game.

When I post in html on the site though it seems to add an extra space between each line which makes it come out weird. I'm thinking it could possibly be the need to increase the line length somehow but I haven't seen an option for changing that.

Somehow an extra linebreak is inserted, I can┤t tell where that happens exactly. Someone else will.

But I strongly recommend you to not use phpBB2 if you are starting a new forum. You really should use the latest version of phpBB3. Probably you won't have the problem you commented._________________phpBB2 will never die, I hope!

Well, phpbb3 doesn't support HTML posting. Even though I am limiting the tags to simple text coloring/font for the most part. I have no interest in java or anything... although I wouldn't mind figuring out a way to have some background music.

but simply removing the extra spaces between lines would sufficiently satisfy me at this point.

so I did it on that one but I swear i just removed the <tr> and </tr> tags.

I try to replicate this and it doesn't seem to work, I figure I could just remove the tr tag from the allowed html and/or censor the precise words but that didn't seem to work.

here is the raw code I used when I was successful

Quote:

<Produced>
<table bgcolor="#000000">

<pre><td><code><font face="FixedSys, Lucida Console, Courier New, Courier"><font color="#0">
</font><font color="#00FF00">Corner of Midtown and Fuji (in New Carthage)
</font><font color="#C0C0C0">Garish, highbrow clubs cater here to the fetishes of Midtown's skin sculptors. Neon-lined buildings surround the intersection. Their gaping, chromed doors spill lines of waiting ravers like steaming, unraveled guts. Industrial synth and postwar grunge hangs in the late night air, a standing wave of reverb and music.
</font><font color="#FFFFFF">You can cross the street south, the street takes a turn to the east, and the street heads away west. To the north, a low fence with a large hole ripped in it leads to a dark alley.
</font><font color="#C0C0C0">You see a vehicle to the south. To the east, you see someone standing. You see a hovercab to the east.
</font><font color="#008000">It is now autumn.
A fume-laden wind is blowing the rain in sheets.
</font><font color="#C0C0C0">You see </font><font color="#008080">a male corpse</font><font color="#C0C0C0"> on the sidewalk.
</font><font color="#808000">Lazarus is attempting to hide here.
</font><font color="#C0C0C0">Lazarus starts sneaking away...

</font></font></code></pre>
</td></table>

and raw code otherwise.

Quote:

<!-- Produced by MUSHclient v 4.84 - www.mushclient.com -->
<table border=0 cellpadding=5 bgcolor="#000000">
<tr><td>
<pre><code><font size=2 face="FixedSys, Lucida Console, Courier New, Courier"><font color="#0">
</font><font color="#00FF00">Corner of Hitachi and High (in New Carthage)
</font><font color="#C0C0C0">Streetwalkers, cromags, punks, hovertraffic, and groundcars collide here in a headlong rush of horns, swearing, and middle fingers. Biz is a constant
background buzz, like the hum of a flourescent bulb. Holoboards float in the hazy, cigarette-choked air. All around, steel and chrome towers, reflecting
the daytime sun in a hot embrace.
</font><font color="#FFFFFF">The street heads away north and east and you can cross the intersection south and west.
</font><font color="#C0C0C0">You see a vehicle to the north. You see a vehicle to the south. You see a vehicle to the west. You see a vehicle to the northwest. Some vehicles are to the
southeast.
</font><font color="#008000">It is now autumn.
A warm rain is falling from poisoned, silver-colored clouds.
</font><font color="#008080">A Kia Lifecraft 2K29</font><font color="#C0C0C0"> is parked here.
inv
You are carrying:
a credstick a Myotech paper jumpsuit (worn)
Your burden is barely even noticeable.
w
You dash across the street, dodging the vehicles of the busy intersection.
</font><font color="#00FF00">Corner of Hitachi and High (in New Carthage)
</font><font color="#FFFFFF">The street heads away north, you can cross the intersection south and east, and the street heads away west. You can enter the hovercraft station to
the northwest.
</font><font color="#C0C0C0">You see a vehicle to the north. You see a vehicle to the east. You see a vehicle to the northeast. You see a vehicle to the southeast. You see a vehicle to
the southwest.
</font><font color="#008000">It is now autumn.
A warm rain is falling from poisoned, silver-colored clouds.
</font><font color="#008080">A Neon Hovercab</font><font color="#C0C0C0"> is parked here.
</font></font></code></pre>
</td></tr></table>

Sorry to add on but my next issue is that when a post is too long it seems to cut off but I can't find where to allow more lines per post.

You mean the message is posted normally but the content is cut? Or it won't let you post? Either way if you could try to figure out the character limit at which it breaks, it could be useful information.

Dice wrote:

Also is there a way to be able to allow users to add attachment files to posts?

There is a popular MOD for that on phpBBHacks that should be easy to find. Never installed it myself but every phpBB2 forum that has the functionality seems to be using the same.

I'm asking because I'm not sure the forum really checks for that. If it posts it normally but you're missing the last part, it's probably that you have exceeded the data table's size limit for that field (~64 kb) and MySQL truncates it automatically.
But if you are getting an error message, I would need it to figure out where it gets triggered.

I do believe some characters take up more than 1 byte, so yes, that should be it. The good news is that it's easily fixed by increasing the field type to MEDIUMTEXT, but that may have an impact on things like search indexing. Unless you have a large community, though, I don't think it's going to matter.