Search the Community
Showing results for tags 'duplicates'.
-
We frequently end up with people creating either multiple logins (one per year, with a different employee now in charge of managing the account) or different accounts for different aspects of their engagement (one as a speaker, one as a sponsor/customer), and we'd like to come up with a way to merge the users into one login. It probably doesn't matter for the method, but the customer user would be the login we want to keep, so that they remain associated with their PadLoper order. Aside from opening the users in two different windows and copy/pasting one to the other (or building an API code to do this -- CAREFULLY), does anyone have a method for merging two pages/users that already exist? Thanks in advance!
-
- users
- duplicates
-
(and 1 more)
Tagged with:
-
I'm running into a problem with my registration form, I'm trying to run an if statement if a username is already taken. The code I was trying was: elseif (in_array($input->post->signup_name, $users)) { $output = "<h6 class='error'>Unfortunately that username is taken, please try another.</h6>"; } Either there is a problem with my if statement (can $users be used as an array in this way?) or PW is finding the duplicate before my check even takes place as when submitting the form I get the following error: "Error exception: Duplicate entry" Would appreciate it if anyone has run into similar problems. Thanks!