News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

In Line Attachments -- ILA

Started by Spuds, April 17, 2010, 06:45:49 AM

Previous topic - Next topic

kak2z

I found version 1.11. Install it. It did not help. Pictures disappear.
Новости и слухи Дом 2. Популярные рецепты в рубрике Что приготовить

Spuds

QuoteI got the following error after installing the latest version on SMF 2.0.1. Previous 1.11 was working fine.
Thats just error log spam, should not effect anything .... new version uploaded (same rev) that should take care of that ... thanks for the report  :)

Quote from: kak2z on December 05, 2011, 01:10:24 PM
I need to install the 1.1 version? I do not have this version. I only have version 1.2. What should I do? Help please.
I would guess since you are displaying the full message in one panel and then on that same page you have a left side news block with the same message showing again things are getting confused.

I don't have time ATM to dig in to a usage case like that figure out what could be done if anything.  Basically the id's that are created for the images are no longer unique since the same message is being displaced twice on those pages so the id's appear twice ... the mod has no way of knowing its being called twice to show the same message twice on a page.



kak2z

#243
On my test site http://djaf.ru/index.php?topic=41.0 two messages on the same page I did for example - that would show you.
This same error occurs on my work project http://kak2z.ru . I now turn off there an mod. But I can turn on as soon as you say, for the demonstration and localization errors.
Thank you.
Новости и слухи Дом 2. Популярные рецепты в рубрике Что приготовить

agridoc

kak2z what you mean by localization errors? Do you have some problem with Russian language?

Or you mean, maybe, placing errors?

This mod uses two files in installation, languages.xml and languages-utf8.xml. This is an excellent solution, first time I see it in amod and is a very good answer for localization (multilingual) for either ISO - ANSI or UTF-8 codepages.
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF - Greeklish to Greek mod
Δeν αφιερώνω χρόνο για μηνύματα σε greeklish.

kak2z

Oh! No! This translator incorrectly translated my text. I wanted to say, I turn on my desktop mod site. It correctly displays images. Changed links to pictures.

Sorry for my bad English. I use Google translator to communicate with you.
Новости и слухи Дом 2. Популярные рецепты в рубрике Что приготовить

agridoc

OK kak2z, I understand.

Machine translation is much better now than in the past, however still far from really reliable results.
  For Greek aeromodellers and our friends around the world  - Greek Button sets for SMF - Greeklish to Greek mod
Δeν αφιερώνω χρόνο για μηνύματα σε greeklish.

Spuds

#247
Quote from: kak2z on December 05, 2011, 10:25:19 PM
On my test site http://djaf.ru/index.php?topic=41.0 two messages on the same page I did for example - that would show you.
This same error occurs on my work project http://kak2z.ru . I now turn off there an mod. But I can turn on as soon as you say, for the demonstration and localization errors.
Thank you.
Here is a test version for you to try ... I think I was able to replicate the issue but it took a while.  I had to have the news block on the left side which caused the topic id to get mixed up.  Basically the topic id was being set to whatever was the last portal block with ila tags in it, then those were used in the message block (actually by display.php) ... ILA was kind of stuck in the middle between SP and SMF ...

For other folks without this problem (and that would be almost all of you :) ) ... please kick the tires on this on this change as well.  Although the change was not dramatic the usage cases on this mod are frighteningly involved.

Just one file for now, copy it over the existing one (make a copy of that in case you need to back out)

ETA: removed attachment, its on the download page now

kak2z

Thank you very much! Now I will test my forum!
Новости и слухи Дом 2. Популярные рецепты в рубрике Что приготовить

fntrsh

i get the white screen when i press on "Package install", infact this is the only mod that acts like that on my forum ;( (using smf 2.0.1)

Spuds

Is there an error entry in either your server log (should be with a white screen) or smf log, without an error there is not much to go on.

Motorhed

Hey, I'm sorry if I missed the answer to this... but how do I use this with more than 9 attachments?

When the number of attachments reaches double-digits, the mod no longer works, and displays the first attachment.

I can't split into to topics or topic + reply, because I am using SSI to display the topic as an 'article'. It would suck to have to make two (or more!) articles every time because of this.

Spuds

#252
QuoteHey, I'm sorry if I missed the answer to this... but how do I use this with more than 9 attachments?

Try the attached ILA-Subs.php file, just copy it to your Sources directory.  Save a copy of the one that is in there in case you need to back out.  This version should fix the >9 attachments issue you reported.

ETA: removed attachment, its on the download page now

Motorhed

#253
Thank you so much! It works!

I know it's pretty odd that I allow up to 20 attachments per post, but hopefully that at least helped find a bug. :)

SMF is a powerful and overlooked alternative to Wordpress and many other programs people run alongside a "blog script". With this fixed, the "full article" option is wide open.

willsteele

Just went to install this mod on my forum which was upgraded today to SMF 2.0.2 due to the installation of a bug fix.  Not compatible apparently as of yet.   Had a couple of "test failed" errors when trying to install.  Plans to update soon?

Thanks.

Spuds

I just installed this on a fresh install of 2.02 and it installed with no errors.  You are either experiencing an incompatibility with some other mod or a custom theme.

willsteele

Gave it another try and this is what I got.....  See attachment for specific test failed errors

QuoteError in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.

Spuds

Like I said earlier and exactly what the system is telling you This error may be caused by a conflict between the package you're trying to install and another package you have already installed  What other mods do you have installed?

willsteele

SMF 2.0.2 Update   1.0
Alternate Email   1.1
Simple Audio Video Embedder   2.0.4
Show User Posts By Certain Boards   1.1.1
Align text with Smiley   1.2
Drafts   1.1.2
Active Members In Topic   1.8
SMF 2.0.1 Update   1.0
View Voters at Polls   1.0
Last Active On MemberList   1.4
Moderator and Administrator Comment Tags   1.8.1
BoardHover Mod   1.8.0
IMDb BBC      1.0
Event Reminder Mod for SMF2   2.0
Choose Ignorable Boards   1.2
Users Online Today   2.0 RC2
Inline Hover Spoiler      1.5
Disable 'last edit by...' for Administrators   1.2

clothahump

Brilliant mod Spuds, just what I needed.
What should I set the thumbnail width to so I can have a large image with a couple of thumbs?

Advertisement: