Thread: Major Additions - vB Ad Management 4
View Single Post
  #1659  
Old 11-15-2007, 06:22 PM
calbano_18 calbano_18 is offline
 
Join Date: Oct 2007
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Amazing add-on! Please help me through this speed bump. I'm trying to install this and i have a different forum theme. Currently my forum only displays header ads to the admin! Where exactly should i place the $header_advertisement in my header?


PHP Code:
<!-- logo -->
<
a name="top"></a>

<!-- 
this the header areaincluding the top right navigation -->
<
div id="header">
<
div id="logo" ><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="images/forumheaven/main/top_a.gif" alt="$vboptions[bbtitle]/></a></div>
<
div id="navigation"><span id="subnavi"><span class="navigation">
<
a href="index.php">Home</a>&nbsp;
<
a href="memberlist.php">Members</a>&nbsp;
<
a href="calendar.php$session[sessionurl_q]">Events</a>&nbsp;
<
a href="faq.php">Help</a>&nbsp;

</
span></span>
<
div id="search"><form action="search.php?do=process" method="post"><input type="hidden" name="do" value="process" /><input type="hidden" name="quicksearch" value="1" /><input type="hidden" name="s" value="$session[sessionhash]/><input style="border:0px;border-right:1px solid #f7edce;border-bottom:1px solid #f7edce;font-size:10px;" type="text" class="bginput" name="query" size="20" value="$vbphrase[search_forums]tabindex="1001" /> &nbsp; <input type="image" src="images/forumheaven/main/search.gif" class="button" value="$vbphrase[go]tabindex="1004" /></form></div>
</
div>
</
div>

<!-- 
this is the area below the headerincluding the member/login stuff -->

<
div id="highlights_container">
<
div id="highlights_a"><if condition="$show['member']"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2"><img src="images/forumheaven/main/highlights_a.gif" alt="$vbphrase[new_posts_nav]/></a><else /><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2"><img src="images/forumheaven/main/highlights_a.gif" alt="$vbphrase[todays_posts]/></a></if></div>
<
div id="highlights_b"><if condition="$show['registerbutton']"><a href="register.php$session[sessionurl_q]rel="nofollow"><img src="images/forumheaven/main/highlights_b.gif" alt="$vbphrase[register]/></a><else /><a href="usercp.php$session[sessionurl_q]"><img src="images/forumheaven/main/profile.gif" alt="$vbphrase[user_cp]/></a></if></div>
<
div id="highlights_c">
<
form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
        <
script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<
span id="member"><if condition="$show['member']"><strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br /><if condition="$show['pmmainlink']"><phrase 1="$vbphrase[unread_x_nav_compiled]2="$vbphrase[total_x_nav_compiled]3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
<if 
condition="$show['pmwarning']"><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if><else />
&
nbsp; <label for="navbar_username"><input type="text" class="bginput" style="font-size: 10px;background-color:#7b7b7b;border-top:1px solid #6d6d6d;border-left:1px solid #6d6d6d;border-right:1px solid #8b8b8b; border-bottom:1px solid #8b8b8b;color:white;" name="vb_login_username" id="navbar_username" size="12" accesskey="u" tabindex="101" value="$vbphrase[username]onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></label> &nbsp; <label for="navbar_password"><input type="password" class="bginput" style="font-size: 10px;background-color:#7b7b7b;border-top:1px solid #6d6d6d;border-left:1px solid #6d6d6d;border-right:1px solid #8b8b8b; border-bottom:1px solid #8b8b8b;color:white;" name="vb_login_password" id="navbar_password" size="12" tabindex="102" /></label> &nbsp; <input type="image" src="images/forumheaven/main/go.gif" class="button" value="$vbphrase[log_in]tabindex="104" title="$vbphrase[enter_username_to_login_or_register]accesskey="s" /><br />

&
nbsp; <label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label>
        <
input type="hidden" name="s" value="$session[sessionhash]/>
        <
input type="hidden" name="do" value="login" />        
        <
input type="hidden" name="vb_login_md5password" />
        <
input type="hidden" name="vb_login_md5password_utf" />
        


</if></
span></form>



</
div>
</
div>
<!-- /
logo -->



<!-- 
content table -->
$spacer_open
$leftcolumn_advertisement

$_phpinclude_output 
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01341 seconds
  • Memory Usage 1,872KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete