PDA

View Full Version : vb 4 ajax profile editor hack help


ashy
09-09-2010, 03:52 PM
Hi All
I am planning to use the user extra profile field to store extra infomation. and allow user to change them.

the build-in profile editor works quite well. but we need keep the user input in the right format. for example, city name, lots people type in space or - , or a typing mistake. i can't use select box, as there are too many different city names.

i am planning to use jquery to read a city name database, and suggest the user. when user type N, it shows N start city names, New York etc.

i trace the source code, found these two files below managed all the function
clientscript/vbulletin_profilefield_edit.js
ajax.php

but i can't find the editor interface html code, don't really know how it works and how can i plug in my own ajax.

anyone did similar function with profile editor? or any suggestions?

Eric