agent name length

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

Moderators: enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, s0lid

agent name length

Postby maykelsoft » Thu Mar 18, 2010 8:19 am

hi,

how can i increase the agent name character length?... the default is limited to 10 characters only.

thanks!
maykelsoft
 
Posts: 61
Joined: Thu Jan 14, 2010 3:28 pm

Postby mflorell » Thu Mar 18, 2010 8:38 am

admin.php version and build?

User name length is 50 characters.

User ID length is 20 characters.

not sure where your limitation of 10 is coming from unless you are on an old version.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby maykelsoft » Thu Mar 18, 2010 8:42 am

hi,

please see below:

VERSION: 2.0.5-173
BUILD: 90320-0424

the user id length is limited to 10 characters only.

thanks!
maykelsoft
 
Posts: 61
Joined: Thu Jan 14, 2010 3:28 pm

Postby mflorell » Thu Mar 18, 2010 8:46 am

that is an ID field and is not intended for a long name, that is what the Name field is for.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby maykelsoft » Thu Mar 18, 2010 8:53 am

thanks mflorell,

is there a way we can adjust it to 15 characters?

thanks!
maykelsoft
 
Posts: 61
Joined: Thu Jan 14, 2010 3:28 pm

Postby gardo » Thu Mar 18, 2010 11:09 am

You can try adjusting it via mysql commandline. Something like:

ALTER TABLE `vicidial_users` CHANGE `user_id` `user_id` INT( 19 );

Or you can do it via Phpmyadmin.

I'm not just sure what the implication with the system is since Matt mentioned that it's not designed for long names.
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

Postby maykelsoft » Thu Mar 18, 2010 11:12 am

thanks gardo... we'll try this on a test machine...

cheers!
maykelsoft
 
Posts: 61
Joined: Thu Jan 14, 2010 3:28 pm

Postby maykelsoft » Thu Mar 18, 2010 11:18 am

maykelsoft wrote:thanks gardo... we'll try this on a test machine...

cheers!


it's not working... the user number is still limited to 10 characters only...

thanks
maykelsoft
 
Posts: 61
Joined: Thu Jan 14, 2010 3:28 pm

Postby mflorell » Thu Mar 18, 2010 4:51 pm

the "user_id" field is not what you are referring to, it's the 'user' field.

Just change the admin.php file to allow for 20 characters maxlength and there you go.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby gardo » Fri Mar 19, 2010 2:07 am

There you go. That's the missing link. :D
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

Postby maykelsoft » Fri Mar 19, 2010 2:28 am

thanks guys! it's now adjusted!

cheers!
maykelsoft
 
Posts: 61
Joined: Thu Jan 14, 2010 3:28 pm

Postby maykelsoft » Fri Mar 19, 2010 3:20 am

opps user with more than 10 characters still not added...

USER NOT ADDED - Please go back and look at the data you entered
user id must be between 2 and 10 characters long
full name and password must be at least 2 characters long

thanks!
maykelsoft
 
Posts: 61
Joined: Thu Jan 14, 2010 3:28 pm

Postby maykelsoft » Fri Mar 19, 2010 6:32 am

maykelsoft wrote:opps user with more than 10 characters still not added...

USER NOT ADDED - Please go back and look at the data you entered
user id must be between 2 and 10 characters long
full name and password must be at least 2 characters long

thanks!


guys sorry for the trouble. it's really working now...

1. ALTER TABLE `vicidial_users` CHANGE `user_id` `user_id` INT( 20 );
2. echo "<tr bgcolor=#B6D3FC><td align=right>User Number: </td><td align=left><input type=text name=user id=user size=20 maxlength=20> <input type=button name=auto_user value="AUTO-GENERATE" onClick="user_auto()"> $NWB#vicidial_users-user$NWE</td></tr>\n";
3. echo "<tr bgcolor=#B6D3FC><td align=right>User Number: </td><td align=left><input type=text name=user id=user size=20 maxlength=20> <input type=button name=auto_user value="AUTO-GENERATE" onClick="user_auto()"> $NWB#vicidial_users-user$NWE</td></tr>\n";
4. if ( (strlen($user) < 2) or (strlen($pass) < 2) or (strlen($full_name) < 2) or ( (strlen($user) > 20) and (!ereg('AUTOGENERA',$user)) ) )

i am confused with item number 4 as I am not sure if I really need to change it from 10 to 20. However, everything is working now and I can add more than 10 characters on user number without an error.

thanks!!!
maykelsoft
 
Posts: 61
Joined: Thu Jan 14, 2010 3:28 pm

Postby mflorell » Fri Mar 19, 2010 8:10 am

Thanks for posting, we will probably make these changes in the next 2.2.0 rc.

You don't need to do step 1, as mentioned before, the 'user' field is already 20 characters and the user_id field is unseen in the interface.
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 15 guests