
07-25-2013, 04:16 PM
|
|
|
Join Date: Aug 2008
Posts: 179
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
:up:
Quote:
Originally Posted by Alan_SP
Is there a way to put hook location in his template? That way we could use your product with his by adding hook location. But, how is hook location added?
EDIT:
I found the way. You need to edit IPinfo's ipinfo.php file. And just add hook location there.
Hook location looks like:
PHP Code:
($hook = vBulletinHook::fetch_hook('threadmanage_getip')) ? eval($hook) : false;
I added it end of file, so it looks like that:
PHP Code:
($hook = vBulletinHook::fetch_hook('threadmanage_getip')) ? eval($hook) : false;
$navbits = construct_ipinfo_nav($foruminfo, $threadinfo);
$navbar = render_navbar_template($navbits);
Now I have both products working fine.
|
:up::up: Thank you!
|