Techsurvivors

Archives => 2003 => Topic started by: jb on May 11, 2003, 07:56:53 AM

Title: "Broken Image"
Post by: jb on May 11, 2003, 07:56:53 AM
I call this a broken image for lack of another word which does not come to mind right now:

Why is it that I get this on some post? I never got this on the previous boards.

jb
Title: "Broken Image"
Post by: davigibs on May 11, 2003, 08:07:57 AM
Me, too. huh.gif
Title: "Broken Image"
Post by: Gary S on May 11, 2003, 11:15:29 AM
Which emotionicon is the one for confused? huh.gif

Is it huh? huh.gif
Title: "Broken Image"
Post by: kelly on May 11, 2003, 12:05:47 PM
If it's a broken image I guess it hasn't been added yet. smile.gif

Guess whenever those lazybones get around to it. wink.gif
Title: "Broken Image"
Post by: jepinto on May 11, 2003, 07:31:31 PM
The smilies from the ubb are what you are seeing as "broken".

It's the conversion.  Not sure I can fix it.  But will try.
Title: "Broken Image"
Post by: tacit on May 12, 2003, 12:34:36 PM
The old forum software looked for the emoticon images in the same directory as the HTML page for the message.

The new software looks for the emoticons in the directory /forums/html/emoticons.

Make a copy of all the files in /forums/html/emoticons/ into the root HTML directory and all will be good.
Title: "Broken Image"
Post by: krissel on May 12, 2003, 10:29:29 PM
tacit, not sure I understand.

The smilies we have now are not the same smilies that we had on UBB.

The older threads are looking for smilies that either will be eliminated when we delete the UBB files or if imported to the Invision files may have different coding and names. Only some of the very basic ones will maintain the same coding, such as rolleyes or : )

Only way I see to fix is if each person goes in and edits their post to include a new smilie?

 unsure.gif
Title: "Broken Image"
Post by: jepinto on May 13, 2003, 05:38:22 AM
Tacit tried loading the "missing" smilies into the html folder, and no go verysad.gif

This board writes the code
CODE
<img src='http://www.techsurvivors.net/forums/html/emoticons/rolleyes.gif'

whereas UBB wrote it
CODE
<src="smile.gif">


I suppose it would be possible to download the database, open in BBEdit and do a find & replace......
Title: "Broken Image"
Post by: tacit on May 13, 2003, 01:54:03 PM
If you take the UBB smilies and put them into the root level of the new BBS HTML pages, it should work. The old software wrote code to load the images from the same directory as the HTML page (that's what'll happen if you don't put a pathname in the img src tag). So it seems like it should still be doable without changing the database.

I don't know what the BBS directory structure looks like, or what the old UBB smilies were named, so I can't give any more specific advise than that--but from looking at the HTML generated by the BBS page, as long as the old UBB smilies are in the same directory, the browser should be able to locate the images.
Title: "Broken Image"
Post by: krissel on May 13, 2003, 10:27:37 PM
Fixed.

After much experimentation in the archives folder I found out that if they were loaded singly (not in a folder) at the level above the html folder they would be recognized.

smile.gif


tacit, there is no html.index at that level (there are at lower levels) but there is an index.php at that level. Perhaps with this new software it does the job of the index.html in the UBB?

Note to members: you may have to refresh or dump your cache to see the smilies in the old posts. IE is notorious for not reloading images. You sometimes have to close the browser and reopen to get new images. Netscape is better. I use that when testing the uploaded images.
Title: "Broken Image"
Post by: tacit on May 14, 2003, 02:58:27 PM
Yes, the index.php file does the same thing as the index.html.

The index.php file is a PHP3-language script. What happens is that when someone connects with a Web browser, the index.php script is run through the server's PHP3 interpreter, which then spits out HTML to the browser. The HTML it spits out is generated "on the fly" by reading and executing the PHP commands.

So functionally, they can be thought of in the same way, in the sense that a browser that attempts to connect will be given HTML that is generated from that index.php file.
Title: "Broken Image"
Post by: krissel on May 14, 2003, 08:01:42 PM
Yea, it all makes sense now.   smile.gif

Thanks again.   notworthy.gif