Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Adding User Properties
Hi, I searched around but found nothing on this in the discussion forum... if someone has discussed it before, please let me know.
Problem : I need to add several properties to our Users. These properties are "Institution" "Address" and "Country"
Solution so far :
As a template I used Mark O'Sullivan's extension to add the "Extended Application Form 1" found here:
http://lussumo.com/addons/index.php?PostBackAction=AddOn&AddOnID=69
And here's what I'm doing so far: http://pastie.caboo.se/150346
I also added to the script the necessary columns to the USER table.
Now I need to extend the User class and add some properties to the User class so that I can reference these properties in my templates.
How can I do this?
Any pointers are very welcome.
Thank you,
Eric
ps here is my code so far: http://pastie.caboo.se/150346
Problem : I need to add several properties to our Users. These properties are "Institution" "Address" and "Country"
Solution so far :
As a template I used Mark O'Sullivan's extension to add the "Extended Application Form 1" found here:
http://lussumo.com/addons/index.php?PostBackAction=AddOn&AddOnID=69
And here's what I'm doing so far: http://pastie.caboo.se/150346
I also added to the script the necessary columns to the USER table.
Now I need to extend the User class and add some properties to the User class so that I can reference these properties in my templates.
How can I do this?
Any pointers are very welcome.
Thank you,
Eric
ps here is my code so far: http://pastie.caboo.se/150346
0
This discussion has been closed.
Comments