Wildcat Media
Well-known member
Working great! Thanks!
Yes, but it does it in a really awful way so it was removed as a core feature. To add it back, you have to have Custom Fields installed and then you need to import the custom thread field that is included in the zip folder: field-waindigo_select_library.xml.Do these have a discussion thread attached like the RM?
At some point I'd like to spend a decent amount of time on this add-on on all sorts of things.Any plans for a not so really awful way?
Bug fixes:
- Removed the extra listener added in 1.3.5 as it doesn't work. Fixes issues with installing Custom Fields by Waindigo.
There is no such variable.I tried to use the variable $articlePage.user to try and get custom user fields from user's contact page but didn't work. What other variable can I use within library to access user custom fields (not your addon custom fields)
Can you suggest me a way to get $user into waindigo_article_container_library.There is no such variable.
In library/Waindigo/Library/ControllerPublic/Article.php replace line 71:Can you suggest me a way to get $user into waindigo_article_container_library.
$articlePage['user'] = $userModel->getUserById($articlePage['user_id']);
$articlePage['user'] = $userModel->prepareUser($userModel->getUserById($articlePage['user_id']),
array(
'join' => XenForo_Model_User::FETCH_USER_PROFILE
));
Used it still no luck in getting $user.aboutHtml to displayIn library/Waindigo/Library/ControllerPublic/Article.php replace line 71:
with:PHP:$articlePage['user'] = $userModel->getUserById($articlePage['user_id']);
PHP:$articlePage['user'] = $userModel->prepareUser($userModel->getUserById($articlePage['user_id']), array( 'join' => XenForo_Model_User::FETCH_USER_PROFILE ));
There's a typo in Waindigo's code.Used it still no luck in getting $user.aboutHtml to display
customFields array has nothing in it
{xen:helper dump, $articlePage.user.customFields}
result
array(0) { }
$articlePage['user'] = $userModel->prepareUser($userModel->getUserById($articlePage['user_id'],
array(
'join' => XenForo_Model_User::FETCH_USER_PROFILE
)));
Its working!There's a typo in Waindigo's code.
Try this instead:
PHP:$articlePage['user'] = $userModel->prepareUser($userModel->getUserById($articlePage['user_id'], array( 'join' => XenForo_Model_User::FETCH_USER_PROFILE )));
Yes.Is this fully supported for 1.2?
Bug fixes:
- Fixes bug that cache rebuilder cannot be found.
We use essential cookies to make this site work, and optional cookies to enhance your experience.