The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
I'm using the "add a tab" mod as a plugin from here. It adds an additional tab to the member profile area.
https://vborg.vbsupport.ru/showthread.php?t=265971 Using that I have a custom template called 'custom_profile_tab_dashboard'. I want to render the memberinfo_block_friends template inside this custom template. I've tried multiple variations with no luck on the hook member_complete. I'm basically trying to move the sidebar blocks on the member profile page into this custom template. I've tried modifying the above mod to include: Code:
$templater->register('blocklist', $blocklist); $templater->register('memberinfo', $memberinfo); $templater->register('prepared', $prepared); $templater->register('userinfo', $userinfo); $templater->register('member', $member); --------------- Added [DATE]1321406167[/DATE] at [TIME]1321406167[/TIME] --------------- I'm hoping to use the existing templates to render the content - just in a different place. I'm hoping I wouldn't have to build a query to get friends based on a userid - pass them into a variable - just to reuse that template..??? |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|