News:

Join the Facebook Fan Page.

Main Menu

Hide Post

Started by Leaf, November 30, 2005, 10:49:38 PM

Previous topic - Next topic

Sheepy

Quote from: Leaf on December 04, 2005, 11:21:22 AM
There is no way to combine the same feature into one mod because of the changes between smf 1.0.5 and smf 1.1 rc1.
There's actually a way.  In package-info.xml you can specify smf version for install, uninstall, and upgrade.  I think my More HTML Tags is one that install different things for different SMF version.

Leaf

Release version 1.0.3:
- Fix some bugs
- Integrate two versions into one mod

RoarinRow

Quote from: Leaf on December 05, 2005, 01:37:09 PM
Release version 1.0.3:
- Fix some bugs
- Integrate two versions into one mod

Thank you, I just installed the new version.   ;)

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

RoarinRow

I am getting a new message:

2: PSPELL couldn't open the dictionary. reason: No word lists can be found for the language "en".
File: /forum/Sources/Subs-Post.php
Line: 838

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

Phantom_man

Quote from: Leaf on November 30, 2005, 10:49:38 PM
Link to Mod

Languages supported: English, Simplified Chinese (GB2312 & UTF-8)


Hi

In Spanish for when?
Or single habra for those two languages

Thanks, good work

Salu2
hxxp:www.el-portal.org/foro/index.php [nonactive]

hxxp:www.portalbritney.com [nonactive]

Leaf

#45
Quote from: Phantom_man on December 05, 2005, 04:38:18 PM
In Spanish for when?
Sorry, I only know English and Chinese. You can create Spanish translation by yourself if you know English. Just copy HidePost.english.php, tanslate all strings in it and name it with Spanish like your other Spanish files. The same method works for all other languages.

Quote from: RoarinRow on December 05, 2005, 03:55:45 PM
I am getting a new message:

2: PSPELL couldn't open the dictionary. reason: No word lists can be found for the language "en".
File: /forum/Sources/Subs-Post.php
Line: 838
Sorry, I didn't check for spell check. Let me debug it.

RoarinRow

Quote from: Leaf on December 05, 2005, 06:36:44 PM
Quote from: Phantom_man on December 05, 2005, 04:38:18 PM
In Spanish for when?
Sorry, I only knows English and Chinese. You can create Spanish translation by yourself if you know English. Just copy HidePost.english.php, tanslate all strings in it and name it with Spanish like your other Spanish files. The same method works for all other languages.

Quote from: RoarinRow on December 05, 2005, 03:55:45 PM
I am getting a new message:

2: PSPELL couldn't open the dictionary. reason: No word lists can be found for the language "en".
File: /forum/Sources/Subs-Post.php
Line: 838
Sorry, I didn't check for spell check. Let me debug it.

Thank you until it's resolve no one can spell check.  Appreciate it.

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

Aly

#47
Quote from: Leaf on December 02, 2005, 04:49:35 PM
Release version 1.0.1:
- Support smf 1.0.5
- Add hidden option 'Login'
- Fix some bugs

Aly, I changed the search text in Post.template.php. Hope it helps.

Oh! thank you! Yeah i looked for the stuff you said before... and it had been exactly as you said it should be but the mod still wouldn't install... i shall redownload and try installing again ^-^
Thank you so much for your hard work ;D
辛苦你了! ^-^

Leaf

Quote from: RoarinRow on December 05, 2005, 03:55:45 PM
I am getting a new message:

2: PSPELL couldn't open the dictionary. reason: No word lists can be found for the language "en".
File: /forum/Sources/Subs-Post.php
Line: 838
Tested with a server that can do spell check. No problem to do spell check after installing my mod.
My mod desn't change spell check part. You get the error because your server lacks some spell check file for english, which has nothing to do with smf or my mod.
For more information about pspell, see: http://aspell.sourceforge.net/

Leaf

Quote from: Aly on December 05, 2005, 09:44:38 PM
Quote from: Leaf on December 02, 2005, 04:49:35 PM
Release version 1.0.1:
- Support smf 1.0.5
- Add hidden option 'Login'
- Fix some bugs

Aly, I changed the search text in Post.template.php. Hope it helps.

Oh! thank you! Yeah i looked for the stuff you said before... and it had been exactly as you said it should be but the mod still wouldn't install... i shall redownload and try installing again ^-^
Thank you so much for your hard work ;D
辛苦你了! ^-^

Pleaase install 1.0.3. There are major changes in version 1.0.2. Also, some important bug fixes in 1.0.3.

RoarinRow

Quote from: Leaf on December 05, 2005, 10:47:50 PM
Quote from: RoarinRow on December 05, 2005, 03:55:45 PM
I am getting a new message:

