Update of submission editor to use BBCode

Changes, updates etc. related to this website will be posted here.
Message
Author
User avatar
Andrew Lee
Posts: 3052
Joined: Sat Feb 04, 2006 9:19 am
Contact:

Update of submission editor to use BBCode

#1 Post by Andrew Lee »

I have modified the submission editor to use BBCode.

What happens to the old HTML-based data is this. There is simply no reliable way to directly convert the at-times pretty messy HTML code to BBCode, so what I have done is to put a flag in the database that is initially marks all entries as HTML-based. That way, the current entries will all display as it is without modification.

When someone tries to modifying an existing entry, I made a routine that makes a best effort to convert the HTML code into BBCode. This is presented to the updater who will then fix any problems with the BBCode. Once that is done is saved, the flag is set to mark that entry as BBCode-based so that subsequently it can be displayed correctly.

Let me know if anything needs fixing. Thanks!

User avatar
I am Baas
Posts: 4150
Joined: Thu Aug 07, 2008 4:51 am

Re: Update of submission editor to use BBCode

#2 Post by I am Baas »

Andrew Lee wrote:Let me know if anything needs fixing. Thanks!
w0t, no support for smilies?






Nothing to report yet.

Thank you.

User avatar
Checker
Posts: 1628
Joined: Wed Jun 20, 2007 1:00 pm
Location: Ingolstadt [DE]

Re: Update of submission editor to use BBCode

#3 Post by Checker »

Is it possible to set a button/switch, so the user is able to change the editor between BBCode and WYSIWYG :?:

User avatar
Checker
Posts: 1628
Joined: Wed Jun 20, 2007 1:00 pm
Location: Ingolstadt [DE]

Re: Update of submission editor to use BBCode

#4 Post by Checker »

Andrew Lee wrote:Let me know if anything needs fixing. Thanks!
I just updated the entry of Q-Dir.
- I noticed, that I'm unable to find Q-Dir with direct search.
- After the update the "Synopsis"-Field was one big block (same with SearchMyFile) and I had to do some additional work to give it the "old" look. ... :|

So for me switching to BBCode it's no advantage presently.

User avatar
Andrew Lee
Posts: 3052
Joined: Sat Feb 04, 2006 9:19 am
Contact:

Re: Update of submission editor to use BBCode

#5 Post by Andrew Lee »

Checker wrote:Is it possible to set a button/switch, so the user is able to change the editor between BBCode and WYSIWYG
The main reason why we are ditching the WYSIWYG editor is because it generates horrible, messy HTML code. And sometimes you have very little control when the formatting goes haywire. Haven't you encounter this before?!
Checker wrote:I noticed, that I'm unable to find Q-Dir with direct search.
I checked, and I think it's due to the limitation of MySQL search. So it should be the same as before the recent changes. I have some plans to improve the search by moving to Sphinx. But that's for another time.

I did fix up the highlighting when performing a search.
Checker wrote:After the update the "Synopsis"-Field was one big block (same with SearchMyFile) and I had to do some additional work to give it the "old" look. ...
You lost me here. Could you give me more details?

Thanks!

lautrepay
Posts: 715
Joined: Sat Mar 26, 2011 2:31 am

Re: Update of submission editor to use BBCode

#6 Post by lautrepay »

Andrew Lee wrote:
Checker wrote:After the update the "Synopsis"-Field was one big block (same with SearchMyFile) and I had to do some additional work to give it the "old" look. ...
You lost me here. Could you give me more details?

Thanks!
I guess that Checker refers to the difference between this

Image

and this

Image
__________________________________________________________________________________

Another problem that I have had i is that I can't move down one level the first word of the field "What's new":

Image
__________________________________________________________________________________

Finally, sometimes after choosing the update preview, the address of the web page of the application disappears, which forces me to make a few more steps...

User avatar
Andrew Lee
Posts: 3052
Joined: Sat Feb 04, 2006 9:19 am
Contact:

