View Single Post
  #170  
Old 11-04-2005, 06:38 PM
tamarian tamarian is offline
 
Join Date: Oct 2001
Location: Canada
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Re: 3.5.1: The reason it stops working is that the vbspell template gets deleted after the upgrade, probably due to product id, as it was made before products. I'll check on that.

In the mean time, to get it back, all you need to do is re-create the vbspell template, either by running the install script (only the template step), or create a new vbspell template by pasting this:

HTML Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>vB Spell $vboptions[bbtitle]</title>
$style[css]
<script>
var iFrameBody;
var spell_formname="$FormName";
var spell_fieldname="$FieldName";
</script>
<script src="vbspell.js"></script>
<script>
$js;
</script>
</head>

<body>

<form name="fm1" onSubmit="return false;">

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
        <tr>
                <td class="tcat" colspan="2">
                        <strong>vB Spell</strong>
                </td>
        </tr>

        <tr>
                <td class="alt1" colspan="2">
                        <iframe name="spellbox" id="spellbox" width="100%" height="270" scrolling="auto" src="vbspell_iframe.php"></iframe>
                </td>
        </tr>

        <tr class="alt1">
                <td valign="top" width="310">
                        <fieldset class="fieldset" style="margin:0px">
                                <legend>Change to:</legend>
                                <div style="padding:$stylevar[formspacer]px">
                                        <div>
                                                <input type="text" name="changeto" class="biginput">
                                        </div>
                                </div>
                        </fieldset>        
                </td>

                <td width="310">
                        <fieldset class="fieldset" style="margin:0px">
                                <legend>Suggestions:</legend>
                                <div style="padding:$stylevar[formspacer]px">
                                        <div>
                                                <select style="width:100%" name="suggestions" size="4" onClick="this.form.changeto.value = this.options[ this.selectedIndex ].text">
                                                </select>
                                        </div>
                                </div>
                        </fieldset>
                </td>
        </tr>

        <tr>
                <td colspan="2" class="alt2" noWrap="noWrap">
                        <input type="button" class="button" name="change" value="Change" onClick="replaceWord()">
                        <input type="button" class="button" name="changeall" value="Change All" onClick="replaceAll()">
                        <input type="button" class="button" name="ignore" value="Ignore" onClick="nextWord(false)">
                        <input type="button" class="button" name="ignoreall" value="Ignore All" onClick="nextWord(true)">
                        <input type="button" class="button" name="learn" value="Learn" onClick="learnWord()"> 
                        <input type="button" class="button" name="thesarus" value="Thesaurus" onClick="thesarusWord()">
                        <input type="button" class="button" name="lookup" value="Lookup" onClick="lookupWord()">	
                        <input type="button" class="button" name="quit" value="Quit" onClick="exitWord()">	
                        <input type="button" class="button" name="done" value="Done" onClick="doneWord()">
                </td>
        </tr>  
</table>
</form>
</body>
</html>
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01079 seconds
  • Memory Usage 1,804KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete