vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   New Posting Features - vB Spell (https://vborg.vbsupport.ru/showthread.php?t=124578)

badham 09-01-2006 04:12 PM

I looked at your instal on your board.......a somewhat unconventional install in that you only have one level to your fourm......everything is set to your root directory www.mmaworld.org. That will be tough in the future if you decide to add a home page or certain additions......not impossible but very hard as most hacks and setups are designed assuming you set up your forums at www.yoursite.com/forums just an observation


badham

brvheart 09-01-2006 04:42 PM

Quote:

Originally Posted by badham
I looked at your instal on your board.......a somewhat unconventional install in that you only have one level to your fourm......everything is set to your root directory www.mmaworld.org. That will be tough in the future if you decide to add a home page or certain additions......not impossible but very hard as most hacks and setups are designed assuming you set up your forums at www.yoursite.com/forums just an observation


badham

it is not really set up that way....I just had the URL drop in to the /forum directory so that you did not see www.mmaworld.org/forum instead you only see www.mmaworld.org, but on my FTP there is a /forum where the install resides.

brvheart 09-01-2006 05:53 PM

Quote:

Originally Posted by badham
Yes...go to ADMINCP>>Maintance>run SQL querry You can copy and paste the above code and the run the querry....it will ask you if you are sure...click continue. What you have done is made a table in your database called vbspell....now you can unzip the dictonary alt download. you will find 10 txt notepads...open one, copy it and the paste it in the run sql querry section and click run.....do this one at a time for all 10 and you will be good to go. It is easier if you use phpmyadmin...but since you are not familiar with it....this will work......you can also edit the prdouct file as noted above......but this may be safer in your case.

badham


man I feel bad...this is what I get when running htat...

Quote:

An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ';
REPLACE INTO vbspell VALUES ('aa', 'A');
REPLACE INTO vbspell VALUES ('aaas'' at line 1

webwench 09-01-2006 07:07 PM

I just read through all the posts in this thread and haven't found a solution for this:

When I import the product, it goes all the way to 99% done and then I get a database error:

MySQL Error : Duplicate entry 'vbspell_allow_all' for key 1

I've been looking for a solution for an hour with no success - please, someone take pity on me and tell me what to do? :(

On edit - searched and found 3 things in vb_settings from a previous installation of vbSpell - there are three vbspell_ variables in vb_setting that need to be deleted before you import the product. I haven't tested yet but no more database errors; hopefully it worked! :)

On edit again - I spoke too soon. :( Javascript errors, and it doesn't work. :(

jw00dy 09-01-2006 09:34 PM

Quote:

Originally Posted by Pyrix
Sure,

Go to Plugin Manager in your admin control panel and edit the plugin 'vB Spell Template Changes'.

Add the following line at the very top before anything else:

Code:

if ( VB3_INTEGRATION != "on" ) {
and the following after the very last line:

Code:

}
Because the VB3_INTEGRATION variable should be defined when the WYSIWIG editor is being called from photopost, it'll fail that condition and the code to include the spell check won't be called.

You won't get spell check in the gallery, but you can still use it in the forums without messing up the gallery.

Works for me anyway ;)

Ollie

Works for me too. THANK YOU!!!

badham 09-01-2006 10:41 PM

Quote:

Originally Posted by brvheart
man I feel bad...this is what I get when running htat...


Do you run cpanel???? If so you can log into it at www.mmaworld.org/cpanel and you can access phpmyadmin under the mysql icon and install the database querry that way. Did you remove the dictionary.dic file that you uploaded previously????


badham

Mr Peabody 09-01-2006 10:57 PM

Quote:

Originally Posted by Pyrix
For some reason the product's install code drops the vbspell table as soon as it's created it, unless you have a table prefix!

Code:

$db->hide_errors();
// Create vB Spell Table
$db->query_write("CREATE TABLE IF NOT EXISTS vbspell (
  word varchar(30) NOT NULL,
  sound varchar(10) NOT NULL,
  UNIQUE KEY word (word),
  KEY sound (sound)
) TYPE=MyISAM");

// Remove Old vB Spell Table
$db->query_write("DROP TABLE IF EXISTS " . TABLE_PREFIX . "vbspell");

I can only assume the coder was asleep when he wrote it ;)

The product file needs to be editted and reattached here. The above code would work well if it was...

Code:

$db->hide_errors();

// Remove Old vB Spell Table
$db->query_write("DROP TABLE IF EXISTS " . TABLE_PREFIX . "vbspell");

// Create vB Spell Table
$db->query_write("CREATE TABLE IF NOT EXISTS vbspell (
  word varchar(30) NOT NULL,
  sound varchar(10) NOT NULL,
  UNIQUE KEY word (word),
  KEY sound (sound)
) TYPE=MyISAM");

This way the table is cleared, but a new one is created! Previously it would create a new table, then delete it straight away so your dictionary words had nowhere to go?!?!?!?

Bizarre :p

Ollie


Cheers mate this worked great for me. I run 2 forums and for some reason it installed great on one the other it kept dropping the table like you said :confused:

brvheart 09-02-2006 12:12 AM

Quote:

Originally Posted by badham
Do you run cpanel???? If so you can log into it at www.mmaworld.org/cpanel and you can access phpmyadmin under the mysql icon and install the database querry that way. Did you remove the dictionary.dic file that you uploaded previously????


badham

I found the mysql area from my host...but not sure how to do it..

and no I did not remove the dictionary.doc file....I will try that and let you know. Thanks for all the help!

badham 09-02-2006 12:16 AM

If you can't figure it out.....you can pm me the control panel info and I can fix it in about 10 minutes......

badham

brvheart 09-02-2006 12:27 AM

Quote:

Originally Posted by badham
If you can't figure it out.....you can pm me the control panel info and I can fix it in about 10 minutes......


badham


Thank you, I will let you know :)


All times are GMT. The time now is 12:15 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01407 seconds
  • Memory Usage 1,755KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete