The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
and info on how to add custom profile fields to conversation_userinfo yet ?
in the hooks and manual entry if possibe please this is going back to the previous convo here https://vborg.vbsupport.ru/showpost....46&postcount=5 |
#12
|
||||
|
||||
You can check up on the bug report: http://tracker.vbulletin.com/browse/VBV-5021
There won't be a fix until the "Fix Version" on that page is listed as a released version number (Alpha 14 for example.) On the plus side it was recently revised up in priority but no estimate when it will happen. Also, there are no "hooks" in VB5 so there will never be a "hooks" way of doing things anymore. There will only be template edits or file extensions. |
#13
|
|||
|
|||
Since they added a template hook to the conversation_userstats template this is possible in Beta 13.
In this example, the 'Location' field will be displayed. 1) Create a new template. In this example I'll use the name TestTemplate. Product: vBulletin (or your product) Style: Default (or your style) Title: TestTemplate Template: Code:
{vb:data posterinfo, user, fetchUserinfo, {vb:raw posterid}} {vb:raw posterinfo.field2} 2) Go to ACP->Products & Hooks->Manage Hooks and click 'Add New Hook'. Product: vBulletin (or your product) Hook Location: conversation_userstats Title: Test Hook Execution Order: 10 Template Name: TestTemplate Hook Arguments: Code:
posterid=conversation.userid Refresh a thread in your forum and you'll see the Location being displayed for each poster. There IS a drawback with this method. A database query is added for EVERY POST in a thread. That is not good, and I would wait for the JIRA report mentioned above to be fixed. |
#14
|
|||
|
|||
Quote:
thank you, this was the info i needed, i will do some tests today |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|