![]() |
Want SQL Query to Fix Bad Usernames
I am bridging/integrating vBulletin with Joomla CMS and I have a lot of vBulletin users with names with spaces and special characters that Joomla doesn't accept. Is there some SQL Query verbiage or a mod that I can use to elliminate spaces and special characters? I know that I need to adjust vBulletin now to not allow them, I am asking about modifying existing ones.
Thanks in advance. |
Quote:
so you will not have to worry about the special characters you can just set vbulletin as the master login |
Thanks, that is a very good suggestion and I use jFusion, but because of the community components I use, I need Joomla as the Master. Hence I was looking for a way to fix usernames etc.. in vBulletin. Thanks for taking the time to offer the suggestion.
|
Quote:
well ask over on jfusion there pretty good at giving support or did they tell you to come over here i can look at my site later and try joomla as the master and see if i can figure it out for you |
I am a lurker here and ask after I have exhausted my search efforts. I may just live with it, I have 26,700 approx vBulletin members and around 26,400 Joomla, I can't get the last few in due to name conflicts and redundant emails, but I am close. Just like to have things 100%.
Thanks and yes, I use support over at jFusion, I actually paid one of them when I first set things up. My server died recently and I am rebuilding my sites from different backups as I was hit hard this year by hack attacks etc. I will figure it all out eventually, thanks! Russell |
what is your setting for Joomla Options ->User -> Username Filter ?
i have vbullletin set there and there no problem with special characters --------------- Added [DATE]1384468172[/DATE] at [TIME]1384468172[/TIME] --------------- Quote:
|
OK smarty pants, I think you are onto something, I am trying it now along with a plugin to allow multiple users with the same email address. I will let you know, thanks for your help.
rt |
Quote:
|
Yes, I am just dealing with a legacy site a dozen years old, and trying to get it all done to start with and move forward.
Thanks again! |
Quote:
|
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! |
Quote:
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 Code:
UPDATE " . TABLE_PREFIX . "user 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 |
I think it works, thanks "Brainiac"! ;) Have great weekend!
|
All times are GMT. The time now is 05:43 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:
|