2: PSPELL couldn't open the dictionary. reason: No word lists can be found for the language "en".
File: /forum/Sources/Subs-Post.php
Line: 838
Tested with a server that can do spell check. No problem to do spell check after installing my mod.
My mod desn't change spell check part. You get the error because your server lacks some spell check file for english, which has nothing to do with smf or my mod.
For more information about pspell, see: http://aspell.sourceforge.net/

I checked that site that you referenced above and I could not see anything too useful there.  Yahoo is hosting my site so I can not just install something and reboot the server.

This is just coincidence that this occured after I uninstalled 1.0.2 of your mod and installed 1.0.3.  My spell check was working great before this.  

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

Leaf

#51
QuoteThe latest version of GNU Aspell is 0.60.4. You can find it at ftp.gnu.org:/gnu/aspell or at a GNU mirror site. You will also need to download at least one dictionary which can be found at the same location.

If you are looking for Aspell 0.33.7, Pspell, or dictionaries for Aspell 0.33.7 go here.
You see, it says that it needs language file for spell check.

Are you using smf 1.0.5? Do you get warnings when you uninstall 1.0.2 and install 1.0.3?

RoarinRow

Quote from: Leaf on December 05, 2005, 11:00:42 PM
QuoteThe latest version of GNU Aspell is 0.60.4. You can find it at ftp.gnu.org:/gnu/aspell or at a GNU mirror site. You will also need to download at least one dictionary which can be found at the same location.

If you are looking for Aspell 0.33.7, Pspell, or dictionaries for Aspell 0.33.7 go here.
You see, it says that it needs language file for spell check.

Are you using smf 1.0.5? Do you get warnings when you uninstall 1.0.2 and install 1.0.3?

Yes I am running smf 1.0.5.  No warning when I installed/uninstalled and I've done it serval times already.

I didn't installed the dictionary files since it was already part of the server's function. 

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

Leaf

Yes, the dictionary files are part of server php functions.

I just install 1.0.2, remove it and install 1.0.3 on smf 1.0.5. No problem to do spell check.

I tested that on a server hosted by an outside ISP. It is not my own and I cannot change the server settings, either.

I will pm you a test account. Please check in my test site and try to see if you can reproduce the problem.

RoarinRow

Quote from: Leaf on December 05, 2005, 11:13:28 PM
Yes, the dictionary files are part of server php functions.

I just install 1.0.2, remove it and install 1.0.3 on smf 1.0.5. No problem to do spell check.

I tested that on a server hosted by an outside ISP. It is not my own and I cannot change the server settings, either.

I will pm you a test account. Please check in my test site and try to see if you can reproduce the problem.

I'm on the site now.  I'll let you know what I find in a few minutes.

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

RoarinRow

Quote from: RoarinRow on December 05, 2005, 11:38:52 PM
Quote from: Leaf on December 05, 2005, 11:13:28 PM
Yes, the dictionary files are part of server php functions.

I just install 1.0.2, remove it and install 1.0.3 on smf 1.0.5. No problem to do spell check.

I tested that on a server hosted by an outside ISP. It is not my own and I cannot change the server settings, either.

I will pm you a test account. Please check in my test site and try to see if you can reproduce the problem.

I'm on the site now.  I'll let you know what I find in a few minutes.

I was unable to replicate the problem.  Thanks for letting me try out on your server.  Not sure what the problem could be, no other mod was installed with yours.  Can't believe that the languange file, i.e. spell check, could be deleted. 

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

Leaf

Do you backup your bbs before you install new mods? You can restore your backup copy to see if you can do spell check.

If you don't have a backup, you can install a test bbs in  a different directory on your website and test from there.

Leaf

Another note, if you are familiar with installing mod manually, you can compare the files to see if the changes are correct as they should be in mod.

RoarinRow

Quote from: Leaf on December 06, 2005, 12:19:03 AM
Do you backup your bbs before you install new mods? You can restore your backup copy to see if you can do spell check.

If you don't have a backup, you can install a test bbs in  a different directory on your website and test from there.

I did do a backup two days before.  Since then there have been two many posts to go back and recover from that point.  My server logs shows what changes were changed and I could do a restore of just the individual files.

I can also check the files manually as well.

Before I do that, however, I will wait for my host to get back to me on their end about the language file install/files.

Thanks.

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

Leaf

When I say backup files, I mean bbs source files, not the db in MySQL.

It is a good practice to backup all your source files in your bbs directory before you install any mod. Usually, a mod will change files in Sources and/or Themes directory. At lease backup files in these two directories.

Or, if you configure a bbs on your local machine for test purpose, you can install and test a mod on bbs in your local machine to make sure everything working fine before you apply it to your actual forum.

Advertisement: