yotsume |
08-15-2009 10:01 AM |
Quote:
Originally Posted by GHC Webmaster
(Post 1867755)
Addition: be aware that this moves other tabs by addons which use the same hook as well. (The Blog tab for example.) Is this happens you can change the hook which extra tab uses in this plugin to "profile_left_first" and move that hook in the template instead of the hook I mentioned above.
|
I knew about this already. Yes I have blogs, experience, recipes, etc mods all using the damn right hook punch junk way to make a tab! So because multiple coders went the easy right hook punch way to rig their tabs we cant easily reoder tabs. What a waste of time on our end. So I will have to recode a number of mods so they use their own hook and can be reordered at anytime. Personally this is the way they should all be coded in the first place.
So now where or where do I change this to use the left hook punch code???
Better yet here is the plugin:
Code:
$blocklist = array_merge($blocklist, array(
'EPFP_tab' => array(
'class' => 'EPFP_tab',
'title' => $vbphrase['extra_options'],
'hook_location' => 'profile_left_last',
'options' => array(
'simple' => $vbulletin->GPC['simple'],
),
)
));
How do I make it so I can have it located in its own hook by altering the red code??? This needs to be standard for this mod as an update asap please! :) So to be clear here the real question that I need answered is how to make my own hook to call this tab to where I want it so it can be in the standard list on its own? I guess its time to learn how to make my own custom hooks....
|