PDA

View Full Version : Problem with hook location


elektroda
08-06-2010, 01:24 PM
Hello. For several days I trying to solve a problem that is associated with a hook location. Although I have read about this, I do not understand, so need your help. I downloaded and installed the 'Top Reputation On Forums Home' hack (https://vborg.vbsupport.ru/showthread.php?t=230323) and I would like to place this in the left sidebar (not at the bottom of the forumhome). How can I do this?

I tried to do this: I created a new block, which uses the 'forumhome_top_reputation' template (which is created by the hack), and then I edited: Plugin manager -> Top Reputation: Main Plugin. I changed template hook to following: $template_hook['forumhome_top_reputation'], but I don't know what I have to change in Hook Location. Please help.

Thank you for all.

Lynne
08-06-2010, 02:07 PM
If you want it to be a sidebar block, then you need to put the code into a php block (and probably modify it slightly).