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)

Eq4bits 10-25-2006 01:48 AM

I'll be darned! That *does* make it pop over instead of popping under! YAY!
now... I can't find where to add the button to the quick reply... anybody know where that template is located?

morrow 10-25-2006 04:20 AM

First and foremost... BACK UP YOUR DATABASE BEFORE INSTALLING ANY HACK!

1. Post 105 - Fix photopost / review post issues
2. Post 198 - Fix hiding pop-up window issues.
3. Post 135 - Recomended for all other issues - Check your mysql tables to see if vbspell exists. If it doesn't, uninstall the product then refer to this post.

If you run into any errors after item 3, revert to the backup you made before installing this hack. Don't have a back-up? That's too bad.

By the way, nice hack! Clicked Install!

deegan 10-25-2006 07:56 AM

Quote:

Originally Posted by 4number8
For anyone that would like the spell check button added, edit your newreply, and newthread templetes:

newreply
find:
Code:

<input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[submit_reply]" accesskey="s" tabindex="1" />
                <input type="submit" class="button" name="preview" value="$vbphrase[preview_post]" accesskey="r" tabindex="1" />

under it add this:
Code:

<input type="button" class="button" value="Spell Check" onClick="spellCheck('vbform', '$editorid', '2');" />
newthread
find:

Code:

<input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[submit_new_thread]" accesskey="s" tabindex="1" />
                <input type="submit" class="button" name="preview" value="$vbphrase[preview_post]" accesskey="r" tabindex="1" />

under this add:
Code:

<input type="button" class="button" value="Spell Check" onClick="spellCheck('vbform', '$editorid', '2');" />
Best of all, no more hidding windows, it pops up as it should :D



https://vborg.vbsupport.ru/showthrea...hlight=vbspell

That was some quality info right there...

Did it and it works great...

If this place used their own "Thank You" hack, you'd be gettin' one right now...

Thank you!...:nervous:

4number8 10-25-2006 10:19 AM

Quote:

Originally Posted by Eq4bits
I'll be darned! That *does* make it pop over instead of popping under! YAY!
now... I can't find where to add the button to the quick reply... anybody know where that template is located?

To add the spell check button to the quick reply, simply search for this phrase in..

showthread templete find:
Code:

<input type="submit" class="button" value="$vbphrase[go_advanced]" accesskey="x" title="(Alt + X)" name="preview" tabindex="3" id="qr_preview" onclick="clickedelm = this.value" />
Below this add:
Code:

<input type="button" class="button" value="Spell Check" onClick="spellCheck('qrform', '$editorid', '2');" />
You now have a spell check button on quickreply that works as it should.

Hope that helps

4number8 10-25-2006 10:23 AM

Quote:

Originally Posted by pokerie
Are you saying that putting them edits in the templates gets rid of the above problem of the hiding window or the link at the bottom of your post does?

The edits I posted will fix your problem, I removed the link to keep down confusion.

4number8 10-25-2006 10:28 AM

Quote:

Originally Posted by R1lover
Could you explain this as I and many others are still getting the pop up issue... This link takes you back to this thread?

Thank you

If your still trying to use the button at the top you will still have the issue, thats why I decided to add the spell check button at the bottom where it should be, with the other buttons. IMO this looks much better and my members have no trouble finding it to use. Hope that explains it better.

4number8 10-25-2006 10:37 AM

To also add the spell check button to your go advanced options, edit your postbit_quickedit templete.

Find:
Code:

<input type="button" class="button" tabindex="1" accesskey="r" value="$vbphrase[go_advanced]" id="{$editorid}_adv" />
Below add:
Code:

<input type="button" class="button" value="Spell Check" onClick="spellCheck('vbform', '$editorid', '2');" />

baze22 10-25-2006 10:42 AM

Quote:

Originally Posted by 4number8
To add the spell check button to the quick reply, simply search for this phrase in..

showthread templete find:
Code:

<input type="submit" class="button" value="$vbphrase[go_advanced]" accesskey="x" title="(Alt + X)" name="preview" tabindex="3" id="qr_preview" onclick="clickedelm = this.value" />
Below this add:
Code:

<input type="button" class="button" value="Spell Check" onClick="spellCheck('qrform', '$editorid', '2');" />
You now have a spell check button on quickreply that works as it should.

Hope that helps


Thanks for these posts, I hadn't even thought of putting the button back:rolleyes: The method you posted for newreply/newthread for for pm_newpm (didn't check the exact code, but right after the preview button). I did add the 'accesskey="l"', so that users could use Alt-L to pop it up too.

Thanks again,

baze

4number8 10-25-2006 10:48 AM

If you would like to have a spell check button for your users to use with their PMs, simply edit your pm_newpm templete.

Find:
Code:

<input type="submit" class="button" value="$vbphrase[preview_message]" accesskey="r" name="preview" tabindex="1" />
Below this add:
Code:

<input type="button" class="button" value="Spell Check" onClick="spellCheck('vbform', '$editorid', '2');" />
Now you and your users can check the spelling in your PM's

4number8 10-25-2006 10:51 AM

Quote:

Originally Posted by baze22
Thanks for these posts, I hadn't even thought of putting the button back:rolleyes: The method you posted for newreply/newthread for for pm_newpm (didn't check the exact code, but right after the preview button). I did add the 'accesskey="l"', so that users could use Alt-L to pop it up too.

Thanks again,

baze

The code is different for the 3.5.4, thats why I went ahead and posted the correct code to find in 3.6.2.


All times are GMT. The time now is 01:19 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.02610 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
  • (12)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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