Re: Update of submission editor to use BBCode

#7 Post by Andrew Lee »

Thanks for the details!

I believe I have fixed both issues.

User avatar
Checker
Posts: 1628
Joined: Wed Jun 20, 2007 1:00 pm
Location: Ingolstadt [DE]

Re: Update of submission editor to use BBCode

#8 Post by Checker »

@ lautrepay: That's it ... thanks for explaining.
@ Andrew Lee: I did a lot of this "bad to good" changes, but it was/is very easy to correct it.

But I see a lot of work coming up now.
Last edited by Checker on Thu Jun 21, 2012 7:16 am, edited 1 time in total.

User avatar
Checker
Posts: 1628
Joined: Wed Jun 20, 2007 1:00 pm
Location: Ingolstadt [DE]

Re: Update of submission editor to use BBCode

#9 Post by Checker »

Andrew Lee wrote:
Checker wrote:I noticed, that I'm unable to find Q-Dir with direct search.
I checked, and I think it's due to the limitation of MySQL search. So it should be the same as before the recent changes.
I did a lot of version number updates for "Q-dir" and I always found the entry with direct search input.

User avatar
Checker
Posts: 1628
Joined: Wed Jun 20, 2007 1:00 pm
Location: Ingolstadt [DE]

Re: Update of submission editor to use BBCode

#10 Post by Checker »

BTW: I noticed, that this thread does not show up at "Recent forum posts".
Is this intentionally :?:

User avatar
Checker
Posts: 1628
Joined: Wed Jun 20, 2007 1:00 pm
Location: Ingolstadt [DE]

Re: Update of submission editor to use BBCode

#11 Post by Checker »

Look at the "Unicode support"-entry of Q-Dir

Presently:
YesThere are two version available: ANSI and Unicode. The Unicode version only works on Win2K/XP/Vista/7.
Should be:
Yes. There are two version available: ANSI and Unicode. The Unicode version only works on Win2K/XP/Vista/7.

User avatar
Checker
Posts: 1628
Joined: Wed Jun 20, 2007 1:00 pm
Location: Ingolstadt [DE]

Re: Update of submission editor to use BBCode

#12 Post by Checker »

What happend to: SearchMyFiles :?:

The Synopsis is again one block of text. (Wasn't so as I changed it)
And additionally: The entry "A 64-bit version is available" is now missing :(

User avatar
Checker
Posts: 1628
Joined: Wed Jun 20, 2007 1:00 pm
Location: Ingolstadt [DE]

Re: Update of submission editor to use BBCode

#13 Post by Checker »

Checker wrote:And additionally: The entry "A 64-bit version is available" is now missing :(
Oops, I missed, that you entered a seperate download-link for 64-bit now.

... now I/we have to change all 64-bit entries.
As I did most of this "A 64-bit version is available" entries and I had a lot of work to go thrue the database and give them a structured look, I see a lot of work coming up again :(

procyon
Posts: 34
Joined: Wed Apr 11, 2012 1:30 pm

Re: Update of submission editor to use BBCode

#14 Post by procyon »

Checker wrote: ... now I/we have to change all 64-bit entries.
As I did most of this "A 64-bit version is available" entries and I had a lot of work to go thrue the database and give them a structured look, I see a lot of work coming up again :(
IMHO, don't bother you with that. Affected entries can wait theirs next update. :)

lautrepay
Posts: 715
Joined: Sat Mar 26, 2011 2:31 am

Re: Update of submission editor to use BBCode

#15 Post by lautrepay »

Andrew Lee wrote:I believe I have fixed both issues.
Thank you, Mr. Lee.
Checker wrote: As I did most of this "A 64-bit version is available" entries and I had a lot of work to go thrue the database and give them a structured look, I see a lot of work coming up again :(
There's a lot of extra work to be done with the new 64-bit download links, but the entries look really better now.
I'll continue with my little help in the "updates" tasks, and hope others users can join.

Post Reply