Can spellcheck use it own DB

Support for IntegraMOD 140

Moderator: Integra Moderator

Can spellcheck use it own DB

PostAuthor: a_lunatic » Tue May 16, 2006 11:02 pm

Was wondering if i can get spell check to use its own DB as it has made the forum DB from 789k to 13.6MB & every time it does back up its gona chew up storage space.

also that way if u have more that 1 forum can they all use the same DB for spell check

thx in advance if any1 can help
Last edited by a_lunatic on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
a_lunatic
Members
Members
 
Posts: 56
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 9:05 am
Cash on hand: 0.00

PostAuthor: Adrian Rea » Wed May 17, 2006 2:45 am

I think this would be an excellent idea to promote, if anyone knows how to do it. I am fairly sure I had discussion about this before with Okki, although we did not get a solution. Especially for sites with multiple languages.

I was also thinking I wonder if a central spellcheck db could be setup for sites of different domains and users. The db access can be tailored to reduce security risk even make it read only, but you would lose the add function.

A

A
Last edited by Adrian Rea on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Adrian Rea
Sr Integra Member
Sr Integra Member
 
Posts: 1263
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 12, 2006 12:59 am
Cash on hand: 0.00

Re: Can spellcheck use it own DB

PostAuthor: a_lunatic » Wed May 17, 2006 11:37 am

well i had had go at it myself mind u i was winging it all the way as i don't know what i am doing with this stuff & manage to get it to work with my live site & test site using the same DB.

anyway this is how i did it

create a DB for it

#-----[ OPEN ]------------------------------
#

....spellingspell_config.php

#
#-----[ FIND ]------------------------------------------

// ----------------------------------------------

// ----- Uncomment which ever line you need -----

// ----------------------------------------------

// $Spell_Config['DB_Type'] = 'PHPBB'; <--- comment this line

// $Spell_Config['DB_Type'] = 'Hivemail';

$Spell_Config['DB_Type'] = 'MySQL'; <---Uncomment this line

// $Spell_Config['DB_Type'] = 'PHPNuke';

// $Spell_Config['DB_Type'] = 'PSPELL';

// $Spell_Config['DB_Type'] = 'Invision';

// $Spell_Config['DB_Type'] = 'vBulletin';

// $Spell_Config['DB_Type'] = 'phpMail';



// ----------------------------------------------

// You only need to change only for Native MySQL

// support! Otherwise you are waisting your time

// as the other built in supported methods

// already sets these up.

// ----------------------------------------------

$Spell_Config["DB_Username"] = " your DB user name";

$Spell_Config["DB_Password"] = "your DB password";

$Spell_Config["DB_Database"] = "name of the DB you created a for it";

$Spell_Config["DB_Host"] = "localhost";

// ----------------------------------------------


Then u just go to the Admin Index, Forum Admin, Spellcheck & install new Dictionary & it should use the new DB if u got everything right

also will have to drop the phpbb_spelling_words from your forum DB or before u change anything Clear Existing Dictionary so its not so big.

if any1 wants to rewrite this in a better way go for it
Last edited by a_lunatic on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
a_lunatic
Members
Members
 
Posts: 56
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 09, 2006 9:05 am
Cash on hand: 0.00

PostAuthor: Adrian Rea » Wed May 17, 2006 1:56 pm

Fantastic, Gold medal (if it holds :))

Nice one lune <img>

A
Last edited by Adrian Rea on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Adrian Rea
Sr Integra Member
Sr Integra Member
 
Posts: 1263
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 12, 2006 12:59 am
Cash on hand: 0.00

PostAuthor: Okki » Wed May 17, 2006 3:43 pm

Sorry to say A, but i already use it like that for almost a year <img>
Last edited by Okki on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[hr][size=99px] [url=http]http][/size]
[color=red][size=99px][/size]
Please visit our advertisers.
User avatar
Okki
Dev Team
Dev Team
 
Posts: 576
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 26, 2006 2:05 pm
Cash on hand: 0.00

PostAuthor: Adrian Rea » Thu May 18, 2006 1:09 am

Sorry, as I said earlier it was discussed with you, but I did not realise it was fuly functioning. We can make a KB then and all can know <img>

Thanks

A
Last edited by Adrian Rea on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Adrian Rea
Sr Integra Member
Sr Integra Member
 
Posts: 1263
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 12, 2006 12:59 am
Cash on hand: 0.00

Re: Can spellcheck use it own DB

PostAuthor: Okki » Thu May 18, 2006 1:28 am

Oops did not see that <img> Thanks

Yes, a KB would be nise, maybe i will give it a try?
Last edited by Okki on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[hr][size=99px] [url=http]http][/size]
[color=red][size=99px][/size]
Please visit our advertisers.
User avatar
Okki
Dev Team
Dev Team
 
Posts: 576
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 26, 2006 2:05 pm
Cash on hand: 0.00

PostAuthor: Adrian Rea » Thu May 18, 2006 5:08 am

Good man! <img> Thank you.


A
Last edited by Adrian Rea on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Adrian Rea
Sr Integra Member
Sr Integra Member
 
Posts: 1263
Likes: 0 post
Liked in: 0 post
Joined: Sun Mar 12, 2006 12:59 am
Cash on hand: 0.00


Return to IntegraMOD 140

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot]