Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-02-2007, 01:09 AM
eNtitY~ eNtitY~ is offline
 
Join Date: Oct 2005
Location: Novi, Mi
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Need some quick help guys ;)

I think this may seem like a dumb question and way to easy but I'm just curious and want to be sure. Where would be the best spot to put "$ad_network" in these following templates? Sorry for being a little straight forward but I don't know who else to ask



Quote:
Originally Posted by Printthread
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" />
<meta name="generator" content="vBulletin $vboptions[templateversion]" />
<title>$vboptions[bbtitle] - $threadinfo[title]</title>
<style type="text/css">
<!--
td, p, li, div
{
font: 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.smallfont
{
font-size: 11px;
}
.tborder
{
border: 1px solid #808080;
}
.thead
{
background-color: #EEEEEE;
}
.page
{
background-color: #FFFFFF;
color: #000000;
}
-->
</style>
</head>
<body class="page">

<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr valign="bottom">
<td><a href="$vboptions[bburl]/"><img src="$stylevar[titleimage]" alt="$vboptions[bbtitle]" border="0" /></a></td>
<td align="$stylevar[right]">
<div class="smallfont">$pagenav</div>
<if condition="$show['pagenav']">
<div class="smallfont"><a href="printthread.php?$session[sessionurl]t=$threadid&amp;pp=$maxperpage"><phrase 1="$maxperpage">$vbphrase[show_x_posts_on_one_page]</phrase></a></div>
</if>
</td>
</tr>
</table>

<br />

<div>
<a href="$vboptions[bburl]/$vboptions[forumhome].php" accesskey="1"><strong>$vboptions[bbtitle]</strong></a>
(<span class="smallfont"><em>$vboptions[bburl]/$vboptions[forumhome].php</em></span>)
</div>
<div>
- &nbsp; <a href="forumdisplay.php?f=$foruminfo[forumid]"><strong>$foruminfo[title]</strong></a>
(<span class="smallfont"><em>$vboptions[bburl]/forumdisplay.php?f=$foruminfo[forumid]</em></span>)
</div>
<div>
- &nbsp; - &nbsp; <a href="showthread.php?t=$threadid" accesskey="3"><strong>$threadinfo[title]</strong></a>
(<span class="smallfont"><em>$vboptions[bburl]/showthread.php?t=$threadid</em></span>)
</div>

<br />

$postbits

<br />

<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr valign="top">
<td class="smallfont">$vbphrase[all_times_are_gmt_x_time_now_is_y]</td>
<td align="$stylevar[right]">
<div class="smallfont">$pagenav</div>
<if condition="$show['pagenav']">
<div class="smallfont"><a href="printthread.php?$session[sessionurl]t=$threadid&amp;pp=$maxperpage"><phrase 1="$maxperpage">$vbphrase[show_x_posts_on_one_page]</phrase></a></div>
</if>
</td>
</tr>
</table>

<p class="smallfont" align="center">
$vbphrase[powered_by_vbulletin]
<br />
$vboptions[copyrighttext]
</p>

</body>
</html>
Quote:
Originally Posted by SHOWTHREAD_SHOWPOST
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[view_single_post] - $threadinfo[title]</title>

</head>

<body style="margin:0px" onload="self.focus()">

<form action="showpost.php">

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" style="border-bottom-width:0px">
<tr>
<td class="tcat">
<div class="smallfont" style="float:$stylevar[right]">
<strong>$vbphrase[thread]</strong>: <a style="text-decoration: underline" href="showthread.php?$session[sessionurl]p=$postinfo[postid]#post$postinfo[postid]">$threadinfo[title]</a>
</div>
$vbphrase[view_single_post]
</td>
</tr>
</table>

<if condition="$show['reputation']">
<script type="text/javascript" src="clientscript/vbulletin_ajax_reputation.js?v=$vboptions[simpleversion]"></script>
</if>

$postbits

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" style="border-top-width:0px">
<tr>
<td class="tfoot" align="center">
<input type="button" class="button" value="$vbphrase[close_this_window]" id="close_button" style="display: none;" />
&nbsp;
<script type="text/javascript">
<!--
if (self.opener)
{
var close_button = fetch_object('close_button');
close_button.style.display = '';
close_button.onclick = function() { self.close(); };
}
//-->
</script>
</td>
</tr>
</table>

</form>

<script type="text/javascript">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();
//-->
</script>

</body>
</html>
Quote:
Originally Posted by footer
<br />
<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<br />

$spacer_close

<!-- /content area table -->
Aggress
<form action="$vboptions[forumhome].php" method="get">

<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center">
<tr>
<if condition="$show['quickchooser']">
<td class="tfoot">
<select name="styleid" onchange="switch_id(this, 'style')">
<optgroup label="$vbphrase[quick_style_chooser]">
$quickchooserbits
</optgroup>
</select>
</td>
</if>
<if condition="$show['languagechooser']">
<td class="tfoot">
<select name="langid" onchange="switch_id(this, 'lang')">
<optgroup label="$vbphrase[quick_language_chooser]">
$languagechooserbits
</optgroup>
</select>
</td>
</if>
<td class="tfoot" align="$stylevar[right]" width="100%">
<div class="smallfont">
<strong>
<if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow">$vbphrase[contact_us]</a> -</if>
<if condition="$vboptions['hometitle']"><a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -</if>
<if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if>
<if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>
<if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if>
<if condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> -</if>
<a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a>
$ad_network
</strong>
</div>
</td>
</tr>
</table>

<br />

<div align="center">
<div class="smallfont" align="center">
<!-- Do not remove this copyright notice -->
$vbphrase[powered_by_vbulletin]
<!-- Do not remove this copyright notice -->
</div>

<div class="smallfont" align="center">
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
$cronimage
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->

$vboptions[copyrighttext]
</div>
</div>

</form>

<if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php?do=dst" method="post" name="dstform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="dst" />
</form>
<script type="text/javascript">
<!--
var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
var utcOffset = new Date().getTimezoneOffset() / 60;
if (Math.abs(tzOffset + utcOffset) == 1)
{ // Dst offset is 1 so its changed
document.forms.dstform.submit();
}
//-->
</script>
<!-- / auto DST correction code -->

</if>
<script type="text/javascript">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();
//-->
</script>
I would REALLY appreciate if someone could help me out on this, I just don't know where to place it and no where I've placed it yet worked.


Thanks in advance guys I really appreciate any help.
Reply With Quote
  #2  
Old 05-02-2007, 01:10 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is "$ad_network"? You might want to explain that before you can get an answer from someone
Reply With Quote
  #3  
Old 05-02-2007, 02:10 AM
eNtitY~ eNtitY~ is offline
 
Join Date: Oct 2005
Location: Novi, Mi
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh sorry, its just a thing I was told to input in those certain templates. I got contacted by a adhosting agency and they want to put footer text ads on the site and this is apart of the process. Its an easy 3 step process where I upload 2 files to the root folder, then make these template changes and upload the XML file.
Reply With Quote
  #4  
Old 05-02-2007, 02:12 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you have a screenshot of what it displays?
Reply With Quote
  #5  
Old 05-02-2007, 11:44 AM
eNtitY~ eNtitY~ is offline
 
Join Date: Oct 2005
Location: Novi, Mi
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No I don't but it says "To place it anywhere appropriate" in the instructions and it will work according to them.

Can anyone help me?
Reply With Quote
  #6  
Old 05-04-2007, 12:07 PM
eNtitY~ eNtitY~ is offline
 
Join Date: Oct 2005
Location: Novi, Mi
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I figured it out, thanks for your concern redline
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:39 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03849 seconds
  • Memory Usage 2,233KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete