 |
SpellingCow.com
Improving forum spelling since... well not very long
|
| View previous topic :: View next topic |
| Author |
Message |
nuttzy99 Site Admin

Joined: 23 May 2004 Posts: 1068
|
Posted: Sat Jul 03, 2004 9:49 am Post subject: Mockup - developers kit |
|
|
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 Please report back on this thread any issues you find.
Download: mockup-1-0-1.zip
Thanks!
-Nuttzy  _________________ <?php echo "something wicked awesome for my sig"; ?> |
|
| Back to top |
|
 |
Stryker

Joined: 29 May 2004 Posts: 118 Location: Klamath Falls, Oregon
|
Posted: Sat Jul 03, 2004 4:16 pm Post subject: |
|
|
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
nuttzy, if for some reason You had those mistakes like that on purpose? Delete my post  _________________ ~!~
Last edited by Stryker on Mon Aug 29, 2005 7:13 am; edited 1 time in total |
|
| Back to top |
|
 |
Stryker

Joined: 29 May 2004 Posts: 118 Location: Klamath Falls, Oregon
|
Posted: Sat Jul 03, 2004 4:20 pm Post subject: |
|
|
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 |
|
 |
Stryker

Joined: 29 May 2004 Posts: 118 Location: Klamath Falls, Oregon
|
Posted: Sat Jul 03, 2004 7:58 pm Post subject: |
|
|
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} © 2001, 2002 phpBB Group<br />{TRANSLATION_INFO}</span></div>
#
{PHPBB_VERSION} © 2001, 2002 phpBB Group
#
#-----[ IN-LINE FIND ]---------------------------------
#
{PHPBB_VERSION} © 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 |
|
 |
GPHemsley
Joined: 27 May 2004 Posts: 139 Location: Long Beach, NY
|
Posted: Sat Jul 03, 2004 9:08 pm Post subject: |
|
|
| 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
nuttzy, if for some reason You had those mistakes like that on purpose? Delete my post  |
See http://www.spellingcow.com/phpBB2/viewtopic.php?p=602#602  _________________ Gordon P. Hemsley
A Link to the Past • CMSformE |
|
| Back to top |
|
 |
Stryker

Joined: 29 May 2004 Posts: 118 Location: Klamath Falls, Oregon
|
Posted: Sat Jul 03, 2004 10:28 pm Post subject: |
|
|
| 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
nuttzy, if for some reason You had those mistakes like that on purpose? Delete my post  |
See http://www.spellingcow.com/phpBB2/viewtopic.php?p=602#602  |
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 |
|
 |
GPHemsley
Joined: 27 May 2004 Posts: 139 Location: Long Beach, NY
|
Posted: Sun Jul 04, 2004 3:59 am Post subject: |
|
|
| 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.  _________________ Gordon P. Hemsley
A Link to the Past • CMSformE |
|
| Back to top |
|
 |
nuttzy99 Site Admin

Joined: 23 May 2004 Posts: 1068
|
Posted: Sun Jul 04, 2004 9:27 am Post subject: |
|
|
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.
Thanks,
-Nuttzy  _________________ <?php echo "something wicked awesome for my sig"; ?> |
|
| Back to top |
|
 |
|
|
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
|
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
|