Icy Phoenix
Old Customizations - [MOD IPv1.3.0.*] Remove Exclamation Points
Lopalong [ Thu 13 Aug, 2009 11:11 ]
Post subject: [MOD IPv1.3.0.*] Remove Exclamation Points
Title:
Remove Exclamation Points
Description:
Delete unneeded exclamation points from the message body.
"Question??????" will be changed to "Question?"
"Who can help!!!!!" will be changed to "Who can help!"
"That's All..........." will be changed to "That's All."
"Waiting,,,,,,,,,,,,," will be changed to "Waiting,"
Download the Latest Version Here!
MOD Updated 26th August 2009 - 08:00pm.
spydie [ Thu 13 Aug, 2009 11:21 ]
Post subject: Re: [MOD IPv1.3.0.*] Remove Exclamation Points
Nice Mod Lopa.
Question. Can you do something like that With accent´s aswell.
My DB is driving mi crazy with double entry´s on restore due to Lot of accents like é ú ó í
Lopalong [ Thu 13 Aug, 2009 12:05 ]
Post subject: Re: [MOD IPv1.3.0.*] Remove Exclamation Points
Why don't you try "Replace in posts" to do that ? (I think that's what it's called)
Or try the MOD and change the preg replace strings.

spydie [ Thu 13 Aug, 2009 12:11 ]
Post subject: Re: [MOD IPv1.3.0.*] Remove Exclamation Points
let´s see if that replace option can do that.
Yesterday y had a large day reviewing Backup. Thing is thAt the errors came all from Wordlist and search_wordlist.
After restore of DB y tried to replace the wordlist and search wordlist through ACP DB maintenance.
there´s an option for that, but the thing is , that that run´s into an internal server error.
Got to find a way to do that. Since now i got no similar topic´s option because of debug
Lopalong [ Thu 13 Aug, 2009 12:59 ]
Post subject: Re: [MOD IPv1.3.0.*] Remove Exclamation Points
Not having experienced your problem, there's little in the way that could offer on how to maybe fix it. But! If you want to give me a copy of your Db prior to the changes you made, I'll have a look at it and see if I can figure out why the changes you made caused errors.
One problem could be server protocol, the rest could be whether or not the accented letters are in ascii, hex or html - Don't know - Would have to look at it.

spydie [ Thu 13 Aug, 2009 13:52 ]
Post subject: Re: [MOD IPv1.3.0.*] Remove Exclamation Points
that happend to me trying to update from .27 to 1.3.
First update went in the sh...er . My fault.
tried then to restore DB with BigDump. And it throug error after error due to that to wordlists.
Had to separate that to lists from backup. Main Backup went swiftly when. and i startet reviewing the 2 lists by uploading them to the BigDump and running them. after every error due to double entry i had to delete a line and upload again. Took me the hole day.
Now it misses a lot of word´s due to eleminating lines and if i switch similar topic´s on y only get an Debug error.
Thanks for your offer Lopa.
The thing is, that you´ll need exactly the same DB system then me. Same PHP.lib and Mysql version. And DB language setup to spanish. because i tried to figure that out localy, and y ran into sintax errors due to that.
FedericoBiccheddu [ Thu 13 Aug, 2009 14:18 ]
Post subject: Re: [MOD IPv1.3.0.*] Remove Exclamation Points
Lopalong [ Thu 13 Aug, 2009 15:25 ]
Post subject: Re: [MOD IPv1.3.0.*] Remove Exclamation Points
Different Version of IP and Different MOD.

Mighty Gorgon [ Fri 14 Aug, 2009 01:39 ]
Post subject: Re: [MOD IPv1.3.0.*] Remove Exclamation Points
Does this MOD replace the chars in the original text (and hence in the DB) or does just hide them from showing up?
Lopalong [ Fri 14 Aug, 2009 13:26 ]
Post subject: Re: [MOD IPv1.3.0.*] Remove Exclamation Points
Good Question, I wish I had an answer for it that I knew was 100% correct before I committed it.

Mighty Gorgon [ Fri 14 Aug, 2009 13:29 ]
Post subject: Re: [MOD IPv1.3.0.*] Remove Exclamation Points
If you don't find the answer, I can have a look and find the answer for you...

Lopalong [ Fri 14 Aug, 2009 13:46 ]
Post subject: Re: [MOD IPv1.3.0.*] Remove Exclamation Points
It trims it prior to the database submission.
Post:
qwertyu.........
asdfghj,,,,,,,,,,
zzzzzzzzzz!!!!!!!!!!
xxxxxxxxxxx??????????
Db:
(6, 4, 1, 2, 1250250049, '7f000001', '', 'testing remove mod', 'qwertyu.\r\nasdfghj,\r\nzzzzzzzzzz!\r\nxxxxxxxxxxx?', 'qwertyu.\r<br />\nasdfghj,\r<br />\nzzzzzzzzzz!\r<br />\nxxxxxxxxxxx?', 1, 0, 1, 0, NULL, NULL, 0, 0, 0, NULL, 1);

Mighty Gorgon [ Fri 14 Aug, 2009 14:28 ]
Post subject: Re: [MOD IPv1.3.0.*] Remove Exclamation Points
That's what I prefer.
Thanks.
DWho [ Fri 14 Aug, 2009 17:53 ]
Post subject: Re: [MOD IPv1.3.0.*] Remove Exclamation Points
great going going to add this one too..
