Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Mod Requests => Topic started by: Ravenshade on August 20, 2009, 09:26:04 PM

Title: [FREE] Minimum Word Limit MOD 1.1.10
Post by: Ravenshade on August 20, 2009, 09:26:04 PM
None of the current mods work and I don't have the skill to change them. If possible could someone go through them and update them for 1.1.10

I want to restrict post counts to around 1500 words a post...
Title: Re: [FREE] Minimum Word Limit MOD 1.1.10
Post by: Arantor on August 20, 2009, 09:35:48 PM
Minimum or maximum of 1500 words a post?

And what mods are you looking at already that don't work?
Title: Re: [FREE] Minimum Word Limit MOD 1.1.10
Post by: sAce on August 21, 2009, 12:30:14 AM
15oo word minimum !! wow!

you will never get much activity that way , my friend
Title: Re: [FREE] Minimum Word Limit MOD 1.1.10
Post by: isl30fvi3w on August 22, 2009, 01:56:10 PM
I also need this mod, please make it SMF 1.1.8 comaptible. A settings page will make it more customizable.
Title: Re: [FREE] Minimum Word Limit MOD 1.1.10
Post by: Arantor on August 22, 2009, 02:29:19 PM
SMF 1.1.8 should be upgraded ASAP to 1.1.10 due to a security hole that allows a hacker to insert arbitrary code into your server.

In any case, please clarify what the requirements are.

A word minimum, or maximum, or both? How are you classing a word, e.g. is a post of 'a a a a a a' a post of 6 words each of one letter or not? Is 'it's' one word or two? What about hyphenated words? Numbers?
Title: Re: [FREE] Minimum Word Limit MOD 1.1.10
Post by: isl30fvi3w on August 22, 2009, 03:00:20 PM
I think it's much easier to set this up using a minimum and maximum CHARACTERS, not words.

I'm still using SMF 1.1.8 because of some mods which are not compatible with the newer smf versions.
Title: Re: [FREE] Minimum Word Limit MOD 1.1.10
Post by: Arantor on August 22, 2009, 03:10:30 PM
Maximum characters is easy. It's already there.

Upgrade to 1.1.10. Most mods are still compatible, and for the ones that aren't... we can show you how to make them work anyway. I should warn you again. The hack that 1.1.8 is vulnerable too allows an external user access not only to your forum but every other thing in your account. We have seen it consume entire servers too.
Title: Re: [FREE] Minimum Word Limit MOD 1.1.10
Post by: isl30fvi3w on August 22, 2009, 03:23:22 PM
Thanks for pointing out about the availability of this mod.

Anyway, now I really need to upgrade. My forum's main feature is AD REVENUE SHARING but the mod is not compatible with SMF 1.1.10. Do you know how to make this compatible with 1.1.10?..=(
Title: Re: [FREE] Minimum Word Limit MOD 1.1.10
Post by: Arantor on August 22, 2009, 03:25:43 PM
I'm not going to answer that here - it's totally off topic. Please ask in the mod's own thread first of all - then ask in the support boards. You will also find answers by searching for 'version_emulate' which allows the package manager to pretend to be other versions.
Title: Re: [FREE] Minimum Word Limit MOD 1.1.10
Post by: Ravenshade on August 28, 2009, 08:48:36 AM
Whoa didn't expect replies.  ^_^ Any way,  Lets start from the top.

Arantor:

I would like it to be a minimum of 1500 (or preferably customizable). I have tried Aitsukai's but it didn't install.

http://custom.simplemachines.org/mods/index.php?mod=290

S-Ace:

It's for a specific section of the forum, my forum is primarily role-playing but I'm creating somewhere for the literates. The absolute minimum is 1500 but the recommended minimum is 3000 words. I'm not really expecting much activity there ^_^

Arantor: I'd prefer that single letters and two letters be discounted from the count, but in the effort to make it easier, I'd accept them. Numbers, I'd also prefer to exclude from the count but again, if it's easier to include them, please go ahead and do so.

Hyphenated would count as two words because I'm expecting that excluding hyphens from the count will also be easier.

Title: Re: [FREE] Minimum Word Limit MOD 1.1.10
Post by: Arantor on August 28, 2009, 08:58:27 AM
That all sounds quite reasonable. I'll see what I can do - it might be a few days due to real life stuff going on though.
Title: Re: [FREE] Minimum Word Limit MOD 1.1.10
Post by: Arantor on August 28, 2009, 06:16:56 PM
Right, I had more time today than I thought I might, so I've written this one.

It'll be a few days before it's approved and publicly available but it'll be at http://custom.simplemachines.org/mods/index.php?mod=2117
Title: Re: [FREE] Minimum Word Limit MOD 1.1.10
Post by: Ravenshade on September 09, 2009, 06:12:08 PM
Whoa Thanks very much Arantor you're the best!

now to go check it works ^_^
Title: Re: [FREE] Minimum Word Limit MOD 1.1.10
Post by: Arantor on September 09, 2009, 06:13:22 PM
Well, it's approved as of today so you can definitely try it out :)
Title: Re: [FREE] Minimum Word Limit MOD 1.1.10
Post by: Jeep29 on September 28, 2009, 08:18:26 AM
Hello,

Very good mod( sorry for my english)

Is it possible to chosse to assigne this restriction juste for one categories of profiles
Title: Re: [FREE] Minimum Word Limit MOD 1.1.10
Post by: Arantor on September 28, 2009, 08:20:10 AM
Not without completely rewriting it, no.

That would require tracking board+usergroup, which is very complex since there's nowhere in the system to actually record that directly.
Title: Re: [FREE] Minimum Word Limit MOD 1.1.10
Post by: Jeep29 on September 28, 2009, 08:28:42 AM
ok

Thanks for your reactivity
Title: Re: [FREE] Minimum Word Limit MOD 1.1.10
Post by: дTдKдИ on October 02, 2009, 11:22:44 AM
Thank you for the Turkish translation of mod:
Modifications.turkish.php

$txt['limit_min_words'] = 'Mesaj baþýna minimum kelime sayýsý sýnýrý';
$txt['limit_max_words'] = 'Mesaj baþýna maksimum kelime sayýsý';
$txt['limit_words_note'] = '0 bu sýnýrý devre dýþý býrakýr';


Errors.turkish.php
$txt['error_post_too_few_words'] = 'Mesajda yeterli kelime limitine ulaþamadýnýz!';
$txt['error_post_too_many_words'] = 'Mesajda Kelime sýnýrýný aþtýnýz!';
Title: Re: [FREE] Minimum Word Limit MOD 1.1.10
Post by: Arantor on October 02, 2009, 11:42:33 AM
Thanks for the translation! I've not going to have time to add it before I go away, sadly, but upon my return I'll add it :)
Title: Re: [FREE] Minimum Word Limit MOD 1.1.10
Post by: дTдKдИ on October 05, 2009, 02:29:44 AM
no problem,Thanks   ;D