The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Custom profile field of thread's author
Greetings.
I'm experimenting with twitter's native button, which allows you to configure a "reccomended" user after you tweet something. In my forum, I'd like to allow people to tweet about each thread (which is already enabled) and be suggested, afterwards, to follow the thread's author if he has his twitter entered in his custom profile fields. Thing is, while I can retrieve such custom fields for each post using the $post array, I can't do the same for the $thread nor $threadinfo arrays. A workaround could be to generate the button inside the postbit template, only when we are looking at the first post of a thread. I'm not sure what will happen when looking ad the second and further pages of that thread |
#2
|
|||
|
|||
If you create a plugin using hook location fetch_threadinfo_query, you might be able to add the fields you need to $threadinfo by setting $hook_query_fields and $hook_query_joins as necessary (see includes/functions.php around line 1236).
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|