Rob
Well-known member
Hi,
I am adding an additional field to the xf_users table. Do I need to extend the xenforo user model and if so, do you have any idea how?
So far, i have my addon adding a new field to the user table (bookreviews_count)... this is working, so far so good. My mod will update and decrement this field as bookreviews are added and deleted. I want to show this additional field bookreviews_count on postbits, but don't know how to show it. im assuming i need to extend the user model or something first?
Sorry, this probably sounds quite basic but I'm just starting with OO php and xenforo.
Thanks,
Rob
I am adding an additional field to the xf_users table. Do I need to extend the xenforo user model and if so, do you have any idea how?
So far, i have my addon adding a new field to the user table (bookreviews_count)... this is working, so far so good. My mod will update and decrement this field as bookreviews are added and deleted. I want to show this additional field bookreviews_count on postbits, but don't know how to show it. im assuming i need to extend the user model or something first?
Sorry, this probably sounds quite basic but I'm just starting with OO php and xenforo.
Thanks,
Rob