[ADDON][WIP] In Line Attachments May 23, 2014, 10:09:38 pm Another WIP addon, *** Note *** this is now built into ElkArte 1.1.xThis one is my conversion of ILA, in line attachments. Right now all the hooks are in place so the ILA tags render, placing the image in line with the text. Whats missing is the easy tag placement in the editor, so for now you have to add an attachment as normal, and then in the text, enter the ILA tag where you want the image to display. I'm not sure what direction I may take with the editor, so for now ..... In Line Attachments v1.0LicenseThis addon is released under a MPL V1.1 license, a copy of it with its provisions is included with the package.IntroductionThis addon adds the ability to position your attachments in your post, like the IMG tag, using newly created BBC codes. This is useful for inserting attachments inline with your text. Several types of attachments are possible such as : full-size, thumbnail or link. For each attachment you can select how and where the attachment appears within the message. You can also use the same image in multiple areas in the same post. You can of course still have the attachment at the bottom of the post as is the ElkArte default.Features Adds new bbcodes to position attachments within the post, note n is the number of the attachment in the post, eg first = 1, second = 2, etc[attachimg=n] (full size image)[attach=n] (thumbnail image)[attachurl=n] (link with view/download count)[attachmini=n] (simple link) Use simple [attach] tag to insert the added attachments sequentiallyAdds optional align and width attributes as [attachimg=1 align=left width=80]Align can be left, right or center. For left and right aligns the text will flow around the imageWidth works on attachimg, if the specified width is less than the image then a link (or highslide) is added to one to view the full sized imageThe default placement of attachments at the bottom of the post is unaffected for the attachments that were not used in line.Works in all areas of the board such as new posts since last visit / all posts of user / new, reply, modify messages / Topic/Reply History.There are some basic admin settings available with this mod, go to admin - configuration - addon settings - ILA. Here you can disable/enable the addon.
Re: [ADDON]{WIP} In Line Attachments Reply #1 – May 24, 2014, 03:40:32 am emanuele smells good stuff here!
Re: [ADDON][WIP] In Line Attachments Reply #2 – September 07, 2014, 11:46:28 pm What is the status of this add on ?
Re: [ADDON][WIP] In Line Attachments Reply #3 – September 08, 2014, 04:11:39 am I think that this add on should be integrated into ElkArte
Re: [ADDON][WIP] In Line Attachments Reply #4 – September 08, 2014, 08:24:36 am Quote from: meetdilip – September 07, 2014, 11:46:28 pmWhat is the status of this add on ?It is currently lacking the posting interface, so right now you have to manually add the [attach] bbc codes. I have to spend some time on figuring out a decent interface to insert the codes.Quote from: CrimeS – September 08, 2014, 04:11:39 amI think that this add on should be integrated into ElkArte There was talk about doing that for 1.0 (very early on), you may see it in 1.1, depends on getting the UI and some more testing, there are quite a few unusual conditions that it has to handle !
Re: [ADDON][WIP] In Line Attachments Reply #5 – October 02, 2014, 05:34:01 am Tried it on my new Elkarte test install, but I get a parse error on testing:Extract File ./themes/default/css/ILA.css Modification parse errorThis is on a vanillaElkarte install. Any ideas?
Re: [ADDON][WIP] In Line Attachments Reply #6 – October 02, 2014, 05:44:20 am Because Spuds is testing on windows where ILA.css and ila.css are the same file, while on *nix is not.
Re: [ADDON][WIP] In Line Attachments Reply #7 – October 02, 2014, 05:54:32 am damn Windows users I earn my living now as a Senior Wintel engineer but started out on Amigas and Solaris back in Windows 3 era.
Re: [ADDON][WIP] In Line Attachments Reply #8 – October 02, 2014, 04:38:14 pm Quote from: emanuele – October 02, 2014, 05:44:20 amBecause Spuds is testing on windows where ILA.css and ila.css are the same file, while on *nix is not. Doh .,.. what he is saying is sometimes I'm about as sharp as a bowling bowl ! I've only made that same error like 1000 times !
Re: [ADDON][WIP] In Line Attachments Reply #9 – October 02, 2014, 04:54:18 pm emanuele uses linux not to do these errors, but can do much more funny ones!
Re: [ADDON][WIP] In Line Attachments Reply #10 – November 01, 2014, 10:31:05 am https://bitbucket.org/spuds_/elk_ilaone of my favourite addon, is working with ELK 1.0.0
Re: [ADDON][WIP] In Line Attachments Reply #11 – November 02, 2014, 07:45:34 am Glad its working for you ... I still need to add a post screen interface, I'm just still undecided what I want to do for that,
Re: [ADDON][WIP] In Line Attachments Reply #12 – November 02, 2014, 08:21:06 am I sow that I have to insert manually the bbcode for inline images, but for now is enough, I am using your SMF mod on my forum and if I'll convert to Elk I wont loose the inline images (the pagination I mean, not the attachments).And it also works with Fancybox, another addon that I like (less features than HS4smf but still a great one)
Re: [ADDON][WIP] In Line Attachments Reply #13 – November 06, 2014, 06:31:38 am There is a problem with this mod and simple portal. I don't kow if is related to SP or ILA.I have a block "Board news" where I insert the images inline floatet to left. In smf is working fine, but not on Elk. I attach 2 images to explain betterp.s. I can also provide an account if someone want to take a look.
Re: [ADDON][WIP] In Line Attachments Reply #14 – November 06, 2014, 09:49:01 am Looks like its not finding the image. to display?