Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
reduced space in Advanced and Simple editor Details »
reduced space in Advanced and Simple editor
Mod Version: 1.00, by fxdigi-cash (Member) fxdigi-cash is offline
Developer Last Online: Feb 2016 I like it Show Printable Version Email this Page

vB Version: 4.2.1 Rating: (2 votes - 5.00 average) Installs: 8
Released: 19 Apr 2014 Last Update: Never Downloads: 0
Not Supported Code Changes Re-usable Code  

intro:
The purpose of this modification is to reduce the extra unnecessary space between icons in the simple and advanced editor. it is a little unpleasant to see the empty space especially in the advanced editor menu. Thus this modification to clean that up to VB users and owners.
installation steps:

1- Open up in your favorite html editor this JavaScript file: /clientscript/ckeditor/ckeditor.js

2- find the following line and DELETE it:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

3- Save your file and upload it back to the same location, and you are done.

Screenshots:

Simple editor before modification -->




Simple editor after modification -->



Advanced editor before modification -->



Advanced editor after modification -->



There are no settings or anything else to do for this modification. enjoy!!

---------------------------------------------
Compatible with VB 4.x.x.

-------------------------------------------------------------------------------------------

v1.0 April 19th 2014
  • Initial Release.

-------------------------------------------------------------------------------------------

Please "Mark as Installed" if you use this.

Nominate MOTM if you LOVE it!

Good luck for All,

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Show Thread Enhancements [CKEditor] MARCO1 Advanced Editor - Quick Reply & Quick Edit With Full Editor Control MARCO1 vBulletin 4.x Add-ons 469 20 May 2019 09:04

Comments
  #2  
Old 19 Apr 2014, 03:11
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
RESERVED!!

Good luck for all...
__________________
Shoot me a PM if I didn't reply in your post when you needed help. I can't remember things easily
Reply With Quote
  #3  
Old 19 Apr 2014, 05:41
K4GAP K4GAP is offline
 
Join Date: Mar 2008
I'm going to see if this works on 4.2.2 I'll report back after I see how it looks.
__________________

Reply With Quote
  #4  
Old 19 Apr 2014, 05:51
K4GAP K4GAP is offline
 
Join Date: Mar 2008
When I open the js file there is no formatting to the code. Everything runs together with no line breaks. Is that normal?


I have always used the Notepad++ editor and never had a problem with it before.


Below is just a small amount of the code and how it looks to me in the editor.



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________

Reply With Quote
  #5  
Old 19 Apr 2014, 06:09
CharlieDelta CharlieDelta is offline
 
Join Date: Apr 2010
That is normal because it is mini format. In other words it is optimized.
Reply With Quote
  #6  
Old 19 Apr 2014, 06:29
ramesh_umk3's Avatar
ramesh_umk3 ramesh_umk3 is offline
 
Join Date: Jul 2010
Real name: Wiston Book
Its for our own sake javascript or jQuery are minified to save pageload time . If you want you can unminify them easily once work done minify them back
TOOL HERE

Last edited by ramesh_umk3; 19 Apr 2014 at 10:46.
Reply With Quote
  #7  
Old 19 Apr 2014, 06:47
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Originally Posted by GaryT View Post
When I open the js file there is no formatting to the code. Everything runs together with no line breaks. Is that normal?


I have always used the Notepad++ editor and never had a problem with it before.


Below is just a small amount of the code and how it looks to me in the editor.



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
The code you need to remove is not in this part of the script. try to find this code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

it is right after it. so if you found this code you will see the other one next to it...

or you can find this code which is before the code we want to delete:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I tested this process on vb4.2, 4.2.1, 4.2.2 so it should work. There is no optimized version ckeditor.js as I know of since it is not possible to either compress it or optimize...

try it again and let me know!!

Good luck!!
__________________
Shoot me a PM if I didn't reply in your post when you needed help. I can't remember things easily
Reply With Quote
  #8  
Old 19 Apr 2014, 06:51
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Originally Posted by CharlieDelta View Post
That is normal because it is mini format. In other words it is optimized.
Thanks for posting CharlieDelta, but let me say there is no optimized version of ckeditor.js as I know of... this can't be done without a web server tool that you need to specify such as Mod_pagespeed or a css or js minifier tool.
__________________
Shoot me a PM if I didn't reply in your post when you needed help. I can't remember things easily
Reply With Quote
  #9  
Old 19 Apr 2014, 06:53
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Originally Posted by ramesh_umk3 View Post
Its for our own sake javascript or jQuery are minified to safe pageload time . If you want you can unminify them easily once work done minify them back
TOOL HERE
Thanks ramesh for passing by... you are right, but we here deal with ckeditor.js not Jquery script...
__________________
Shoot me a PM if I didn't reply in your post when you needed help. I can't remember things easily
Reply With Quote
  #10  
Old 19 Apr 2014, 10:10
ahobilam's Avatar
ahobilam ahobilam is offline
 
Join Date: Aug 2011
Real name: NVS
Success in VB 4.2.2 Patch Level 1!
I did through Notepad ++ only using the find and replace option.
Just use the find <div class="cke_break"></div>
It will show as {x.push('<div class="cke_break"></div>');
I removed only : <div class="cke_break"></div>
It works fine.
Thanks
Reply With Quote
  #11  
Old 19 Apr 2014, 13:29
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Originally Posted by ahobilam View Post
Success in VB 4.2.2 Patch Level 1!
I did through Notepad ++ only using the find and replace option.
Just use the find <div class="cke_break"></div>
It will show as {x.push('<div class="cke_break"></div>');
I removed only : <div class="cke_break"></div>
It works fine.
Thanks
Glad it worked for you.

Good luck!!
__________________
Shoot me a PM if I didn't reply in your post when you needed help. I can't remember things easily
Reply With Quote
  #12  
Old 16 May 2016, 05:33
RedHacker RedHacker is offline
 
Join Date: Jan 2009
I can't open the file correct to change this
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 13:30.

Layout Options | Width: Wide Color: