Lets say I have a new table "user_oauth" with the following columns: userid, oauthid
If users want to post in certain forums, they need an entry in this table.
Where do I need to hook to do this?
Also, I want to display the oauthid on the postbit. To do this, I'm hooking showthread_query with the following:
Code:
$hook_query_fields .= ",o.oauthid";
$hook_query_joins .= " JOIN user_oauth o ON post.userid = o.userid ";
Other than the post bit template change which I've made and works, is there anywhere else I should be making changes (ex/ for caching to work properly)?
Thanks in advance for your help!