vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Need some quick help guys ;) (https://vborg.vbsupport.ru/showthread.php?t=146253)

eNtitY~ 05-02-2007 01:09 AM

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.

HMBeaty 05-02-2007 01:10 AM

What is "$ad_network"? You might want to explain that before you can get an answer from someone :)

eNtitY~ 05-02-2007 02:10 AM

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. :D

HMBeaty 05-02-2007 02:12 AM

Do you have a screenshot of what it displays?

eNtitY~ 05-02-2007 11:44 AM

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? :D

eNtitY~ 05-04-2007 12:07 PM

I figured it out, thanks for your concern redline ;)


All times are GMT. The time now is 11:10 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.02812 seconds
  • Memory Usage 1,752KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete