Page 1 of 2 12 LastLast
Results 1 to 15 of 22

Thread: HOWTO: Adding a SpellChecker to WHMCS

  1. #1
    Join Date
    Jul 2009
    Location
    Gdansk, PL
    Posts
    326

    Default HOWTO: Adding a SpellChecker to WHMCS

    I figured many people could use this feature as the spell checker that comes with Firefox won't spell check text within the TinyMCE editor (this is the editor used for writing emails and the knowledgebase). Let's start

    You can download the TinyMCE Spellchecker plugin here

    Extract that archive and you should get a folder called 'spellchecker', upload it to /whmcs_path/templates/admin_path/editor/plugins/.

    Now we're going to have to edit the config file for TinyMCE in order to get the new plugin recognized, this file is located in /whmcs_path/templates/admin_path/editor/editor.php, download that and run it in a text editor of your choice (if you don't have anything custom installed such as Notepad++ just use Notepad). You're going to see a line that looks like this:

    Code:
    plugins : "style,table,advhr,advimage,advlink,iespell,inlinepopups,insertdatetime,media,searchreplace,contextmenu,paste,directionality,fullscreen,visualchars,xhtmlxtras",
    Copy and paste this over that whole line:

    Code:
    plugins : "style,table,advhr,advimage,advlink,iespell,inlinepopups,insertdatetime,media,searchreplace,contextmenu,paste,directionality,fullscreen,visualchars,xhtmlxtras,spellchecker",
    Now we just have to edit one more line which will actually load the spellchecker button into the menu. You have to decide where you want it, but I just added mine to the 3rd line at the very end. To do this, edit this line:

    Code:
    theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,ltr,rtl,|,fullscreen",
    And copy and paste this over it:

    Code:
    theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,emotions,iespell,media,advhr,|,ltr,rtl,|,fullscreen|,spellchecker",
    Now upload the editor.php file in its originating directory and you're all set This plugin by default uses Google's spell checker and supports a few languages but if you feel up to it you can edit the spell checking engine by messing around with the /spellchecker/config.php file.

    Btw Matt, you think you could add this by default to newer versions of WHMCS, I'm using Firefox v3.5 with their spellchecker but because TinyMCE is java based it won't load the spell checker. Either way please look at it
    Last edited by DedicatedPros; 07-16-09 at 09:45 PM.
    :: Dedicated servers directly from OVH
    :: All clients get their own nichandle to the OVH Manager for free!

    ::
    Great prices >> friendly support >> wide selection range >> DedicatedPros :: Dedicated Servers

  2. #2
    Join Date
    May 2007
    Location
    Atlanta, GA
    Posts
    261

    Default

    Great fix! It works perfectly

    Thank you!
    UCclouds.com "Everything UC is in the Cloud"
    Hosted Virtual Desktops (VDI), Cloud Servers, Webhosting, SSL Certificates, Full Managed Support

  3. #3
    Join Date
    Jun 2007
    Location
    Wagga Wagga, NSW, Australia
    Posts
    461

  4. #4
    Join Date
    May 2009
    Location
    uk
    Posts
    953

    Default

    Thanks

    You are the best.

  5. #5
    Join Date
    Feb 2009
    Location
    Gardenstown, Banff, UK
    Posts
    98

    Default

    Very nice post.

  6. #6
    Join Date
    Jun 2008
    Location
    Canada
    Posts
    386

    Default

    the link doesnt seem to take me to a download anywhere
    it is all sourceforge and i keep getting unable to load mirrors
    does anyone have a copy they can post here with

    thanks in advance
    Last edited by Impact-John; 07-22-09 at 06:17 PM.

  7. #7
    Join Date
    Jul 2009
    Location
    Gdansk, PL
    Posts
    326

    Default

    :: Dedicated servers directly from OVH
    :: All clients get their own nichandle to the OVH Manager for free!

    ::
    Great prices >> friendly support >> wide selection range >> DedicatedPros :: Dedicated Servers

  8. #8
    Join Date
    Jun 2008
    Location
    Canada
    Posts
    386

    Default

    thank you so much for the download

  9. #9
    Join Date
    Jul 2009
    Location
    Gdansk, PL
    Posts
    326

    Default

    No probs
    :: Dedicated servers directly from OVH
    :: All clients get their own nichandle to the OVH Manager for free!

    ::
    Great prices >> friendly support >> wide selection range >> DedicatedPros :: Dedicated Servers

  10. #10
    Join Date
    May 2009
    Posts
    15

    Default

    Thank you.
    Last edited by antoniojeldres; 12-29-09 at 09:45 PM.

  11. #11

    Default

    thanks ! i am using this, going to try it out right now!

  12. #12
    Join Date
    Jan 2008
    Posts
    231

    Default

    Will this get overwritten with a upgrade?

  13. #13
    Join Date
    Jun 2009
    Location
    Sheffield, UK
    Posts
    7,465

    Default

    If you upload the default editor.php file when you upgrade, yes it will be overwritten. Simply don't upload that file to maintain the change.
    WHMCompleteSolution
    The Complete Client Management, Billing & Support System
    www.whmcs.com

  14. #14
    Join Date
    Apr 2012
    Posts
    4

    Default Thanks!

    This works in version 5 like a charm.

  15. #15
    Join Date
    May 2012
    Posts
    4

    Default

    Thanks for download. .Its work perfectly. .

Page 1 of 2 12 LastLast

Similar Threads

  1. Howto Change whmcs database password?
    By UncleMiky in forum Technical Issues and Questions
    Replies: 2
    Last Post: 04-12-12, 10:27 AM
  2. anyone knows howto?
    By minadreapta in forum Technical Issues and Questions
    Replies: 3
    Last Post: 10-17-07, 02:11 AM
  3. Secure WHMCS howto enable
    By designpc in forum Pre-Sales Questions
    Replies: 5
    Last Post: 06-24-07, 08:10 PM
iron-diatonic