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)

deegan 08-22-2006 07:03 PM

Anyone know anything about importing from your server?

I can't seem to find the stuff I have put in my admincp?

steadicamop 08-22-2006 07:09 PM

Sorry - sussed out why it wasn't working correctly; I dumped the data into the DB first then installed the product - which wipes the table first, so removed everything I just uploaded!!

For anyone having problems getting the Dictionary into the database, try this:

http://www.ozerov.de/bigdump.php

It can dump very large sql files into the database in small chunks, very simple and works extremely well, and doesn't crash out your database!!

Cheers

Jason

deegan 08-22-2006 07:18 PM

Ahhh, o.k, didn't see that other file on my desktop the vb spell reg. got it now, but it says.................

Warning: filesize(): Stat failed for ./DICTIONARY.DIC (errno=2 - No such file or directory) in /admincp/plugin.php(1232) : eval()'d code on line 18

Warning: fopen(./DICTIONARY.DIC): failed to open stream: No such file or directory in /admincp/plugin.php(1232) : eval()'d code on line 19
Unable to open dictionary file: ./DICTIONARY.DIC

cynix2 08-22-2006 07:28 PM

@bashy
open ./includes/functions.php
find and remove
Code:

//added from MKportal
define ( 'IN_MKP', 1 );
require_once "../mkportal/include/VB/vb_out.php";
$output = mkportal_board_out($output);
//end added

create a new plugin on the 'global_complete' hook call it 'MK Portal' with the following code
Code:

$holdmkp[] = "vbspell";
$mkp = "yes";

foreach ($holdmkp as $id => $item) {
        if(strpos($filename, $item) === false || strpos($userinfo['location'], $item) === false){ $mkp = $mkp; } else { $mkp = "no"; }
}

if ($mkp = "yes") {
//added from MKportal
define ( 'IN_MKP', 1 );
require_once "../mkportal/include/VB/vb_out.php";
$output = mkportal_board_out($output);
//end added
}

if you have any other pages you dont want the sidebar on just add more lines ad the top like this
Code:

$holdmkp[] = "index";
$holdmkp[] = "showthread";

ect...
that SHOULD fix the problem with that portal

cynix2 08-22-2006 07:31 PM

@deegan
you didnt upload the dictionary.dic file to your forum home directory
please do this first, THEN import the product
also make sure you've uploaded all the files from the main package as well (not just the dictionary)

deegan 08-22-2006 07:35 PM

Quote:

Originally Posted by cynix2
@deegan
you didnt upload the dictionary.dic file to your forum home directory
please do this first, THEN import the product
also make sure you've uploaded all the files from the main package as well (not just the dictionary)

So the dictionary. dic goes to home, not admincp?

bashy 08-22-2006 07:36 PM

Cheers m8

So...doing this, i wont loose the Forum within the portal look will i?
Cause that bit you said to remove is thet bit that does that ya see?

Nother issue....

On uninstall it dont uninstall properly.....

Please see image..... How do i rectify that please?


Quote:

Originally Posted by cynix2
@bashy
open ./includes/functions.php
find and remove
Code:

//added from MKportal
define ( 'IN_MKP', 1 );
require_once "../mkportal/include/VB/vb_out.php";
$output = mkportal_board_out($output);
//end added

create a new plugin on the 'global_complete' hook call it 'MK Portal' with the following code
Code:

$holdmkp[] = "vbspell";
$mkp = "yes";
 
foreach ($holdmkp as $id => $item) {
    if(strpos($filename, $item) === false || strpos($userinfo['location'], $item) === false){ $mkp = "yes"; } else { $mkp = "no"; }
}
 
if ($mkp = "yes") {
//added from MKportal
define ( 'IN_MKP', 1 );
require_once "../mkportal/include/VB/vb_out.php";
$output = mkportal_board_out($output);
//end added
}

if you have any other pages you dont want the sidebar on just add more lines ad the top like this
Code:

$holdmkp[] = "index";
$holdmkp[] = "showthread";

ect...
that SHOULD fix the problem with that portal


cynix2 08-22-2006 07:46 PM

@bashy
wait no the plugin above is wrong
change
Code:

if(strpos($filename, $item) === false || strpos($userinfo['location'], $item) === false){ $mkp = "yes"; } else { $mkp = "no"; }
to
Code:

if(strpos($filename, $item) === false || strpos($userinfo['location'], $item) === false){ $mkp = $mkp; } else { $mkp = "no"; }
*updated in original post*

that should keep the portal on your pages but not show it on the spell checker

as for the uninstall stuff, make sure your templates for editor_toolbar_on, postbit_quickedit, and showthread_quickreply are reverted

deegan 08-22-2006 07:54 PM

It appears to be working, thanks, I put it in the folder above admincp.

Should I erase the other dictionary files I put elsewhere, or does that matter?

cynix2 08-22-2006 07:55 PM

@deegan
it wastes space, so i recommend you delete all *.dic files now that your installation is complete, but there is no need to remove them if you dont want to or dont feel comfortable doing it


All times are GMT. The time now is 04:28 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.02479 seconds
  • Memory Usage 1,745KB
  • 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
  • (8)bbcode_code_printable
  • (2)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