SpellingCow.com Forum Index SpellingCow.com
Improving forum spelling since... well not very long
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your PM'sLog in to check your PM's   Log inLog in 
Forums | Home

Mockup - developers kit

 
Post new topic   Reply to topic    SpellingCow.com Forum Index -> The War Room
View previous topic :: View next topic  
Author Message
nuttzy99
Site Admin


Joined: 23 May 2004
Posts: 1068

PostPosted: Sat Jul 03, 2004 9:49 am    Post subject: Mockup - developers kit Reply with quote

I've put together a file that's got the core elements of the main spelling window so it can be opened locally. The idea is that any one with browser compatibility issues and some web dev knowledge can play around and try to fix problems on their own, and then tell me what needs to be corrected.

Hopefully with a little help from my friends here, we can get this working for all browsers Smile Please report back on this thread any issues you find.

Download: mockup-1-0-1.zip

Thanks!
-Nuttzy Cool
_________________
<?php echo "something wicked awesome for my sig"; ?>
Back to top
View user's profile Send private message
Stryker



Joined: 29 May 2004
Posts: 118
Location: Klamath Falls, Oregon

PostPosted: Sat Jul 03, 2004 4:16 pm    Post subject: Reply with quote

There was 1 CSS error which was just missing a ; semi-colin
There was 1 CSS recommendation for Font-Family. (I just added 1 more default font to the list)

Here is the modified code:

Code:
.bodytop {
line-height : 0;
margin-top : 0;
margin-left : 0;
margin-right : 0;
margin-bottom : 0;
margin : 0;
background-color : #efefef;
}
.dlgframe {
background-color : #9099aa;
}
.dlg {
background-color : #ffffff;
}
.label {
font-family : Arial, Helvetica, sans-serif;
font-size : 10pt;
font-weight : bold;
color : black;
}
.tabborder {
background-color : #ffffff;
}
.tabbody {
background-color : #ffffff;
}
.tabactive {
text-align : center;
background-color : #b1d2d2;
}
A:link {
font-family : Arial, Helvetica, sans-serif;
font-size : 9pt;
font-weight : bold;
text-decoration : none;
color : #000084;
}
A:active {
font-weight : bold;
color : #000084;
font-weight : bold;
}
A:visited {
font-family : Arial, Helvetica, sans-serif;
font-size : 9pt;
font-weight : bold;
text-decoration : none;
color : #000084;
}
A:hover {
font-family : Arial, Helvetica, sans-serif;
font-size : 9pt;
font-weight : bold;
text-decoration : underline;
color : #000084;
}
div.scroll {
overflow : auto;
background-color : #fff;
padding : 8px;
}
.selected_word {
font-size : 14px;
font-family : Verdana, Arial, Helvetica, sans-serif;
color : #ff0000;
letter-spacing : -1px;
text-decoration : underline;
font-weight : bold;
}
a.selected_word:link {
font-size : 14px;
font-family : Verdana, Arial, Helvetica, sans-serif;
color : #ff0000;
letter-spacing : -1px;
text-decoration : underline;
font-weight : bold;
}
a.selected_word:hover {
font-size : 14px;
font-family : Verdana, Arial, Helvetica, sans-serif;
color : #ff0000;
letter-spacing : -1px;
text-decoration : underline;
font-weight : bold;
}
a.selected_word:visited {
font-size : 14px;
font-family : Verdana, Arial, Helvetica, sans-serif;
color : #ff0000;
letter-spacing : -1px;
text-decoration : underline;
font-weight : bold;
}
.highlight_word {
font-size : 12px;
font-family : Verdana, Arial, Helvetica, sans-serif;
color : #0000ff;
letter-spacing : -1px;
text-decoration : underline;
font-weight : bold;
}
a.highlight_word:link {
font-size : 12px;
font-family : Verdana, Arial, Helvetica, sans-serif;
color : #0000ff;
letter-spacing : -1px;
text-decoration : underline;
font-weight : bold;
}
a.highlight_word:hover {
font-size : 12px;
font-family : Verdana, Arial, Helvetica, sans-serif;
color : #0000ff;
letter-spacing : -1px;
text-decoration : underline;
font-weight : bold;
}
a.highlight_word:visited {
font-size : 12px;
font-family : Verdana, Arial, Helvetica, sans-serif;
color : #0000ff;
letter-spacing : -1px;
text-decoration : underline;
font-weight : bold;
}
.correction {
font-size : 14px;
font-family : Verdana, Arial, Helvetica, sans-serif;
color : #ff0000;
letter-spacing : -1px;
}
a.correction {
font-size : 14px;
color : #ff0000;
text-decoration : none;
}
a.correction:hover {
font-size : 14px;
color : #ff0000;
text-decoration : underline;
}
a.correction:visited {
font-size : 14px;
color : #ff0000;
text-decoration : underline;
}
a.correction:link {
font-size : 14px;
color : #ff0000;
text-decoration : underline;
}
input.mainoption {
width : 70px;
font-family : Arial, Helvetica, sans-serif;
font-size : 9pt;
}
.gensmall {
font-size : 9px;
font-weight : normal;
}


