[MODDB] Anti all uppercase letters

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Get Involved
mtrs
Registered User
Posts: 2049
Joined: Sat Sep 22, 2007 2:39 pm

Re: [BETA] Anti all uppercase letters (0.1.1)

Post by mtrs » Mon Feb 16, 2009 12:43 am

karbiko wrote:Does it works after editing one post?
Yes, but only for post text.
If you want it always (post, reply, edit, quote) correct post or topic titles.
Open
includes/functions_lowercase.php
Find and delete (2 times, in line 27 and 49)

Code: Select all

$mode == 'post' && 
I abandoned all of my mods.

acemi
Registered User
Posts: 40
Joined: Sun Dec 25, 2005 8:51 pm
Location: Istanbul
Contact:

Re: [BETA] Anti all uppercase letters (0.1.1)

Post by acemi » Mon Feb 16, 2009 8:54 am

Thanks for this tip. I was wondering how to remove ALL CAPS from quotes and titles.

Worked a charm.

mtrs
Registered User
Posts: 2049
Joined: Sat Sep 22, 2007 2:39 pm

Re: [BETA] Anti all uppercase letters (0.1.1)

Post by mtrs » Mon Feb 16, 2009 9:52 am

If you mean the posts made in past, you'll need a script to scan posts and topics tables to correct.
Otherwise, a mod need to change view in viewtopic, viewforum and search pages.
I abandoned all of my mods.

User avatar
karbiko
Registered User
Posts: 78
Joined: Thu Jul 24, 2008 8:47 pm
Location: La Palma, Canary Islands, Spain

Re: [BETA] Anti all uppercase letters (0.1.1)

Post by karbiko » Wed Mar 04, 2009 6:37 pm

mtrs wrote:Yes, but only for post text......
Thank you!!
I meant when someone edit one post and re-write it in uppercase.

User avatar
hariS.
Registered User
Posts: 50
Joined: Sat Oct 11, 2008 12:48 pm

Re: [BETA] Anti all uppercase letters (0.1.1)

Post by hariS. » Sat Mar 21, 2009 1:11 pm

I am getting this eror :

Fatal error: Call to undefined function mb_split() ...forum/includes/functions_lowercase.php on line 144

Need quick response , I am using this on Live forum

Will set notifications over mail for this topic
Known as Ha[R]iS.

mtrs
Registered User
Posts: 2049
Joined: Sat Sep 22, 2007 2:39 pm

Re: [BETA] Anti all uppercase letters (0.1.1)

Post by mtrs » Sat Mar 21, 2009 1:28 pm

hariS. wrote:I am getting this eror :

Fatal error: Call to undefined function mb_split() ...forum/includes/functions_lowercase.php on line 144

Need quick response , I am using this on Live forum

Will set notifications over mail for this topic
This is a server side php problem, meaning mb_split() multi byte function does not exist in your server. Contact your host.
I can recommend two ways, as a solution
- Disable automatic correction of ALL CAPS messages, deny them.
- Or if you use only English or any other language, where multibyte characters are not needed.
Open
includes/functions_lowercase.php
Find

Code: Select all

mb_split
Replace with (4 occurances)

Code: Select all

split
This is a quick reply, I didn't test.
I abandoned all of my mods.

User avatar
hariS.
Registered User
Posts: 50
Joined: Sat Oct 11, 2008 12:48 pm

Re: [BETA] Anti all uppercase letters (0.1.1)

Post by hariS. » Sat Mar 21, 2009 7:54 pm

Will set notifications over mail for this topic
This is a server side php problem, meaning mb_split() multi byte function does not exist in your server. Contact your host.
I can recommend two ways, as a solution
- Disable automatic correction of ALL CAPS messages, deny them.
- Or if you use only English or any other language, where multibyte characters are not needed.
Open
includes/functions_lowercase.php
Find

Code: Select all

mb_split
Replace with (4 occurances)

Code: Select all

split
This is a quick reply, I didn't test.[/quote]

Thx for reply , first will try using this multy byte function
Known as Ha[R]iS.

User avatar
hariS.
Registered User
Posts: 50
Joined: Sat Oct 11, 2008 12:48 pm

Re: [BETA] Anti all uppercase letters (0.1.1)

Post by hariS. » Mon Apr 06, 2009 1:00 pm

Works on phpBB 3.0.4 , Style : twilightBB

Also it wold be grate to make it compabitable with MOD Version Check : http://www.phpbb.com/community/viewtopi ... 9&t=691155
Known as Ha[R]iS.

mtrs
Registered User
Posts: 2049
Joined: Sat Sep 22, 2007 2:39 pm

Re: [BETA] Anti all uppercase letters (0.1.2)

Post by mtrs » Sun Apr 19, 2009 12:57 pm

Mod updated to 0.1.2
a few minor improvements added
2009-04-19
  • Repetitive characters check in topic title
  • Allowed all uppercase letters % ratio option added
  • UMIL suppport added
I abandoned all of my mods.

Xabi
Registered User
Posts: 460
Joined: Wed May 23, 2007 9:04 am

Re: [BETA] Anti all uppercase letters (0.1.2)

Post by Xabi » Sun Apr 19, 2009 5:08 pm

Excelent mod.

User avatar
Lisbon
Registered User
Posts: 825
Joined: Wed Jan 30, 2008 12:28 pm
Location: Zermatt

Re: [BETA] Anti all uppercase letters (0.1.2)

Post by Lisbon » Sun Apr 19, 2009 6:52 pm

Very nice mod

MaLeKo
Registered User
Posts: 210
Joined: Tue May 06, 2008 3:32 am

Re: [BETA] Anti all uppercase letters (0.1.2)

Post by MaLeKo » Sun Apr 19, 2009 8:46 pm

mtrs, there's a bug with the new ver. If i disable "Enable auto correction to lowercase:" it wont allow me to make any good posts

Edit: Confirmed

mtrs
Registered User
Posts: 2049
Joined: Sat Sep 22, 2007 2:39 pm

Re: [BETA] Anti all uppercase letters (0.1.3)

Post by mtrs » Sun Apr 19, 2009 10:37 pm

Thank you MaLeKo, bug confirmed.
I updated the package to fix it.
I abandoned all of my mods.

Xabi
Registered User
Posts: 460
Joined: Wed May 23, 2007 9:04 am

Re: [BETA] Anti all uppercase letters (0.1.3)

Post by Xabi » Mon Apr 20, 2009 2:54 am

Excuse me, could you explain the code changes for that bug correction? I've just installed the 0.1.2 version! :)

MaLeKo
Registered User
Posts: 210
Joined: Tue May 06, 2008 3:32 am

Re: [BETA] Anti all uppercase letters (0.1.3)

Post by MaLeKo » Mon Apr 20, 2009 3:41 am

@mtrs
Another request, could you make the mod checks on all users if the user posts limit is 0

@Xabi
Im not sure eiter, I reinstalled the mod again

Locked

Return to “[3.0.x] MODs in Development”