vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Add-On Releases - Advertisement System V2.6 Aka Ad Management (https://vborg.vbsupport.ru/showthread.php?t=179083)

jack the lad 10-21-2008 08:39 AM

My adverts are showing towards the left of my screen and not in the center (see picture) in both my Header and footer.

https://vborg.vbsupport.ru/external/2008/10/26.jpg

This is my Header code:

Quote:

<!-- 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]"><center><if condition="$ad_headerLogo"><center>$ad_headerLogo</center><else />&nbsp;</if></center> <td align="$stylevar[right]" id="header_right_cell">
<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
</td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]
$ad_headerEnd
And this is my footer code:

Quote:

$ad_footerStart
$ad_location[ad_footer_start]

<br />
<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<br />

$spacer_close
<!-- /content area table -->

<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" accesskey="9">$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>
$template_hook[footer_links]
<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>
</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>

$ad_location[ad_footer_end]
$ad_footerEnd
<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="securitytoken" value="$bbuserinfo[securitytoken]" />
<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>
What am I doing wrong? :confused:

Any help much appreciated.

jack the lad 10-22-2008 09:25 AM

^^^^ Anyone any ideas where I am going wrong? ^^^^

Simon Lloyd 10-22-2008 11:50 AM

That pictur looks like you have added your code to vbulletins ad locations in ad_header_logo, any code should be added directly in to the admincp VBulletin Options, scroll down to the ad system

jack the lad 10-22-2008 06:44 PM

Quote:

Originally Posted by Simon Lloyd (Post 1650372)
That pictur looks like you have added your code to vbulletins ad locations in ad_header_logo, any code should be added directly in to the admincp VBulletin Options, scroll down to the ad system

Hi Simon. The ad-code is in the right location ie AdminCP- Adsystem and show's fine in at the top and bottom of the screen it's just that it is not central in either location :confused:

segwayon 10-23-2008 01:38 PM

Quote:

Originally Posted by jack the lad (Post 1650641)
Hi Simon. The ad-code is in the right location ie AdminCP- Adsystem and show's fine in at the top and bottom of the screen it's just that it is not central in either location :confused:

I noticed that if I had auto-refresh off then the header ad was centered okay. When I turned auto-refresh on then the header ad moved over to the left (although it was always a blank box for me).

karim004 10-23-2008 01:43 PM

Quote:

Originally Posted by jack the lad (Post 1650641)
Hi Simon. The ad-code is in the right location ie AdminCP- Adsystem and show's fine in at the top and bottom of the screen it's just that it is not central in either location :confused:

try this [template header ] to center the ads
Code:

<!-- 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]"><center><if condition="$ad_headerLogo"><center>$ad_headerLogo</center><else />&nbsp;</if></center> <td align="$stylevar[right]" id="header_right_cell">
<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
</td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]
<center>$ad_headerEnd</center>


jack the lad 10-23-2008 07:16 PM

Thanks's guy's all your help, sorted now :up:

fodvapor 10-24-2008 04:08 AM

Sweet mod dude !

adnedarn 10-24-2008 07:07 AM

Hello, For the ads on the forum (forumbit) I have entered for 2 locations and only the first one is showing up.

Thanks,
Andrew

wormman 10-25-2008 04:43 PM

I love this but I can't get it to work. I've tried everything and it's installed properly. I just can't get it to display ads. I've even looked at the templates and the code is there. What am I doing wrong? Thanks!
Ken

Marvin Hlavac 10-26-2008 06:57 PM

Hello everyone!

I just installed this add-on, but I don't think it can achieve what my intention was. I would like to have right column of advertisements not just on my home page, but rather on every page of my forum. Is this at all possible? If this add-on cannot do it, is there another way for me to achieve it?

Marvin Hlavac 10-27-2008 12:04 AM

Quote:

Originally Posted by karim004 (Post 1545708)

this will display the right column in all pages:


in in top of your footer template add :
Code:

$ad_rightcolumn_code


karim004, or anyone else willing to hep, when I implement the above, I see the advertisements on the bottom of my page, in the footer, instead of in right column. However, in archives the ads do display correctly in right column. How can I correct this?

Bram H 10-27-2008 01:03 AM

***Marked Installed***

Works like a charm! Thanks :)

karim004 10-27-2008 11:52 AM

Quote:

Originally Posted by Marvin Hlavac (Post 1653452)
karim004, or anyone else willing to hep, when I implement the above, I see the advertisements on the bottom of my page, in the footer, instead of in right column. However, in archives the ads do display correctly in right column. How can I correct this?

to display the right column in all pages:
1= template footer :
above :
Code:

$spacer_close
add :
Code:

$ad_rightcolumn_code
2= template Navbar :
at the end of your template add :
Code:

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


Marvin Hlavac 10-27-2008 02:02 PM

karim004, I thank you very much. Now I see the right column on all pages. There is just a little aesthetic issue, as the right column is positioned in a slightly different location on my home page, a bit different location in forums/sub-forums, and again a little bit different location when I read individual threads.

