Go Back   Pligg Forum > Pligg Development > Pligg Mods
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-08-2006, 09:57 AM
kbeeveer46's Avatar
kbeeveer46 kbeeveer46 is offline
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,579
Downloads: 62
Uploads: 6
Thanks: 255
Thanked 651 Times in 515 Posts
Add-on: Spell checker for submitting stories

Since you said you kept forgetting to do this Ash I went ahead and figured it out. This add-on is for anyone who wants to add the spell checker to step 2 of submitting a new story. This add-on only applies to those who are already using the spell checker. If you don't have the spell checker installed and you want to install it go here

In your submit_step_2.tpl below
Code:
<textarea name="bodytext"  rows="10" cols="60" id="bodytext" >{$submit_content}</textarea>
add
PHP Code:
<br />
    {if 
$Spell_Checker eq 1}<input type="button" name="spelling" value="Check Spelling" class="submit" onClick="openSpellChecker('bodytext');"/>{/if} 
In your submit.php below
Code:
function do_submit1() {    
	global $main_smarty, $db, $dblang, $current_user, $the_template;
add
PHP Code:
$main_smarty->assign('Spell_Checker',Spell_Checker); 
__________________
I accept donations for my time helping users like you on the forum and IRC.
Reply With Quote
The Following User Says Thank You to kbeeveer46 For This Useful Post:
Reply



Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Related Stories on Story Page canadianguy33 Core Development 8 03-22-2008 01:39 PM
No pagination for stories in profile kbeeveer46 Bug Report 0 08-07-2006 12:22 AM
Spell Checker 3dKiller Core Development 14 07-27-2006 09:32 PM
How can you make "Queued Stories" display promoted stories as well? gragland General Help 0 06-17-2006 11:24 PM


LinkBacks Enabled by vBSEO 3.0.0