Long text not displaying...<-- fix isn't working

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
noisenet
Posts: 5
Joined: Mon Jan 16, 2006 3:33 am

Long text not displaying...<-- fix isn't working

Post by noisenet »

Script URL: http://www.nineyearsunder.com
Version of script: 1.34
Version of PHP: 4.3.11
Hosting company: Unknown
Have you searched THIS FORUM for your problem:
(if not please do before posting)
If so, what terms did you try: Found a post, solution didn't work

Write your message below:
I'm having, I believe, the same problem as the post I referenced in subject line. I tried the solution, replacing the <br> tag with space, tried without space, tried a &nbsp; and nothing works. I also tried changing the maxchars entry in the settings file to 45 since I am running the table pretty narrow on my site. Below is a sample post from the gbook on my site:

STEVE: I HAD THE HONOR OF CATCHING YOUR WORK
WITH ------- AT ------
------- AT -------------------- FOR THE PAST
TWO NIGHTS. I WAS IMPRESSED
WITH YOU ON THE FIRST NIGHT AND ABSOLUTELY
BLOWN AWAY ON THE SECOND NIGHT.
HAD I CLOSED MY EYES, I WOULD HAVE SWORN
CARLOS SANTANA WAS IN THE ROOM.
YOU ARE A MONSTER! I SALUTE YOU AND THE ENTIRE
BAND!

This is how the post is displayed in the gbook, before and after trying the solutions I found here. Could it be I'm trying something wrong? Thank you in advance!

Steve
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Hello Steve,

The solution of replacing the <br> with a space only works for new posts. Already posted comments are stored in the entries.txt file with the <br> tags.

To remove the <br> tags from already present posts you have to download the entries.txt file from your server :arrow: open it with a plain text editor :arrow: remove the <br> tags that cause the nuisance (keep the <br> tags in the post that are needed for easy reading) :arrow: upload it again to your server and overwrite the old file (before upload make sure nobody has posted a new message or it will be lost).

Greetings,
Henrie
Post Reply