This CSS is now 100% Valid Very Happy
nuttzy, if for some reason You had those mistakes like that on purpose? Delete my post Razz
_________________
~!~


Last edited by Stryker on Mon Aug 29, 2005 7:13 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Stryker



Joined: 29 May 2004
Posts: 118
Location: Klamath Falls, Oregon

PostPosted: Sat Jul 03, 2004 4:20 pm    Post subject: Reply with quote

When I get time, I will add the spell checker to the php-nuke phpbb integrated forums and see if it plugs in as easy (It should). Also, I will try to add it to the news module that post the php-nuke news to the main page for admins.
_________________
~!~


Last edited by Stryker on Mon Aug 29, 2005 7:13 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Stryker



Joined: 29 May 2004
Posts: 118
Location: Klamath Falls, Oregon

PostPosted: Sat Jul 03, 2004 7:58 pm    Post subject: Reply with quote

Ok I partially got the spell checker working on the php-nuke integrated forums. The only part I couldn't get was the auto spell checker. For example, privmsg.php don't exist, and the sql queue needed a slight modification.

Here is the instructions for making it work with php-nukes integrated phpbb forums. (This is for the manual checking, I couldn't get the auto checking)

Code:

#
#-----[ COPY ]---------------------------------
#
# NOTE: this needs to be placed in your php-nuke root directory. The reason I didn't change it to nukes phpbb was because in the future I may get it to work with the php-nuke's news module and it would be pointless to have it in two places.
#
copy spell-gw.php to spell-gw.php


#
#-----[ OPEN ]---------------------------------
#NOTE: If you have mutliple themes, You will need to do this to all of them.
#
modules/Forums/templates/subSilver/posting_body.tpl


#
#-----[ FIND ]---------------------------------
#
#   NOTE - the complete lines to find are:
#        <tr>
#         <td colspan="9"><span class="gen">
#           <textarea name="message" rows="15" cols="35" wrap="virtual" style="width:450px" tabindex="3" class="post" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{MESSAGE}</textarea>
#           </span></td>
#        </tr>
#
{MESSAGE}
</td>
</tr>


#
#-----[ AFTER, ADD ]---------------------------------
#
# NOTE: for a standard install, you won't need to modify these lines at all
#

      <!-- =======================================================================
         Adjust the spellcheck_data line to use SpellingCow with ANY form and
         ANY textarea or textbox.  Simply adjust the "value" data as follows:
            form:   Enter the form name to check.  Enter only one form name.
            source: Enter the form item to be checked.  Later versions will
                  allow more than one item to be checked!
            button: Enter the name of the submit button for the form
            type:   phpBB, vB, IPB, or other - not used yet, but perhaps
                  will be in the near future

         The following is optimized for a standard phpBB install but you can
            make any changes desired regarding style or to accommodate MODs
           =======================================================================  -->
<!-- SPELL CHECKER -->
        <tr align="center">
         <td colspan="4">
            <input type="hidden" name="auto_spell_check" value="{AUTO_SPELL}">
            <input type="button" name="spellcheck" class="liteoption" value="Spell Check"
               onClick="window.open('spell-gw.php?mode=load&form=post&source=message&button=post&type=phpBB', '_spellcheck', 'HEIGHT=484,resizable=yes,scrollbars=yes,WIDTH=595');"><br>

            <style type="text/css"><!-- .spellcow, a.spellcow { font-size : 8px; color : #FFFFFF; } --></style>
            <!-- Removal of the following line may result in suspension of the service by SpellingCow.  Come on, linking back to us is not asking much but means a lot to us.  Thanks! ;-) -->
            <span class="spellcow">by <a href="http://www.spellingcow.com" target="_blank" class="spellcow">SpellingCow.com</a><a href="spell-gw.php" target="_blank" class="spellcow">.</a><br>
         </td>
        </tr>
<!-- SPELL CHECKER -->

#
# The follow is optional, but would be very much appreciated.  It would really help support the project!
#

#
#-----[ OPEN ]---------------------------------
#
modules/Forums/templates/subSilver/overall_footer.tpl


#
#-----[ FIND ]---------------------------------
#
#   NOTE - the complete line to find is:
# Powered by <a href="http://www.phpbb.com/" target="_phpbb" class="copyright">phpBB</a> {PHPBB_VERSION} &copy; 2001, 2002 phpBB Group<br />{TRANSLATION_INFO}</span></div>
#
{PHPBB_VERSION} &copy; 2001, 2002 phpBB Group


#
#-----[ IN-LINE FIND ]---------------------------------
#
{PHPBB_VERSION} &copy; 2001, 2002 phpBB Group


#
#-----[ IN-LINE AFTER, ADD ]---------------------------------
#
 :: Spelling by <a href="http://www.spellingcow.com/" target="_phpbb" class="copyright">SpellingCow</a><a href="spell-gw.php" target="_phpbb" class="copyright">.</a>


#
#-----[ SAVE/CLOSE ALL FILES ]---------------------------------
#
Back to top
View user's profile Send private message Visit poster's website
GPHemsley



Joined: 27 May 2004
Posts: 139
Location: Long Beach, NY

PostPosted: Sat Jul 03, 2004 9:08 pm    Post subject: Reply with quote

Stryker wrote:
There was 1 CSS error which was just missing a ; semi-colin
There was 1 CSS recommendation for Font-Family. (I just added 1 more default font to the list)

Here is the modified code:

[...]

This CSS is now 100% Valid Very Happy
nuttzy, if for some reason You had those mistakes like that on purpose? Delete my post Razz


See http://www.spellingcow.com/phpBB2/viewtopic.php?p=602#602 Wink
_________________
Gordon P. Hemsley
A Link to the PastCMSformE
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Stryker



Joined: 29 May 2004
Posts: 118
Location: Klamath Falls, Oregon

PostPosted: Sat Jul 03, 2004 10:28 pm    Post subject: Reply with quote

GPHemsley wrote:
Stryker wrote:
There was 1 CSS error which was just missing a ; semi-colin
There was 1 CSS recommendation for Font-Family. (I just added 1 more default font to the list)

Here is the modified code:

[...]

This CSS is now 100% Valid Very Happy
nuttzy, if for some reason You had those mistakes like that on purpose? Delete my post Razz


See http://www.spellingcow.com/phpBB2/viewtopic.php?p=602#602 Wink


Ya I know, Thats why I was curious why it wasn't updated in this release.
_________________
~!~


Last edited by Stryker on Mon Aug 29, 2005 7:13 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
GPHemsley



Joined: 27 May 2004
Posts: 139
Location: Long Beach, NY

PostPosted: Sun Jul 04, 2004 3:59 am    Post subject: Reply with quote

Stryker wrote:
Ya I know, Thats why I was curious why it wasn't updated in this release.

Ah, OK... In that case, me too. Mr. Green
_________________
Gordon P. Hemsley
A Link to the PastCMSformE
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
nuttzy99
Site Admin


Joined: 23 May 2004
Posts: 1068

PostPosted: Sun Jul 04, 2004 9:27 am    Post subject: Reply with quote

Well, I certainly do want to take care of things like that, but the real motivation for getting this together was so that mfs9 could figure out why it's not displaying well on Konquerer. Before the next release I'll be sure to get the CSS changes in there. Wink

Thanks,
-Nuttzy Cool
_________________
<?php echo "something wicked awesome for my sig"; ?>
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SpellingCow.com Forum Index -> The War Room All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group :: Spelling by SpellingCow.

SpellingCow.com Privacy Policy | blueGray theme by Nuttzy

Sponsors:
Identity Theft Protection - Compare identity theft protection services
Structured Settlements - cash for structured settlements, sell annuity, lottery winnings, and more.
Barcode Scanner Manufacturer - taiwan manufacturer of scanners, swipe card reader, serial-ethernet converter, cash drawer, and other pos devices.
Advice, help & demonstrations for sign makers - Europe's leading sign makers website
Tattoo - we are a group of tattoo enthusiasts