vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Need assistance with left side skyscraper ad (https://vborg.vbsupport.ru/showthread.php?t=50744)

Sal Collaziano 03-24-2003 04:40 AM

Need assistance with left side skyscraper ad
 
Hey all. I'm not sure where this should be posted. Sorry if it's in the wrong spot. But.. Does anyone have a left side skyscraper ad or ad cube going on their vB? I can get it to work fine for the forum listing page and the thread listing page. But, once you go into a thread, the skyscraper stays on the top left but then the posts are beneath it..

Can anyone help?

Thanks in advance...

Chris Gwynne 03-24-2003 04:57 AM

Edit the header and footer template and you'd basically have two columns, if you're good with HTML. In one column you'd have the add, in the other the forum's HTML structure.

HEADER

Quote:

<div align="center">
<center>
<table border="0" cellpadding="4" cellspacing="0" width="100%" height="100%">
<tr>
<td valign="top">AD CODE</td>
<td valign="top" width="100%">
You'd put that before the second table started in your Header Template.

FOOTER

Quote:

</td>
</tr>
</table>
</center>
</div>
You'd put that just after the table finished in your footer template.

Obviously modify the variables such as the width, the alignments and so on to get the look right. :) Hope this helps.

Sal Collaziano 03-24-2003 09:55 AM

Perfect! Thank you very much!!! :)

geovadim 04-08-2005 09:54 AM

This was very helpful for me also. One more question. How can I add a banner on the rifgt site of the forum?

Dean C 04-08-2005 11:11 AM

Instead of using this:

Code:

<div align="center">
<center>
<table border="0" cellpadding="4" cellspacing="0" width="100%" height="100%">
<tr>
<td valign="top">AD CODE</td>
<td valign="top" width="100%">

Use this:

Code:

<div align="center">
<center>
<table border="0" cellpadding="4" cellspacing="0" width="100%" height="100%">
<tr>
<td valign="top" width="100%">
<td valign="top">AD CODE</td>


geovadim 04-08-2005 05:54 PM

The banner is now on the right side, but above all the forum...

Dean C 04-08-2005 06:11 PM

Errr sorry this in your header:

Code:

<div align="center">
<center>
<table border="0" cellpadding="4" cellspacing="0" width="100%" height="100%">
<tr>
<td valign="top" width="100%">

And this in your footer:

Code:

</td>
<td valign="top">AD CODE</td>
 </tr>
</table>
</center>
</div>



All times are GMT. The time now is 08:13 AM.

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.00960 seconds
  • Memory Usage 1,725KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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