Query a table and display data in profile page

anmol dubey

Member
Here is what i want to do

1. Query a database table (non - Xenforo) with a select query and fetch records
2. Display the records in users profile page

Please help me with details how this can be done.
 
Use a template modification to add a tab to the profile (member_view). Set the template to load from a url. Use the route prefix system to add your route, use the controller and models to load the data and pass a response view, then use the template to display it. If you don't want it in a tab, then you need to use the template modificaton system on the same template, then use either the xen:callback tag or extend the XenForo_ControllerPublic_Member controller to load your data.
 
Top Bottom