vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Banner Ads System (https://vborg.vbsupport.ru/showthread.php?t=104432)

burntire 07-25-2006 02:41 AM

To add in the header to the right

Find

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]">
&nbsp;

Then add


<td align="right" valign="middle" width=100%>
$bannerads</a><br>

calgdsm 07-25-2006 03:14 AM

Great Job Thank You!!

burntire 07-25-2006 05:24 AM

Quote:

Originally Posted by calgdsm
Great Job Thank You!!

Your Welcome

truongton 07-25-2006 07:00 AM

Nice, Very Thanks

calgdsm 07-25-2006 11:21 PM

Im having a problem with the links when you click on the banner. It takes a user to a 404 error page. Anything i can do??

Also i have Vbanced installed and the banner do not show up on that page. just the main forum.

www.calgarydsm.com/forum/index.php

calgdsm 07-26-2006 01:47 AM

Quote:

Originally Posted by titter
Thanks! this fixed that dreaded dot issue in the CMPS!

http://www.mobmototb.com -- cmps now has banners.



Now ... the same issue happens in the arcade that happened on the cmps, i looked for a global portal option, but didnt find any ... how would I go about globalizing $ads in the arcade?

Fixed the DOT!!!!!!! thank you!!

calgdsm 07-26-2006 01:51 AM

Still having problems with the links.

rluna559 07-26-2006 08:17 AM

Quote:

Originally Posted by calgdsm
Still having problems with the links.

I had the same problm when trying to use the same method to display the banners on the right side of my header. Check out my method of showing the banners on page 15.

burntire 07-26-2006 03:24 PM

Go to your Banner Ad Template and Replace the highlighted color below with the full URL to banner.php

Example <a href="http://www.yoursite.com/forums/banner.php?

<if condition="$vboptions['bannersys_mode']">
<if condition="$bbuserinfo['userid'] == '0'">
<br />
<table class="tborder" cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td><a href="banner.php?$session[sessionurl]do=redirect&bannerid=$ads[bannerid]" <if condition="$vboptions['bannersys_popup']">target='_blank'</if>><img src="$ads[imgurl]" width="$ads[bwidth]" height="$ads[bheight]" border="0"></a></td>
</td>
</table>
<br />
<else />
<if condition="$vboptions['bannersys_ads2all'] AND $bbuserinfo['userid']">
<br />
<table class="tborder" cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td><a href="banner.php?$session[sessionurl]do=redirect&bannerid=$ads[bannerid]" <if condition="$vboptions[bannersys_popup]">target="_blank"</if>"><img src="$ads[imgurl]" width="$ads[bwidth]" height="$ads[bheight]" border="0"></a></td>
</td>
</table>
</if>
</if>
</if>

calgdsm 07-27-2006 01:08 AM

Quote:

Originally Posted by rluna559
I had the same problm when trying to use the same method to display the banners on the right side of my header. Check out my method of showing the banners on page 15.

Im not having a problem displaying the banners that works fine, just when you click on a link it takes you to a 404 not found page

Anyone have any ideas???


All times are GMT. The time now is 06:53 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.01371 seconds
  • Memory Usage 1,740KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete