Bootstrap Changes to Advanced Editor and Attachments Form

Login or Register to Reply

Thread Tools Search this Thread
# 1  
Bootstrap Changes to Advanced Editor and Attachments Form

I changed the CSS and Javascript in the "Advanced Editor" to clean it up. This is also the editor seen in "New Thread" and "New Reply". Basically I got rid of the mouseover style changes which were messed up due to vB legacy JS code from a decade ago.

While doing this change, I then completed the first phase toward changing the attachment form to a Bootstrap Modal, but did not complete the change because I need to get rid of all the table elements first (there are quite a few). However, I did manage to add some Bootstrap classes and cleaned this form up as well:


I don't want to spend too much time on this, because I plan to change this entire method of uploading attachments to the forums, but this does clean it up a bit.
# 2  
In addition, while I was at this "editor project".. I made a lot of Bootstrap-related changes to all editors (new thread, quick reply, advanced and edit post).

It's still not so great; but it is much better than it was (had not really updated these editors in around eight years, LOL)
This User Gave Thanks to Neo For This Post:
# 3  
Looking good, Neo.
BTW, the AdvancedEditor is missing a Colors drop-down icon.
# 5  
Yeah, that color picker works in the "Quick Reply Editor" but not the "Advanced Editor" ... the code is the same and there are no Javascript errors, so it is disabled until I get around to fixing it.

I have on idea why it works in one editor and not the other with the same code with no errors. Will have to put it on the TODO list.

Just use the Quick Editor when you need colors, or just add them by hand if you really need them [COLOR=red] blah blah [/COLOR]

<if condition="$show['color_bbcode'] AND FALSE">
      alt="Editor Icon"
      <table style="border-spacing:0;border:0">
            <div id="{$editorid}_color_out">
                  alt="Color Bar"
          <td class="alt_pickbutton">

This User Gave Thanks to Neo For This Post:
# 6  
OBTW, I forgot to mention.....

The new formats for the attachments are drag and drop, so you can drag into each one of the attachment areas from your desktop and drop into the form.

I am working on the next phase of this to create a Bootstrap modal for uploading.

Looks like this and is close to working well enough to make it available. Soon, I will be an "expert" a Bootstrap modals, LOL

Bootstrap Changes to Advanced Editor and Attachments Form-screen-shot-2018-12-07-114029-pmpng
This User Gave Thanks to Neo For This Post:
# 7  
Have been working for a day on getting the "manage attachment" popup to work perfectly as a Bootstrap modal; but I cannot get it to work perfectly 100% as a modal, so I have modified the popup to look like a modal, but it is really just a page popup for now:


This works for "new reply" and "edit post" and "advanced editor" but does not work (yet) in the quick reply editor (QRE).

However, it is much better than before, not perfect as modal or working in QRE yet, but drag and drop from the desktop works well.

A bit bored with this for now; I will move on to another modal, perhaps the color picker or smilie picker, or maybe something else.

Have a great weekend!
Login or Register to Reply

Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
New Experimental Attachment Uploader / Manager in Advanced Editor
I have made the experimental Bootstrap attachment manager (modal) available to everyone. It's basically the same thing as the paperclip attachment icon, but this window opens as a Bootstrap modal versus a popup page. The downside of using the modal is that to see the attachments in the editor...... What is on Your Mind?
What is on Your Mind?
Transpose Data form Different form
HI Guys, I have data in File A.txt RL03 RL03_A_1 RL03_B_1 RL03_C_1 RL03 -119.8 -119.5 -119.5 RL07 RL07_A_1 RL07_B_1 RL07_C_1 RL07 -119.3 -119.5 -119.5 RL15 RL15_A_1 RL15_C_1 RL15 -120.5 -119.4 RL16...... Shell Programming and Scripting
Shell Programming and Scripting
Changing Unix form to Microsoft Word form to be able to email it to someone.
Please someone I need information on how to change a Unix form/document into a microsoft word document in order to be emailed to another company. Please help ASAP. Thankyou :confused:... UNIX for Advanced & Expert Users
UNIX for Advanced & Expert Users