View Full Version : members profile template hooks
rockon
01-28-2010, 03:45 PM
Where would I find this to edit:
$template_hook[profile_right_first]
I'd like to add d.o.b in there.
Link to page in question:
http://www.rockonpublishing.co.uk/member.php?u=1
thank you :)
Lynne
01-28-2010, 04:44 PM
Do a Search in Templates for "profile_right_first" and it should show up.
rockon
01-28-2010, 04:55 PM
I tried that but it just showed it as part of the following in the MEMBERINFO template:
<div id="sidebar_container">
<!-- sidebar -->
$template_hook[profile_right_first]
$blocks[stats_mini]
$template_hook[profile_right_mini]
$blocks[friends_mini]
$blocks[albums]
$template_hook[profile_right_album]
$blocks[groups]
$blocks[visitors]
$template_hook[profile_right_last]
<!-- / sidebar -->
</div>
=/
Paul M
01-28-2010, 04:57 PM
That's correct.
Lynne
01-28-2010, 05:03 PM
Yeah, that's where it is. If you want to add something to it, you would create a plugin and insert text into the template by using that hook:
$template_hook['profile_right_first'] .= 'Your html here';
rockon
01-28-2010, 05:07 PM
What hook location would I choose?
Lynne
01-28-2010, 07:36 PM
Depends on what you are trying to do. If you are doing something on the member.php page, then you may want to look at that page and see what hooks are available around where you want to add in something.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.