News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

[FREE] Minimum Word Limit MOD 1.1.10

Started by Ravenshade, August 20, 2009, 09:26:04 PM

Previous topic - Next topic

Ravenshade

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...

Arantor

Minimum or maximum of 1500 words a post?

And what mods are you looking at already that don't work?

sAce

15oo word minimum !! wow!

you will never get much activity that way , my friend

isl30fvi3w

I also need this mod, please make it SMF 1.1.8 comaptible. A settings page will make it more customizable.
DOWNGRADE your SMF 2.0 Forum to SMF 1.1.x!

http://talk.ph/index.php?topic=3430.msg68168#new

Arantor

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?

isl30fvi3w

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.
DOWNGRADE your SMF 2.0 Forum to SMF 1.1.x!

http://talk.ph/index.php?topic=3430.msg68168#new

Arantor

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.

isl30fvi3w

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?..=(
DOWNGRADE your SMF 2.0 Forum to SMF 1.1.x!

http://talk.ph/index.php?topic=3430.msg68168#new

Arantor

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.

Ravenshade

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.


Arantor

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.

Arantor

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

Ravenshade

Whoa Thanks very much Arantor you're the best!

now to go check it works ^_^

Arantor

Well, it's approved as of today so you can definitely try it out :)

Jeep29

Hello,

Very good mod( sorry for my english)

Is it possible to chosse to assigne this restriction juste for one categories of profiles

Arantor

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.

Jeep29


дTдKдИ

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!';

Arantor

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 :)

дTдKдИ


Advertisement: