The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Limiting access to forums based on data from a new table
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 "; Thanks in advance for your help! |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|