TinyPortal

Development => Support => Topic started by: clothahump on January 24, 2012, 11:53:13 AM

Title: BBC Editor problems
Post by: clothahump on January 24, 2012, 11:53:13 AM
Just tried adding a new BBC article, the following buttons are no longer working in TP but work within SMF.

Insert Image
Insert Hyperlink
Insert Email
Insert FTP Link
Title: Re: BBC Editor problems
Post by: agridoc on January 24, 2012, 12:21:05 PM
You are partially right clothahump.

The keys you mentioned don't work with BBC editor in WYSIWYG mode. With WYSIWYG off they work as expected.

There was a bug, BBC editor in WYSIWYG mode didn't save. It seems that the fix affected these keys.
Title: Re: BBC Editor problems
Post by: clothahump on January 24, 2012, 12:33:32 PM
Will it be fixed shortly? be nice to have the ability to upload images from the articles editor as well.
Title: Re: BBC Editor problems
Post by: IchBin on January 24, 2012, 04:08:34 PM
It'll be fixed as my free time allows me to work on these things. Not to mention it takes time to figure things out. There is already an option to upload an image in the article. As for the editor doing it, it won't happen unless the people who write the editor add that feature.

In the mean time, just toggle the wysiwyg editor off so it will insert your BBC for you.
Title: Re: BBC Editor problems
Post by: clothahump on January 24, 2012, 04:18:21 PM
I must be going blind, only upload box I can see is Upload a new icon :
Title: Re: BBC Editor problems
Post by: clothahump on January 24, 2012, 04:25:26 PM
I don't wish to sound stupid but why does TP use it's own editor instead of the SMF editor which appears to work OK?
Title: Re: BBC Editor problems
Post by: IchBin on January 24, 2012, 05:19:20 PM
What do you mean? SMF does not have an HTML editor, it only has the BBC/Wysiwyg editor.  TP has both, one editor for the HTML, and then uses the SMF editor for BBC stuff.

For the article image, there is an option to add an image to the quicklist right below the textbox for both the body and intro of the article.
Title: Re: BBC Editor problems
Post by: clothahump on January 24, 2012, 05:23:41 PM
BBC Editor as per the title of this thread.

There is no upload facility in the BBC editor, upload is only available in HTML editor.
Title: Re: BBC Editor problems
Post by: IchBin on January 24, 2012, 06:21:10 PM
Ah yes, sorry about that. Got side tracked. :) Yeah, that's not really part of the editor so much as it's just another featured added to the post page. If I wasn't in the RC stage I'd love to add features. At this point though, I just want to get things stable.

Will see what I can figure out about the wysiwyg buttons not working.
Title: Re: BBC Editor problems
Post by: agridoc on January 24, 2012, 06:31:44 PM
clothahump is pointing that the attachements feature of SMF BBC editor is not implemented in TP BBC articles template. I agree that it should be added, however this depends on IchBinâ,,¢'s time.

clothahump is using Spud's In Line Attachments -- ILA (http://custom.simplemachines.org/mods/index.php?mod=2481) and Highslide 4 SMF (HS4SMF) (http://custom.simplemachines.org/mods/index.php?mod=2518) mods in cooperation with Nibogo's Float BBCODE (http://custom.simplemachines.org/mods/index.php?mod=2305). He wants to use them in TP BBC articles as well. However, as these mods are attachments related can't be used in TP BBC articles, except Floaf BBCODE (clothahump you will see the extra buttons when editing a TP BBC article). They are excellent mods and produce really good presentations, with proper use.

I had proposed in the past, before Bloc's retirement, the "Topic as article" addition. Selected topics are organized as articles in TP article system. It's something that I believe will be done but TP Team must be convinced to go this way.

Right now clothahump what I see closer is usimg TP's "Promote to Frontpage" feature with some topics that use these mods. It's not the same as a TP BBC article or as my Topic as article request but consider using it.

With a bit of Javascript you can have pictures with highslide in HTML or PHP TP articles with more formatting options but I agree that these mods produce excellent results with a few tags and some options.
Title: Re: BBC Editor problems
Post by: clothahump on January 24, 2012, 06:39:59 PM
Problem is I would like to edit all my articles to utilise all the Mods I have installed to make things look more professional, to do this I need a fully functioning editor, not one that just does bits and pieces if you play around with code.
Title: Re: BBC Editor problems
Post by: IchBin on January 25, 2012, 01:20:52 AM
Clothahump, just wanted to say thanks to you. You've reported several bugs over the last little while and I appreciated you doing that. This bug is pretty ugly. I'm not sure how to fix it yet. It may required a significant rewrite in how BBC articles are handled...
Title: Re: BBC Editor problems
Post by: agridoc on January 25, 2012, 04:40:36 AM
IchBinâ,,¢ has done a great work in debugging TP, major problems are solved, so we are now in RC versions. Bloc has done a great work but retired at a stage that quite some work had to be done. He is not absent however  :)

TP has MANY features, some of them not working exactly as expected. We agreed that priority was a bug free TP.

In SMF TP support topic you reported a bug that I found it goes way back at least to 1.0 beta 4 (some years ago). I published a quick fix (http://www.simplemachines.org/community/index.php?topic=27642.msg3258243#msg3258243), also for some more, 1 left for IchBinâ,,¢. Such bugs would have been fixed earlier, if catched and reported.

SMF WYSIWYG BBC editor is not bug free standalone and implementing has difficulties. Some buttons not working in WYSIWYG mode is not so important, however attachments were never available since the introduction of TP BBC articles. This is something that made me think about and I see the same for IchBinâ,,¢.

We are sorry for the inconvenience but be sure that such reports and seeing live sites with TP like yours is the motivation needed to continue work for a better TP.
Title: Re: BBC Editor problems
Post by: clothahump on January 25, 2012, 01:21:27 PM
Quote from: IchBinâ,,¢ on January 25, 2012, 01:20:52 AM
Clothahump, just wanted to say thanks to you. You've reported several bugs over the last little while and I appreciated you doing that. This bug is pretty ugly. I'm not sure how to fix it yet. It may required a significant rewrite in how BBC articles are handled...

What you do is very much appreciated, would be nice to have the full BBC editor from SMF included, if I knew how to code I would happily help.