I'll try to figure this one out myself. If I get stuck, I will come back for help.

Thanks again for your time and a great add-on!

rob01 10-27-2008 06:44 PM

i have a question , is posible to know how many impressions/clicks a ad already have?

or base some ads depending on the impressions or time

deslim80 10-28-2008 08:47 PM

Hi everyone,

Thanks for the module, it looks very promising :)

I implemented the hack above to get the ad showing on all the pages and it worked great.

Only thing is that now it also shows on the registration page (all registration pages) at the bottom.

How do I solve this?

karim004 10-29-2008 04:02 PM

Quote:

Originally Posted by deslim80 (Post 1654803)
Hi everyone,

Thanks for the module, it looks very promising :)

I implemented the hack above to get the ad showing on all the pages and it worked great.

Only thing is that now it also shows on the registration page (all registration pages) at the bottom.

How do I solve this?

admincp , vbulletin options , Advertisement System (Settings & Slideshow) 2 nd option : Do NOT display advertisements for scripts:
then add register Exp:
Code:

online|register|login

Turbe 10-30-2008 03:04 PM

Quote:

Originally Posted by Turbe (Post 1649153)
Slideshow options:

Is it supposed to be "_new" or "new"?

I see #0 is "_new" and #1 + are "new" in your example in Admin.

Also, what other options can be there?


???

deslim80 10-30-2008 06:15 PM

Quote:

Originally Posted by karim004 (Post 1655422)
admincp , vbulletin options , Advertisement System (Settings & Slideshow) 2 nd option : Do NOT display advertisements for scripts:
then add register Exp:
Code:

online|register|login

Hi first of all thanks for the module and the help!

I tried the above, but my advertisements (a right side bar ad) is now still showing on the registration pages as well as the front page of my forum.

Front page: ad showing on right side bar as well as on the bottom of forum
Registration page: ad only showing at the bottom of the page.

online|register|login was already in my 'Do NOT display advertisements for scripts' box

Any other way to get around this?

Thanks in advance!

Cheers

wormman 11-01-2008 11:25 AM

Can anyone tell me why the ads won't show in my forum? I followed all of the instructions. Thanks!

intruder 11-01-2008 01:43 PM

I'm using vbulletin 3.7.3PL1 / Ads Sys V2.6 and my header ads are not showing corectly.
The ads are below the logo not at the right. What should i change in order to have the ads shown at the right of the logo?

max2008 11-02-2008 11:23 AM

thank you very much , really that's what I was looking for , thank you again and waiting for more like this from you .

karim004 11-02-2008 03:15 PM

Quote:

Originally Posted by intruder (Post 1657121)
I'm using vbulletin 3.7.3PL1 / Ads Sys V2.6 and my header ads are not showing corectly.
The ads are below the logo not at the right. What should i change in order to have the ads shown at the right of the logo?

there is 2 ads in header slideshow at the right of the logo and rotation below the logo .

if you want a simple rotation in right side open yoour header and
Above:
Code:

<td align="$stylevar[right]" id="header_right_cell">
                <if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
        </td>

Add :
Code:

<td align="$stylevar[right]">$ad_headerEnd

intruder 11-02-2008 03:45 PM

Works, thanks!

theque 11-06-2008 10:27 AM

Quote:

Originally Posted by D.Baker (Post 1562578)
Also, your copyright notice that you added has a triple space in it. It's like this:
Code:

"Advertisement System V2.3 By  Branden"
How can I edit this to get rid of the double space? I can't find it in phrases or templates. I also want to make it open in a new window, so it doesn't Hijack my visitors. Thanks.

HIJACK LOL
did you get the answer to this its a great mod like most of the others on here why the copyright in same window and a break spaces wt! how can i remove it fully i have lots of mods on my site thank god they all don't do this copyright message my page would look like a copyright link exchange no disrespect to your work but please i can't have no more

Simon Lloyd 11-06-2008 01:01 PM

Quote:

Originally Posted by theque (Post 1660387)
how can i remove it fully i have lots of mods on my site thank god they all don't do this copyright message my page would look like a copyright link exchange no disrespect to your work but please i can't have no more

Why would you not want to acknowledge the people that went to a lot of hard work for FREE to enhance your board, give them some credit, however if you want to remove it you will have to PM Karim004 and arrange a fee and the work to remove it!

theque 11-06-2008 05:05 PM

hi Simon thanks ill send a pm to him. its not that he don't deserve credit of course he does but who really wants a long list of copyright notices in there footer ? and yes it should open in a new window but it doesn't who wants that ?

lucky8919 11-06-2008 09:55 PM

I put adsense code why it doesn't works?? :confused:

OhSoBlonde 11-07-2008 03:40 PM

Well, got this all installed and working yesterday, now suddenly we're having problems.

