![]() |
Fix the weird characters/symbols in posts.
1 Attachment(s)
This mod will allow you to fix the weird characters/symbols that appear at your forum when you move hosts and/or reatore a database due to the coallition characters conflict in the db.
For ex when all your posts appear with a bunch of ÃÂ@@ or whatever characters. All you have to do is enter those weird characters at the mod settings and then enter the right symbols that you want to replace and all your problems will be solved. It can aslo be used to replace text. It can be whatever text you want. Installation: To install the mod, upload the includes folder to your forum root folder and then import the wierd_symbol_fix.xml file inside the mod package to Plugins&Products in the acp of your forum. Then go to the mod setting option: Fix Wierd Symbols. It can be found on the left side of the Admin Panel, right above the Maintenace section. And enter the information accordingly. Note: After doing the replacement, go to: Admin CP -> Maintenance -> Update Counters and run Rebuild Post Cache. |
tagged for later :D
|
Tagged as will come in handy!Great work.
|
tagged
|
it worked once then if i deleted the thread and tried agin it did not work but showed as working in the thread in editing mode
|
Quote:
|
thanks for informing
|
No problem.
|
Great man!!!!
Thanks |
Tagged maybe in the future i will need it, hope not.
|
waaaaaaaaaaaaaw 100%
it's working good **BUT** i need to fix and Replace many Word Is it possible to add many Word |
some of my attachment showing wierd character is it going to work on attachment?
|
One question: will this avoid characters breaking again? I mean, if it's something is causing all new posts to break, will this just fix the characters or is there any bug-fix inside the plugin?
Thanks. |
I am trying to change ' to an apostrophe ' but it makes my page display a database error:
Database error in vBulletin 4.0.6: Invalid SQL: UPDATE thppost SET pagetext = replace(pagetext, 'I'', '''); MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '''')' at line 2 Error Number : 1064 Request Date : Saturday, September 11th 2010 @ 12:34:43 PM Error Date : Saturday, September 11th 2010 @ 12:34:43 PM Script : http://www.threepwud.com/vb/showthre...ndings?p=46049 Referrer : http://www.threepwud.com/vb/forum.php IP Address : 94.170.240.143 Username : Threepwud Classname : vB_Database MySQL Version : 5.1.41 Any ideas? Thanks mate |
Quote:
|
I mentioned that my apostrophes are showing as & # 0 3 9 ; (without the spaces, here it changes to an apostrophe!) so I want to change ' into an apostrophe.
Is this mod able to do that? Cheers mate |
Quote:
Anyway, you are using a single quote and as such you should escape it with the backslash character \ i.e. you should enter the character like this: Code:
\' |
Alright, I changed it so my replaced text said \' and it didn't work - then also tried it with \**** and that didn't work.
I'm thinking maybe because it is between other characters. ie i****m has the characters between the I and M characters. |
Quote:
Note: After doing the replacement, go to: Admin CP -> Maintenance -> Update Counters and run Rebuild Post Cache. |
HA! I did indeed miss that counter update. You sir are a genius.
The only thing I've noticed is that the forum slows down after I've enabled the mod. I'll look into that. Thanks very much! edit: after running your brilliant mod and then updating the counters, I simply disabled it and the place went faster again. Awesome stuff. Could this mod be used to fix my quoting issues too? [quote author=Jer link=topic=1118.msg46798#msg46798 date=1284059913] comes from the SMF import and maybe if I can change them all...? |
Quote:
After you use the mod you can disable it. And re-enable it again when you want to perform similiar tasks. |
Quote:
|
Quote:
|
<a href="http://www.threepwud.com/vb/showthread.php/3157-Freaky-speed-bump" target="_blank">http://www.threepwud.com/vb/showthre...aky-speed-bump</a>
There are plenty of quotes there. It slightly differs from VB quotes and I'll understand if it isn't as straight forward as the apostrophe matter! Kind regards, Threep |
Quote:
|
Thanks mate, I've asked and a couple have had the issue. Seems you need to tweak impex before the import. Ah wells.
I used your mod to change \[quote author= to \[quote= and whilst the links don't work the threads look amazingly better. Thanks for your effort - I must point out for your next release that it is WEIRD and not WIERD! |
[QUOTE=Threepwud;2096675]Thanks mate, I've asked and a couple have had the issue. Seems you need to tweak impex before the import. Ah wells.
I used your mod to change \[quote author= to \[quote= and whilst the links don't work the threads look amazingly better. Thanks for your effort - I must point out for your next release that it is WEIRD and not WIERD![/QUOTE] Thank you for the correcting my typo :) English is not my first language so my grammer is not very good. I can''t believe it that no one else caught on it before and it has been up for months now :D |
This mod made my showthread.php load very slowly. Perhaps this could use some optimization?
This is what my debug said when the mod was turned on: # 18.41910 seconds # Memory Usage 9,335KB # Queries Executed 25 (?) This is after I disabled the mod: # 0.59638 seconds # Memory Usage 9,335KB # Queries Executed 14 (?) It also depended on how many replies were in the thread. If the thread had around 2 replies the thread page loaded okay, but if it had 12 replies it would load like it is shown above. That debug was shown on a thread with 12 replies. |
I had the same; I changed what I needed then refreshed the post cache in the update counters section. Then I turned it off straight after - the changes had been made and the mod was switched off.
Good stuff. |
Indeed. After the mod does its thing then you can disable or even uninstall it.
|
Oh, you don't need to keep the mod on after it's run? Awesome thanks. =)
|
Quote:
|
Question, it works only for one char each time? I mean, add the char, and then update the message cache?
|
Does this work for usernames too? I switched over yesterday and have a BUNCH of weird usernames now.
|
Quote:
PHP Code:
|
not installed, but tagged for possible later use
Thank you. |
Can you update this for 4.0.7 or 4.0.8
|
I'm having the same problem that Threepwud had.
Quotation marks got changed to " Apostrophes got changed to& # 3 9 ; (without the spaces) Colons got changed to & # 5 8 ; (without the spaces) which really messes up URLs. Periods got changed to & # 4 6 ; (without the spaces) which also messes up URLs. And, of course there's the problem with the quotes. However, your mod doesn't seem to fix this on my forum, which is running vB 4.1.3. It's making me a sad panda. Any tips? |
Thank for mod
Thank for share |
Hello borbole,
can you tell me how this mod works exactly, is it like variable replacement in template or like banned words that replaces bad word with * i mean it just convert them for users view or it replaces them permanently in the database? Thanks. :) |
All times are GMT. The time now is 05:48 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|