The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
Thanks for sharing. It is what makes this place work and it is appreciated.
![]() When I asked you to post the code, I did not clarify and I was referring to the php plugin code. (Sorry, my fault). I was going to add the following to your code so it would be a better example. ![]() -------------------------------------------------------------------------------------- I will go ahead and post and we will join it up with your code later. You most likely are rendering to: $template_hook['profile_tabs_first'] .= $templater->render(); $template_hook['profile_tabs_last'] .= $templater->render(); Choice 1: Since you already figured out you can just move the html code around, you could just move the hook around. Choice 2: Using the template hook system we can just add on to it. The "template hook array" is already registered to the template so we just need to add onto the array. PHP Code:
Add to MEMBERINFO template Add the new hook... The rest of the code is for reference HTML Code:
{vb:raw template_hook.profile_tabs_first} <vb:if condition="$blocks[activitystream]">... <vb:if condition="$blocks[visitor_messaging]">... <!-- Add your own hook --> {vb:raw template_hook.profile_tabs_myhook} <!-- Add This Line Only! --> <!-- Add your own hook --> <vb:if condition="$blocks[infractions]">... <vb:if condition="$blocks[reputation]">... {vb:raw template_hook.profile_tabs_last} |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|