Quote:
Originally Posted by TheAllusionist
My site started out on Mambo and some of the programmers went off on their own and created their own branch of it and called it Joomla. It became more popular than the original and has evolved. I am now running Joomla 2.5 on all my sites.
I will figure it all out or accept where I get it, just thought there might be some simple queries I could run and thought I would ask.
Cheers!
|
yeah i know joomla is a better version of Mambo
ok i have a fix please do a backup of your database first
Old-Character/s = the special character/s you want to replace
New-Character/s = the new character/s you want to replace the olds one's
i try it on my forum and it work i edit like ten usernames and added a "$" and some with 3,4 or 5 "$" to the username i used code2 for that you got to change the dollar sign to the character you want to get rid of you can only do 1 character at a time and i was replacing it with nothing but you could replace the character with another character if you need to
go to Maintenance > Execute SQL Query
Don't select anything for Automatic Query add the code to Manual Query
code1
Code:
UPDATE " . TABLE_PREFIX . "user
SET username = REPLACE(username,'Old-Character/s','New-Character/s')
code2
Code:
UPDATE " . TABLE_PREFIX . "user
SET username = REPLACE(username,'$','')
after running the code and replacing all the characters you got to go to Maintenance > General Update Tools then run in this order
1. "Rebuild Thread Information"
2. "Rebuild Forum Information"
3. "Rebuild Search Index"
4. "Rebuild Post Cache"
5. "Update User Names"
not sure if you need to do 3 and 4 but do it anyway your user name is in other tables and this will rebuild them maybe do "Clear System Cache" and "Clear Auto-save Table " for 7 days too