![]() |
Execute Hook Location or add code
Hello,
I am not sure if this is possible, but I had an ide. I am using the Journal Modification. Currently, when the call to display the journalpage template is made, it has already called on the avatar by using this code: Code:
require_once(DIR . '/includes/functions_user.php'); I was thinking that it may be impossible to insert a hook location prior to the template being called. If this is possible, I am trying to learn WHICH hook to call and how I would call the data in the template. I am not sure if this is even possible. I have reviewed the hooks tutorial and I have also reviewed the member.php file trying to see how they handle the profile pictures. I am not afraid to modify php files, so feel free to get me editting. I would appreciate any assistance with this. Thanks. |
This seems to be the code to get the profile pic ;
PHP Code:
This is all untested, just a quick look at the code. |
I couldn't get it to work and I played with it for 45 minutes. I know I am doing something wrong as I am pretty new to this. I can edit templates all day, but the PHP bites me in the ass.
|
Wasn't really sure if I should bump this.. but what the heck.
I was looking to do the same thing for the Journal, and I think I've got it figured out. PHP Code:
Code:
<if condition="$show['profilepic']"><td class="alt2" nowrap="nowrap" align="top"> Big thanks to Paul M for helping and Rich for asking!! |
All times are GMT. The time now is 01:29 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|