PDA

View Full Version : PHPSpell Admin CP Integration


King Kovifor
10-18-2005, 10:00 PM
Hack Info:

I just installed this and didn't like the fact that it was a seperate ACP. So, I created this little hack, easy but useful.

Files Needed:

You need to upload the following files to your ACP directory:

spell_admin.php (needs renaming)
spell_config.php
spell_MySQL.php
spell_English.php

You may gain these files through this (https://vborg.vbsupport.ru/showthread.php?t=65723) thread. Please get the "spell_admin.php" or "manage_spell_checker.php" from this thread.

Installation:

1. Rename the following files:
spell_admin.php to manage_spell_checker.php

2. Upload following files to the main ACP directory (/forum directory/admincp/)

manage_spell_checker.php
spell_config.php
spell_MySQL.php
spell_English.php

3. Download the admincp/index.php file.

4. Find:

construct_nav_option($vbphrase['language_manager'], 'language.php?do=modify', '<br />');

5. Add Under That:

construct_nav_option($vbphrase['spelling'], 'manage_spell_checker.php', '<br />');

6. Save and Upload.

7. Add Phrase:
varname: spelling
text: Manage PHPSpell
group: control panel Global

Installing NEW languages:

Instead of uploading it to your /spelling directory, you need to upload it to your /admincp/ directory.


Now you may enjoy your new spell check acp.

King Kovifor
10-19-2005, 10:51 PM
There is a bug that I will be exploring. To Install a new dictionary you must upload it to your /admincp/ directory.

I'll be exploring other bugs too.