Closed (fixed)
Project:
User Points Contributed modules
Version:
5.x-2.x-dev
Component:
Code: user2userpoints
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Jul 2007 at 04:08 UTC
Updated:
28 Dec 2007 at 03:33 UTC
Jump to comment: Most recent file
Comments
Comment #1
darxtar commentedHi I've found the bug and made some changes to include AJAX user name search to the form.
Please find the files as attached.
Additional js file required for the ajax.
All changes are marked with comments by darxtar.
Note: attachment was zipped but renamed to tgz because it's not allowed to upload zip file.
For those of you who want simply make it work, you just need to change the function name on the following 2 lines:
- function user2userpoints_validate($form_id, $form_values) {
+ function user2userpoints_form_validate($form_id, $form_values) {
and
- function user2userpoints_submit($form_id, $form_values) {
+ function user2userpoints_form_submit($form_id, $form_values) {
JacK
Comment #2
darxtar commentedPls ignore the previous attachment, since I found out that the autocomplete function is already supported by user module.
Ths .js file is no longer required.
So pls use attached instead.
Thanks
JacK
Comment #3
jredding commentedworking great in v3.
closing.
Comment #4
jredding commented