|
Joined: May 2006
Posts: 579
addict
|
addict
Joined: May 2006
Posts: 579 |
Ok, the database import has worked ok, with some problems. We're having a lot of problems with avatars and inline images, but the worst thing of all, is that the File Manager link is not displaying when posting a topic/reply.
Any ideas?
Thanks
|
|
|
|
Joined: May 2006
Posts: 579
addict
|
addict
Joined: May 2006
Posts: 579 |
Never mind, I found it. I had forgotten to enable file attachments per forum. But all our inline photos have come across as attachment links. Is there anyway to fix this?
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Never mind, I found it. I had forgotten to enable file attachments per forum. Was about to sugguest this... But all our inline photos have come across as attachment links. Is there anyway to fix this? theres an option how how large the images can be prior to not being displayed in-line
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
CP -> Display Options -> General -> Primary Tab -> -> Topic Display Options -> "Max Size for inline uploaded images "
|
|
|
|
Joined: May 2006
Posts: 579
addict
|
addict
Joined: May 2006
Posts: 579 |
Yeah, got that ... but they still show as links.
The inline images for the old forum were inline due to a mod, but it's core code in the new forum. Would that be the problem?
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
So it's old images that aren't displaying? Or new ones being attached?
|
|
|
|
Joined: May 2006
Posts: 579
addict
|
addict
Joined: May 2006
Posts: 579 |
Old ones that were inline photos with imported posts. New ones are working fine.
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Ahhh, the mod may store things differantly perhaps? Could you quote one of the entries using the [code] brackets so i could see how the old formatting was?
|
|
|
|
Joined: May 2006
Posts: 579
addict
|
addict
Joined: May 2006
Posts: 579 |
I hope this is what you mean, Gizmo. This is the source code from one of the pictures that WAS an inline photo in the old forum, and is now an attachment link. <br /><br /><br /><b>Attachments</b><br /><a href="/forums/ubbthreads.php?ubb=download&Number=1862">172064-B7Wweddingphoto017(Large).jpg</a> (19 downloads)<br /><br />
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
No, that looks like what's parsed to the browser; I want what's in the database... For example, I click "Quick Quote" here and get your post how you entered it, then I replace the quote tags with the [ code ] tags and it leaves the post unparsed. Ex: I hope this is what you mean, Gizmo. This is the source code from one of the pictures that WAS an inline photo in the old forum, and is now an attachment link.
<br /><br /><br /><b>Attachments</b><br /><a href="/forums/ubbthreads.php?ubb=download&Number=1862">172064-B7Wweddingphoto017(Large).jpg</a> (19 downloads)<br /><br />
|
|
|
|
Joined: May 2006
Posts: 579
addict
|
addict
Joined: May 2006
Posts: 579 |
Ok, it took me ages to prepare to answer your question, ... but I think this will help. This is a screencap of the Files table in the database. Files 1902 and above were posted after the import, and they appear inline. Below 1902 are files that were posted before the import. These did appear inline in the old forum, but now they appear as attachments. I really hope this answers your question. After looking at the database (a place I usually avoid at all costs), it seems to me that this is probably not fixable, and even if it is, it would be VERY difficult. I'm not sure that I want this that bad.
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Let me rephraise again...
Ok, go to a post that doesn't work, edit the post, paste me exactly what was posted, using the [code] tags...
I want to examine how the old posts look as to see if theres any reason why it wouldn't allow it to be incuded inine, so I need to be able to see exactly what the user inserted into the database.
|
|
|
|
Joined: May 2006
Posts: 579
addict
|
addict
Joined: May 2006
Posts: 579 |
oh gee .. I meant to add that bit in my last post. I did that, but there is nothing but the actual text entered. I can do that if you want, but all it shows is text - no code. Here's one .. This is one of our photos which ran in the Courier Mail Sept '93, we had professional photos taken but I always liked this B & W one. We were married in Brisbane, same church as my parents and sister were also married in..
so come on, share your pics....
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Humm, odd, not sure hwo the prior hack attached images then lol... It's not incuded in the post (like I figured it might be, it was a hack afterall)...
Hmmm :taps foot:
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
It's the file type being blank. Inline images will only be displayed if the file type is known to be a valid image type. You could fix this with a couple of queries like this:
update ubbt_FILES set FILE_TYPE='jpg' where FILE_NAME like '%.jpg'
update ubbt_FILES set FILE_TYPE='gif' where FILE_NAME like '%.gif'
update ubbt_FILES set FILE_TYPE='png' where FILE_NAME like '%.png'
|
|
|
|
Joined: May 2006
Posts: 579
addict
|
addict
Joined: May 2006
Posts: 579 |
Rick, you totally rock!! That worked beautifully! Thanks! And our photo-crazy users say thanks too. Thanks to Gizmo too, for your patience.
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
'eh it was only two pages
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
1 members (ahmed047),
441
guests, and
145
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|