Using the slideshow, we have 4 banner ads that we've added. Yesterday, having more than 1 ad in the slideshow worked fine. Now today, only 1 at a time will work, once I add in more, nothing shows up. And some of them don't show up if I put them in by themselves. This is what I'm using in slideshow:

slideshowcontent[0]=["http://i75.photobucket.com/albums/i299/Ryansmom33/Store/abbisgarden.gif", "http://www.hyenacart.com/addisgarden", "_new"]
slideshowcontent[1]=["http://i66.photobucket.com/albums/h261/DanaErin79/bows/BannerAd.gif", "http://hyenacart.com/BeaucoupBows/index.php?viewall=1", "new"]
slideshowcontent[2]=["http://i168.photobucket.com/albums/u199/gpsings/happysack1.gif", "www.hyenacart.com/happybabyhappyme", "new"]slideshowcontent[3]=["http://i107.photobucket.com/albums/m307/burghbabygear/BBG_book_banner.gif width="460" height="60", "http://hyenacart.com/BurghBabyGear/i...hp?c=0&p=71703", "_new"]

My other problem is that when I attempted to put a banner ad under the navbar, I got what looks like a background picture of a gator & info on hosting. Hostgator is our host server, but I'm confused how that got on as a background image (it was not the banner I entered).

stevectaylor 11-08-2008 02:28 PM

I have 4 forums why doe this work with the headers on two but not display on the other two?

Dadopeman 11-08-2008 04:38 PM

The following dependencies were not met:

1. This product is not compatible with version 3.6.9 of vBulletin. (Compatible starting with 3.7.0)

:(

desi-plaza 11-08-2008 10:11 PM

ads dont show up...i uploaded 4 files to my forum root directory..i enabled everything... i have adbrite ads... nothing showing up..help please

Yellow Slider 11-09-2008 07:07 AM

How do I show ads under navbar but not in the index page? I have ads all over my board under my navbar (including the index) and I want to get the ad out of my index page, how do I do that?

thanks.

karim004 11-10-2008 11:58 AM

Quote:

Originally Posted by Yellow Slider (Post 1662199)
How do I show ads under navbar but not in the index page? I have ads all over my board under my navbar (including the index) and I want to get the ad out of my index page, how do I do that?

thanks.

dont put the code in template navbar ! go to style manager , your style . edit templates : FORUMDISPLAY , showthread , MEMBERINFO ..............
add:
Code:

$ad_navbarBelow
below :
Code:

$navbar
Quote:

Originally Posted by OhSoBlonde (Post 1661287)
Well, got this all installed and working yesterday, now suddenly we're having problems.

Using the slideshow, we have 4 banner ads that we've added. Yesterday, having more than 1 ad in the slideshow worked fine. Now today, only 1 at a time will work, once I add in more, nothing shows up. And some of them don't show up if I put them in by themselves. This is what I'm using in slideshow:

slideshowcontent[0]=["http://i75.photobucket.com/albums/i299/Ryansmom33/Store/abbisgarden.gif", "http://www.hyenacart.com/addisgarden", "_new"]
slideshowcontent[1]=["http://i66.photobucket.com/albums/h261/DanaErin79/bows/BannerAd.gif", "http://hyenacart.com/BeaucoupBows/index.php?viewall=1", "new"]
slideshowcontent[2]=["http://i168.photobucket.com/albums/u199/gpsings/happysack1.gif", "www.hyenacart.com/happybabyhappyme", "new"]slideshowcontent[3]=["http://i107.photobucket.com/albums/m307/burghbabygear/BBG_book_banner.gif width="460" height="60", "http://hyenacart.com/BurghBabyGear/i...hp?c=0&p=71703", "_new"]

My other problem is that when I attempted to put a banner ad under the navbar, I got what looks like a background picture of a gator & info on hosting. Hostgator is our host server, but I'm confused how that got on as a background image (it was not the banner I entered).

try to host all banners in your server because photobucket very slow !

dmknights 11-10-2008 10:30 PM

*Installed*
Great Mod

xthecanadianx 11-12-2008 02:07 AM

how do i make it so that the banners in the "sponsors" box rotate?
i do not want them to stack in seperate tables. i like the look of the
sponsors box, but they dont rotate. thanks!

ShiZoPhreN 11-12-2008 06:05 AM

Thanks for this Add-On

Feature-Request:

Excludes ForumIDs

murekhalir 11-12-2008 06:15 AM

<a href="https://vborg.vbsupport.ru/attachment.php?attachmentid=80542&d=1210688739" target="_blank">https://vborg.vbsupport.ru/attac...2&d=1210688739</a>

What is this area called?

And how can i get ads there thx

jiffylb1 11-12-2008 05:20 PM

I have installed and follwoed all the instructions but none of my ads are showing ?
www.clearwaterbiker.biz only the once i manually installed code for?


All times are GMT. The time now is 10:30 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.02595 seconds
  • Memory Usage 1,865KB
  • 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
  • (12)bbcode_code_printable
  • (15)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
  • (40)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