https://www.icyphoenix.com/viewtopic.php?f=36&t=8907
-----------------------------------
mort
Tue 29 Jan, 2013 03:12

Yo Ho Ho It's Christmas - - - - Aka New Editor Buttons.
-----------------------------------
I thought I'd change the appearance of the codebox before I uploaded my IP.

And here it is if you would like to use it.

The details are in the zip.

What I did do was to drop all the L/R images and the phpBB codesheet, although I did create new buttons for them too, and rearranged  some of the order, and added a spacer.  :mricy: 

They are all transparent, so that one can change the colour in the .css  :P 

@MG - There's a message for you in the picture!  :lol: 

 [img]http://www.icyphoenix.com/files/images/8840/mg_editor_gifs.jpg[/img]


-----------------------------------
Limun
Tue 29 Jan, 2013 08:36

Re: Yo Ho Ho It's Christmas - - - - Aka New Editor Buttons.
-----------------------------------
thanks mort 
maybe i will use them somewhere   :mrviolet:


-----------------------------------
mort
Tue 29 Jan, 2013 23:43

Re: Yo Ho Ho It's Christmas - - - - Aka New Editor Buttons.
-----------------------------------
I did notice one thing this morning in the CMS - The spacer before the "Media" needs to moved into the media block so that it doesn't show in the CMS.

But, I'll wait until MG says if he wants to use it as the default before I do any more to it. ;)

Also adding the "color" to the common.css is a mistake because common.css doesn't have color, so that may need to be moved too. But again that's best left to MG to decide what happens.

 :P


-----------------------------------
Mighty Gorgon
Wed 06 Feb, 2013 10:10

Re: Yo Ho Ho It's Christmas - - - - Aka New Editor Buttons.
-----------------------------------
Thanks for sharing... I'll have a look at these buttons hopefully soon. :mri:


-----------------------------------
mort
Wed 06 Feb, 2013 14:07

Re: Yo Ho Ho It's Christmas - - - - Aka New Editor Buttons.
-----------------------------------
I'm pretty sick at the moment but they look stunning in the CMS and the post and PM tables. I could have probably used two pixel red borders and changed the  media buttons to to round icons just like the flash example so that they are all alike - and I'll do that too even if you don't want them. 

the rest of these posts will hav eto wait because I;m relly struggling hrer, ;)


-----------------------------------
mort
Mon 11 Feb, 2013 08:54

Re: Yo Ho Ho It's Christmas - - - - Aka New Editor Buttons.
-----------------------------------
Wow! did I write that garbage in the previous post - Shows what happens when one is drugged up to the eyeballs with morphine, cocaine and Diazepam. :(

Re the buttons MG - No offence - But with the pink theme I made, the "default buttons" look awful.  :P


-----------------------------------
Mighty Gorgon
Sat 02 Mar, 2013 10:06

Re: Yo Ho Ho It's Christmas - - - - Aka New Editor Buttons.
-----------------------------------
[quote user="mort" post="58225"]Re the buttons MG - No offence - But with the pink theme I made, the "default buttons" look awful.  :P[/quote]
Ha ha ha... no offence taken... :P

Those buttons should be converted into CSS buttons, so to avoid the need to making them for every template. Again, it's just a matter of time for doing them properly. :sad:

I wish days could last 48 hours and being in the office less than 12 hours... :sad:

Take care...


-----------------------------------
mort
Sat 02 Mar, 2013 13:05

Re: Yo Ho Ho It's Christmas - - - - Aka New Editor Buttons.
-----------------------------------
Sorry, but I actually disagree on this one. :P

IP's code-box is a dinosaur or a relic from the the past, and so is phpBB3's

I'm not going to elaborate but from experience there are better ways of doing things, like I added the smilie insert to JitBit at my hobby site in the same manner that they add everything else, even tough I do still need to re-process the [img tags for the smilies to make them WYSIWYG so that they don't generate thumbnails.

The script auto-closes open tags, so the [b][i]Oh!-Oh![/i][/b] - second image warning in Icy's editor-bar wouldn't be required. ;)

Neither would the "Help Line" because it tells you on mouse-over what things do - All browsers being on a level playing field of course? :P

[code linenumbers=false]<button title="bold" onclick="doClick(\'bold\');" type="button" style="background-image:url(\'editor/images/b.gif\');">&nbsp;</button>
<button title="italic" onclick="doClick(\'italic\');" type="button" style="background-image:url(\'editor/images/i.gif\');">&nbsp;</button>
<button title="underline" onclick="doClick(\'underline\');" type="button" style="background-image:url(\'editor/images/u.gif\');">&nbsp;</button>
<button title="hyperlink" onclick="doLink();" type="button" style="background-image:url(\'editor/images/url.gif\');">&nbsp;</button>[/code]

Interestingly enough there are now two wysiwyg bbCode editors on the market that are GPL that possibly deserve a look at.

http://wysiwygbbcode.codeplex.com/

http://www.sceditor.com/

And as I dread to mention MyBB - It appears that Sam Clarke is quite prepared to support it and the editor for use in forum software.

[b]Edit:[/b]

[i]Dammit![/i] I just realised in cutting that <button script into here that I never converted the titles to $lang['vars - that can stay in the wilderness until more important things have been attended to.   :lol:


