Great that someone finally ported this.
I read the first 10 pages before giving up so if someone asked this question already, I apologize.
Is there any reason that you are not utilizing the already default vbulletin ad hook locations?
It just seems a bit redundant to create your own ad variables when placing them at an already existent variable location
Code:
$ad_location[ad_header_end] === $ad_headerEnd
$ad_location[ad_header_logo] === $ad_headerLogo
$ad_location[ad_footer_start] === $ad_footerStart
$ad_location[ad_footer_end] === $ad_footerEnd
$template_hook[postbit_end] === $ad_postbit_below
$ad_location[ad_navbar_below] === $ad_leftcolumn_code
$ad_location[ad_footer_start] === $ad_rightcolumn_code
That would solve all template editing except for 3 being your forumbit and threadbit
but Im sure there may be a hook there also.
So you could simplify this Mod by using the default hook variables or by eval()
to hook each location with your own templates.
example:
PHP Code:
eval('$ad_location[ad_header_end] .= "' . fetch_template('ad_headerEnd') . '";');
If you need help with template hooks and hook locations for plugins, you can PM me.